ATLAS Offline Software
Public Member Functions | Private Attributes | Friends | List of all members
DataHeaderElement_p4 Class Reference

This class provides a persistent representation for the DataHeaderElement class. More...

#include <DataHeader_p4.h>

Collaboration diagram for DataHeaderElement_p4:

Public Member Functions

 DataHeaderElement_p4 ()
 
 DataHeaderElement_p4 (const DataHeaderElement_p4 &rhs)
 
virtual ~DataHeaderElement_p4 ()
 
DataHeaderElement_p4operator= (const DataHeaderElement_p4 &rhs)
 
unsigned int pClid () const
 
const std::vector< unsigned int > & clids () const
 
const std::string & key () const
 
const std::vector< std::string > & alias () const
 
const std::string & token () const
 
unsigned int oid1 () const
 
unsigned int oid2 () const
 

Private Attributes

std::vector< unsigned int > m_clids
 
std::string m_token
 
std::vector< std::string > m_alias
 
unsigned int m_technology
 
unsigned int m_oid1
 
unsigned int m_oid2
 
unsigned short m_dbGuidIdx
 
unsigned short m_classIdIdx
 
unsigned short m_prefixIdx
 
unsigned short m_keyPos
 
std::vector< uint64_t > m_hashes
 

Friends

class DataHeaderCnv_p4
 
class DataHeaderElementCnv_p4
 

Detailed Description

This class provides a persistent representation for the DataHeaderElement class.

Definition at line 21 of file DataHeader_p4.h.

Constructor & Destructor Documentation

◆ DataHeaderElement_p4() [1/2]

DataHeaderElement_p4::DataHeaderElement_p4 ( )

Definition at line 7 of file DataHeader_p4.cxx.

7  : m_clids(),
8  m_token(),
9  m_alias(),
10  m_technology(0U),
11  m_oid1(0U),
12  m_oid2(0U),
13  m_dbGuidIdx(0U),
14  m_classIdIdx(0U),
15  m_prefixIdx(0U),
16  m_keyPos(0U),
17  m_hashes() {}

◆ DataHeaderElement_p4() [2/2]

DataHeaderElement_p4::DataHeaderElement_p4 ( const DataHeaderElement_p4 rhs)

Definition at line 18 of file DataHeader_p4.cxx.

18  : m_clids(rhs.m_clids),
19  m_token(rhs.m_token),
20  m_alias(rhs.m_alias),
22  m_oid1(rhs.m_oid1),
23  m_oid2(rhs.m_oid2),
27  m_keyPos(rhs.m_keyPos),
28  m_hashes(rhs.m_hashes) {}

◆ ~DataHeaderElement_p4()

DataHeaderElement_p4::~DataHeaderElement_p4 ( )
virtual

Definition at line 29 of file DataHeader_p4.cxx.

29 {}

Member Function Documentation

◆ alias()

const std::vector< std::string > & DataHeaderElement_p4::alias ( ) const

Definition at line 60 of file DataHeader_p4.cxx.

60  {
61  return(m_alias);
62 }

◆ clids()

const std::vector< unsigned int > & DataHeaderElement_p4::clids ( ) const

Definition at line 52 of file DataHeader_p4.cxx.

52  {
53  return(m_clids);
54 }

◆ key()

const std::string & DataHeaderElement_p4::key ( ) const

Definition at line 56 of file DataHeader_p4.cxx.

56  {
57  return(m_alias.front());
58 }

◆ oid1()

unsigned int DataHeaderElement_p4::oid1 ( ) const

Definition at line 68 of file DataHeader_p4.cxx.

68  {
69  return(m_oid1);
70 }

◆ oid2()

unsigned int DataHeaderElement_p4::oid2 ( ) const

Definition at line 72 of file DataHeader_p4.cxx.

72  {
73  return(m_oid2);
74 }

◆ operator=()

DataHeaderElement_p4 & DataHeaderElement_p4::operator= ( const DataHeaderElement_p4 rhs)

Definition at line 31 of file DataHeader_p4.cxx.

