#include <TPCnvTokenList_p1.h>
|
void | addToken (unsigned short cnvID, const std::string &token) |
| Stores a new reference to an extending object. More...
|
|
const std::string & | findToken (unsigned short id) |
| Retrieves token of the extending object given the converter ID. More...
|
|
vector of TPCnvToken_p1 Each top-level persistent object that has extentions needs a data member of this type.
Definition at line 53 of file TPCnvTokenList_p1.h.
◆ addToken()
void TPCnvTokenList_p1::addToken |
( |
unsigned short |
cnvID, |
|
|
const std::string & |
token |
|
) |
| |
|
inline |
Stores a new reference to an extending object.
- Parameters
-
[in] | cnvID | ID of the TP converter for the object |
[in] | token | token referencing the extending object |
Definition at line 61 of file TPCnvTokenList_p1.h.
◆ findToken()
const std::string& TPCnvTokenList_p1::findToken |
( |
unsigned short |
id | ) |
|
|
inline |
Retrieves token of the extending object given the converter ID.
- Parameters
-
[in] | id | the ID of the extending converter |
- Returns
- token to the extending persistent object
Definition at line 69 of file TPCnvTokenList_p1.h.
71 if(
it->converterID() ==
id )
74 std::ostringstream
error;
75 error <<
"TPCnvTokenList_p1::findToken(): could not find a token for converter ID=" <<
id << std::ends;
76 throw std::runtime_error(
error.str() );
◆ elements
T std::vector< T >::elements |
|
inherited |
The documentation for this class was generated from the following file: