Go to the previous, next section.
#include <CNCL/PObjectID.h>
None
all persistent classes and extensions
None
CNPObjectID
is not derived from any CNCL-class multiple
inheritance
can be used.
One of the member variables, declared as static, is the counter for the actual id. It is increased whenever a new id is given to an object. The other one is the id of the object itself. This number cannot occur two times inside of one program.
Constructors:
CNPObjectID();
static
counter. This
constructor must be called in all constructors of the derived classes.
Additional types provided by CNReaderTbl
are:
typedef long PID
CNPObjectID
provides the following functions:
CNPID object_id();
Go to the previous, next section.