ATLAS Offline Software
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
TrigStreamAddress Class Reference

IOpaqueAddress for TrigSerializenCnvSvc. More...

#include <TrigStreamAddress.h>

Inheritance diagram for TrigStreamAddress:
Collaboration diagram for TrigStreamAddress:

Public Member Functions

virtual ~TrigStreamAddress ()
 
 TrigStreamAddress (const CLID &clid, const std::string &fname, const std::string &cname, int p1=0, int p2=0)
 Standard Constructor. More...
 
 TrigStreamAddress (const CLID &clid)
 
void add (const std::vector< uint32_t > &a)
 
const std::vector< uint32_t > & get () const
 
const std::string & sgkey () const
 

Static Public Member Functions

static constexpr long storageType ()
 

Private Attributes

std::vector< uint32_t > m_rep
 
std::string m_key
 

Detailed Description

IOpaqueAddress for TrigSerializenCnvSvc.

Definition at line 23 of file TrigStreamAddress.h.

Constructor & Destructor Documentation

◆ ~TrigStreamAddress()

virtual TrigStreamAddress::~TrigStreamAddress ( )
inlinevirtual

Definition at line 27 of file TrigStreamAddress.h.

27 {};

◆ TrigStreamAddress() [1/2]

TrigStreamAddress::TrigStreamAddress ( const CLID clid,
const std::string &  fname,
const std::string &  cname,
int  p1 = 0,
int  p2 = 0 
)

Standard Constructor.

Definition at line 13 of file TrigStreamAddress.cxx.

15  : GenericAddress(storageType(), clid, fname, cname, p1, p2 ),
16  m_key (fname)
17 {
18 }

◆ TrigStreamAddress() [2/2]

TrigStreamAddress::TrigStreamAddress ( const CLID clid)

Definition at line 20 of file TrigStreamAddress.cxx.

21  : GenericAddress(storageType(), clid, "", "")
22 {
23 
24 }

Member Function Documentation

◆ add()

void TrigStreamAddress::add ( const std::vector< uint32_t > &  a)

Definition at line 27 of file TrigStreamAddress.cxx.

27  {
28  m_rep.insert(m_rep.end(), a.begin(), a.end());
29  // std::cout << "TrigStreamAddress::add with size "<< a.size() << std::endl;
30 }

◆ get()

const std::vector< uint32_t > & TrigStreamAddress::get ( ) const

Definition at line 32 of file TrigStreamAddress.cxx.

32  {
33  return m_rep;
34 }

◆ sgkey()

const std::string& TrigStreamAddress::sgkey ( ) const
inline

Definition at line 37 of file TrigStreamAddress.h.

37 { return m_key;}

◆ storageType()

static constexpr long TrigStreamAddress::storageType ( )
inlinestaticconstexpr

Definition at line 34 of file TrigStreamAddress.h.

34 { return 0x51; }

Member Data Documentation

◆ m_key

std::string TrigStreamAddress::m_key
private

Definition at line 41 of file TrigStreamAddress.h.

◆ m_rep

std::vector<uint32_t> TrigStreamAddress::m_rep
private

Definition at line 40 of file TrigStreamAddress.h.


The documentation for this class was generated from the following files:
TrigStreamAddress::storageType
static constexpr long storageType()
Definition: TrigStreamAddress.h:34
TrigStreamAddress::m_rep
std::vector< uint32_t > m_rep
Definition: TrigStreamAddress.h:40
TRTCalib_cfilter.p1
p1
Definition: TRTCalib_cfilter.py:130
TRTCalib_cfilter.p2
p2
Definition: TRTCalib_cfilter.py:131
TrigStreamAddress::m_key
std::string m_key
Definition: TrigStreamAddress.h:41
python.AthDsoLogger.fname
string fname
Definition: AthDsoLogger.py:67
a
TList * a
Definition: liststreamerinfos.cxx:10