UserDataStore Class Reference

List of all members.

Public Types

enum  NotFoundTypes { ALLGOOD = 0, BARCODE, LABEL }

Public Member Functions

 UserDataStore ()
 Default constructor.
template<typename T >
StatusCode record (const IAthenaBarCode &obj, const std::string &label, const T &value)
 Record method with template payload.
template<typename T >
StatusCode retrieve (const IAthenaBarCode &obj, const std::string &label, T &value) const
 Retrieve method with template payload.
bool contains (const IAthenaBarCode &obj, const std::string &label) const
 Contains method for element decorations.
std::vector< const std::string * > getLabels (const AthenaBarCode_t &barcode) const
 Table-of-contents method.
StatusCode recordAny (const IAthenaBarCode &obj, const std::string &label, const boost::any &value)
 Record method with boost::any as payload.
StatusCode retrieveAny (const IAthenaBarCode &obj, const std::string &label, const boost::any *&value) const
 Retrieve method with boost::any as payload.
void setEventABC (const AthenaBarCode_t &eventABC)
 Method to set the AthenaBarCode of this event (called by UserDataSvc).
AthenaBarCode_t getEventABC () const
 Method to get the AthenaBarCode of this event (called by UserDataSvc).

Friends

class UserDataStoreCnv_p1

Member Function Documentation

bool UserDataStore::contains ( const IAthenaBarCode &  obj,
const std::string &  label 
) const

Contains method for element decorations.

Parameters:
abc A data-object implementing the IAthenaBarCode interface
label String label of the decoration
Returns:
True if the decoration exists
AthenaBarCode_t UserDataStore::getEventABC (  )  const [inline]

Method to get the AthenaBarCode of this event (called by UserDataSvc).

Returns:
The AthenaBarCode
std::vector< const std::string * > UserDataStore::getLabels ( const AthenaBarCode_t &  barcode  )  const

Table-of-contents method.

Parameters:
barcode A data-object implementing the IAthenaBarCode interface
Returns:
A vector of labels existing for this object
template<typename T >
StatusCode UserDataStore::record ( const IAthenaBarCode &  obj,
const std::string &  label,
const T value 
) [inline]

Record method with template payload.

Parameters:
abc A data-object implementing the IAthenaBarCode interface
label String label of the decoration
value Decoration payload
StatusCode UserDataStore::recordAny ( const IAthenaBarCode &  obj,
const std::string &  label,
const boost::any &  value 
)

Record method with boost::any as payload.

Parameters:
abc A data-object implementing the IAthenaBarCode interface
label String label of the decoration
value Decoration payload
template<typename T >
StatusCode UserDataStore::retrieve ( const IAthenaBarCode &  obj,
const std::string &  label,
T value 
) const [inline]

Retrieve method with template payload.

Parameters:
abc A data-object implementing the IAthenaBarCode interface
label String label of the decoration
[out] value Decoration payload
StatusCode UserDataStore::retrieveAny ( const IAthenaBarCode &  obj,
const std::string &  label,
const boost::any *&  value 
) const

Retrieve method with boost::any as payload.

Parameters:
abc A data-object implementing the IAthenaBarCode interface
label String label of the decoration
[out] value Decoration payload
void UserDataStore::setEventABC ( const AthenaBarCode_t &  eventABC  ) 

Method to set the AthenaBarCode of this event (called by UserDataSvc).

Parameters:
eventABC The AthenaBarCode

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1