#include <CdbType2Id.hh>
Public Types | |
| typedef T | type |
| The type to be mapped to its id. | |
Static Public Member Functions | |
| unsigned int | id () |
| Get the identifier corresponding to the type. | |
This class will use the specified (or the default) generator of identifiers. A reson why we may want to parameterize the current class with different generators is that we may want to have a better control over actual number of identifiers associated with transient types. For example, we may consider using predefined type numbers rather than automatically generated ones. Or, we may want to have two independent collections of transient types whose identifiers both start with 0.
Definition at line 50 of file CdbType2Id.hh.
|
|||||
|
The type to be mapped to its id.
Definition at line 56 of file CdbType2Id.hh. |
|
|||||||||
|
Get the identifier corresponding to the type.
Definition at line 62 of file CdbType2Id.hh. Referenced by main(), and CdbObjectTranslator::transient(). |
1.3-rc3