31  {
32  if (this != &rhs) {
33  m_clids = rhs.m_clids;
34  m_token = rhs.m_token;
35  m_alias = rhs.m_alias;
37  m_oid1 = rhs.m_oid1;
38  m_oid2 = rhs.m_oid2;
41  m_keyPos = rhs.m_keyPos;
42  m_hashes = rhs.m_hashes;
44  }
45  return(*this);
46 }

◆ pClid()

unsigned int DataHeaderElement_p4::pClid ( ) const

Definition at line 48 of file DataHeader_p4.cxx.

48  {
49  return(m_clids.front());
50 }

◆ token()

const std::string & DataHeaderElement_p4::token ( ) const

Definition at line 64 of file DataHeader_p4.cxx.

64  {
65  return(m_token);
66 }

Friends And Related Function Documentation

◆ DataHeaderCnv_p4

friend class DataHeaderCnv_p4
friend

Definition at line 29 of file DataHeader_p4.h.

◆ DataHeaderElementCnv_p4

friend class DataHeaderElementCnv_p4
friend

Definition at line 30 of file DataHeader_p4.h.

Member Data Documentation

◆ m_alias

std::vector<std::string> DataHeaderElement_p4::m_alias
private

Definition at line 43 of file DataHeader_p4.h.

◆ m_classIdIdx

unsigned short DataHeaderElement_p4::m_classIdIdx
private

Definition at line 45 of file DataHeader_p4.h.

◆ m_clids

std::vector<unsigned int> DataHeaderElement_p4::m_clids
private

Definition at line 41 of file DataHeader_p4.h.

◆ m_dbGuidIdx

unsigned short DataHeaderElement_p4::m_dbGuidIdx
private

Definition at line 45 of file DataHeader_p4.h.

◆ m_hashes

std::vector<uint64_t> DataHeaderElement_p4::m_hashes
private

Definition at line 47 of file DataHeader_p4.h.

◆ m_keyPos

unsigned short DataHeaderElement_p4::m_keyPos
private

Definition at line 46 of file DataHeader_p4.h.

◆ m_oid1

unsigned int DataHeaderElement_p4::m_oid1
private

Definition at line 44 of file DataHeader_p4.h.

◆ m_oid2

unsigned int DataHeaderElement_p4::m_oid2
private

Definition at line 44 of file DataHeader_p4.h.

◆ m_prefixIdx

unsigned short DataHeaderElement_p4::m_prefixIdx
private

Definition at line 45 of file DataHeader_p4.h.

◆ m_technology

unsigned int DataHeaderElement_p4::m_technology
private

Definition at line 44 of file DataHeader_p4.h.

◆ m_token

std::string DataHeaderElement_p4::m_token
private

Definition at line 42 of file DataHeader_p4.h.


The documentation for this class was generated from the following files:
DataHeaderElement_p4::m_classIdIdx
unsigned short m_classIdIdx
Definition: DataHeader_p4.h:45
DataHeaderElement_p4::m_token
std::string m_token
Definition: DataHeader_p4.h:42
DataHeaderElement_p4::m_prefixIdx
unsigned short m_prefixIdx
Definition: DataHeader_p4.h:45
DataHeaderElement_p4::m_technology
unsigned int m_technology
Definition: DataHeader_p4.h:44
DataHeaderElement_p4::m_keyPos
unsigned short m_keyPos
Definition: DataHeader_p4.h:46
DataHeaderElement_p4::m_hashes
std::vector< uint64_t > m_hashes
Definition: DataHeader_p4.h:47
DataHeaderElement_p4::m_alias
std::vector< std::string > m_alias
Definition: DataHeader_p4.h:43
DataHeaderElement_p4::m_dbGuidIdx
unsigned short m_dbGuidIdx
Definition: DataHeader_p4.h:45
DataHeaderElement_p4::m_clids
std::vector< unsigned int > m_clids
Definition: DataHeader_p4.h:41
DataHeaderElement_p4::m_oid1
unsigned int m_oid1
Definition: DataHeader_p4.h:44
DataHeaderElement_p4::m_oid2
unsigned int m_oid2
Definition: DataHeader_p4.h:44