ATLAS Offline Software
Public Member Functions | Protected Attributes | List of all members
TPCnvToken_p1 Class Reference

#include <TPCnvTokenList_p1.h>

Collaboration diagram for TPCnvToken_p1:

Public Member Functions

 TPCnvToken_p1 (unsigned short cnvID=0, const std::string &token="")
 Constructor. More...
 
unsigned short converterID () const
 Returns the topl level TP converter ID. More...
 
const std::string & token () const
 Returns token. More...
 

Protected Attributes

unsigned short m_converterID
 ID of the top-level TP converter. More...
 
std::string m_token
 token to the extending object More...
 

Detailed Description

Author
Marci.nosp@m.n.No.nosp@m.wak@c.nosp@m.ern..nosp@m.ch

This class servers as a persistent pointer to maintain reference between the principal top-level object and its extentions. It holds a POOL token and extending TP converter ID (the same one as used in TPObjRef)

Definition at line 24 of file TPCnvTokenList_p1.h.

Constructor & Destructor Documentation

◆ TPCnvToken_p1()

TPCnvToken_p1::TPCnvToken_p1 ( unsigned short  cnvID = 0,
const std::string &  token = "" 
)
inline

Constructor.

Parameters
[in]cnvIDID of the TP converter for the object
[in]tokentoken referencing the extending object

Definition at line 30 of file TPCnvTokenList_p1.h.

31  : m_converterID(cnvID), m_token(token) {}

Member Function Documentation

◆ converterID()

unsigned short TPCnvToken_p1::converterID ( ) const
inline

Returns the topl level TP converter ID.

Definition at line 34 of file TPCnvTokenList_p1.h.

34 { return m_converterID; }

◆ token()

const std::string& TPCnvToken_p1::token ( ) const
inline

Returns token.

Definition at line 37 of file TPCnvTokenList_p1.h.

37 { return m_token; }

Member Data Documentation

◆ m_converterID

unsigned short TPCnvToken_p1::m_converterID
protected

ID of the top-level TP converter.

Definition at line 40 of file TPCnvTokenList_p1.h.

◆ m_token

std::string TPCnvToken_p1::m_token
protected

token to the extending object

Definition at line 41 of file TPCnvTokenList_p1.h.


The documentation for this class was generated from the following file:
TPCnvToken_p1::m_converterID
unsigned short m_converterID
ID of the top-level TP converter.
Definition: TPCnvTokenList_p1.h:40
TPCnvToken_p1::m_token
std::string m_token
token to the extending object
Definition: TPCnvTokenList_p1.h:41
TPCnvToken_p1::token
const std::string & token() const
Returns token.
Definition: TPCnvTokenList_p1.h:37