|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TPCnvTokenList_p1_h
6 #define TPCnvTokenList_p1_h
54 :
public std::vector<TPCnvToken_p1>
61 void addToken(
unsigned short cnvID,
const std::string& token) {
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() );
unsigned short m_converterID
ID of the top-level TP converter.
std::string m_token
token to the extending object
void addToken(unsigned short cnvID, const std::string &token)
Stores a new reference to an extending object.
const std::string & token() const
Returns token.
unsigned short converterID() const
Returns the topl level TP converter ID.
TPCnvToken_p1(unsigned short cnvID=0, const std::string &token="")
Constructor.
const std::string & findToken(unsigned short id)
Retrieves token of the extending object given the converter ID.