Zero  0.1.0
Public Types | Static Public Member Functions | List of all members
GeneralRecordIds Struct Reference

Defines constant values/methods for general_recordid_t. More...

#include <basics.h>

Public Types

enum  ConstantValues { INVALID = -2, FOSTER_CHILD = -1, PID0 = 0, REAL_CHILD_BEGIN = 1 }
 

Static Public Member Functions

static slotid_t from_general_to_slot (general_recordid_t general)
 
static general_recordid_t from_slot_to_general (slotid_t slot)
 

Detailed Description

Defines constant values/methods for general_recordid_t.

Member Enumeration Documentation

§ ConstantValues

Enumerator
INVALID 

"Record not found" etc.

FOSTER_CHILD 

Represents a foster child record.

PID0 

Represents a PID0 record.

REAL_CHILD_BEGIN 

Represents the first real child.

Member Function Documentation

§ from_general_to_slot()

static slotid_t GeneralRecordIds::from_general_to_slot ( general_recordid_t  general)
inlinestatic

§ from_slot_to_general()

static general_recordid_t GeneralRecordIds::from_slot_to_general ( slotid_t  slot)
inlinestatic

The documentation for this struct was generated from the following file: