73 assert(p_info <= 1 && p_info >= -1);
122 #endif // _DATAKEY_H_ Entry identifier class for items of a DataSet.Every item in a DataSet is assigned a DataKey by which ...
void inValidate()
makes the DataKey invalid and clears the info field.
int getIdx() const
gets the index number (idx) of the DataKey.
int info
user information to store values -1, 0, +1
DataKey(int p_info, int p_idx)
DataKey & operator=(const DataKey &rhs)
Assignment operator.
Everything should be within this namespace.
DataKey()
Default constructor. Constructs an invalid DataKey.
void setIdx(int p_idx)
sets the index number (idx) of the DataKey.
DataKey(const DataKey &old)
Copy constructor.
int idx
(locally) unique key index
bool isValid() const
returns TRUE, iff the DataKey is valid.