A set of single properties (PSet1
) handles like an array of properties.
A property in the set may have several status:
svector
corresponding to the property) PSet1 | ( | ) | [inline] |
default constructor
~PSet1 | ( | ) | [inline] |
destructor
void copy | ( | const PSet1 & | P | ) | [protected] |
copy function
void Tswap | ( | PSet1 & | P | ) | [inline] |
exchange the content of two property sets.
P | property set to exchange content with. |
void reg | ( | int | num, | |
vProp1 * | pAccess, | |||
void * | pv | |||
) | [inline] |
register a property
num | property number (see propdef.h) | |
pAccess | virtual access point | |
pv | pointer to the data |
void reg | ( | int | num, | |
vProp1 * | pAccess | |||
) | [inline] |
register a property (declaration only)
num | property number (see propdef.h) | |
pAccess | virtual access point |
void dereg | ( | int | num | ) | [inline] |
void erase | ( | int | num | ) | [inline] |
void clear | ( | ) |
clear all the properties
void KeepClear | ( | ) | [inline] |
clear the keep flag for all the properties.
int status | ( | int | num | ) | const [inline] |
get the keep status of a property (constant version)
num | property number (see propdef.h) |
status | keep flag
|
int& status | ( | int | num | ) | [inline] |
get the keep status of a property (non constant version)
num | property number (see propdef.h) |
status | keep flag
|
void Keep | ( | int | num | ) | [inline] |
void reset | ( | ) |
clear all the properties with no keep flag set.
void import | ( | int | num, | |
const void * | p, | |||
int | size | |||
) | [inline] |
import a property from a buffer
num | property number (see propdef.h) | |
p | pointer to the raw buffer | |
size | size of the buffer |
void swload | ( | int | num, | |
_svector & | v | |||
) | [inline] |
bool exist | ( | int | num | ) | const [inline] |
int declared | ( | int | num | ) | const [inline] |
vProp1* operator() | ( | int | num | ) | const [inline] |
vProp1* & operator() | ( | int | num | ) | [inline] |
void* operator[] | ( | int | num | ) | const [inline] |
get the raw data pointer of a property (constant version)
num | property number (see propdef.h) |
void* & operator[] | ( | int | num | ) | [inline] |
get the raw data pointer of a property (non constant version)
num | property number (see propdef.h) |
int PStart | ( | ) | const [inline] |
first index for property numbers
should actualy be 0
int PEnd | ( | ) | const [inline] |
last index for property numbers
should be PSET_SIZE-1
void affiche | ( | T_STD ostream & | out = T_STD cout |
) | const [inline] |
printing function (debugging purpose)
T_STD ostream & operator<< | ( | T_STD ostream & | out, | |
const PSet1 & | X | |||
) | [related] |
stream printing of a property set