![]() |
ATLAS Offline Software
|
This class provides storage for the constant fields of the persistent DataHeader class. More...
#include <DataHeader_p6.h>
Classes | |
| struct | DbRecord |
| struct | ObjRecord |
Public Types | |
| enum | DHVersions { DHverFormRef = 600 } |
| using | sgkey_t = SG::sgkey_t |
Public Member Functions | |
| DataHeaderForm_p6 () | |
| unsigned int | insertDb (const DbRecord &rec) |
| std::size_t | sizeDb () const |
| Guid | getDbGuid (unsigned int index) const |
| unsigned int | getDbTech (unsigned int index) const |
| unsigned int | insertObj (const ObjRecord &rec, const std::vector< std::string > &alias=std::vector< std::string >(), bool doAliasFiletering=true, const std::vector< unsigned int > &symLinks=std::vector< unsigned int >(), const std::vector< sgkey_t > &hashes=std::vector< sgkey_t >()) |
| std::size_t | sizeObj () const |
| const std::string & | getObjContainer (unsigned int index) const |
| const std::string & | getObjKey (unsigned int index) const |
| unsigned int | getObjType (unsigned int index) const |
| const Guid & | getObjClassId (unsigned int index) const |
| long long | getObjOid1 (unsigned int index) const |
| const std::vector< std::string > & | getObjAlias (unsigned int index) const |
| const std::vector< unsigned int > & | getObjSymLinks (unsigned int index) const |
| const std::vector< sgkey_t > & | getObjHashes (unsigned int index) const |
| bool | isModified () const |
| void | clearModified () |
| void | setToken (const std::string &tok) |
| const std::string & | getToken () const |
| void | resize (unsigned int size) |
| const std::string & | getProcessTag () const |
| void | setProcessTag (const std::string &tag) |
| unsigned | version () const |
| void | setVersion (const DHVersions ver) |
| change version if writing backward compatible format | |
Private Attributes | |
| std::vector< DbRecord > | m_dbRecords |
| std::vector< ObjRecord > | m_objRecords |
| std::vector< std::vector< std::string > > | m_objAlias |
| std::vector< std::vector< unsigned int > > | m_objSymLinks |
| std::vector< std::vector< sgkey_t > > | m_objHashes |
| unsigned | m_version { DHverFormRef } |
| Subversion of DHForm_p6 for small changes of data encoding. | |
| std::string | m_processTag |
| DataHeader SG Key. | |
| bool | m_modified { true } |
| indicates that the last event was somehow different and a new DHForm needs to be written | |
| std::string | m_token |
| Reference to self in the persistent storage. | |
Friends | |
| class | DataHeaderCnv_p6 |
This class provides storage for the constant fields of the persistent DataHeader class.
Definition at line 26 of file DataHeader_p6.h.
Definition at line 30 of file DataHeader_p6.h.
|
inline |
Definition at line 54 of file DataHeader_p6.h.
| void DataHeaderForm_p6::clearModified | ( | ) |
Definition at line 113 of file DataHeader_p6.cxx.
| Guid DataHeaderForm_p6::getDbGuid | ( | unsigned int | index | ) | const |
Definition at line 32 of file DataHeader_p6.cxx.
| unsigned int DataHeaderForm_p6::getDbTech | ( | unsigned int | index | ) | const |
Definition at line 36 of file DataHeader_p6.cxx.
| const std::vector< std::string > & DataHeaderForm_p6::getObjAlias | ( | unsigned int | index | ) | const |
Definition at line 95 of file DataHeader_p6.cxx.
Definition at line 91 of file DataHeader_p6.cxx.
| const std::string & DataHeaderForm_p6::getObjContainer | ( | unsigned int | index | ) | const |
Definition at line 79 of file DataHeader_p6.cxx.
| const std::vector< DataHeaderForm_p6::sgkey_t > & DataHeaderForm_p6::getObjHashes | ( | unsigned int | index | ) | const |
Definition at line 105 of file DataHeader_p6.cxx.
| const std::string & DataHeaderForm_p6::getObjKey | ( | unsigned int | index | ) | const |
Definition at line 83 of file DataHeader_p6.cxx.
|
inline |
Definition at line 70 of file DataHeader_p6.h.
| const std::vector< unsigned int > & DataHeaderForm_p6::getObjSymLinks | ( | unsigned int | index | ) | const |
Definition at line 100 of file DataHeader_p6.cxx.
| unsigned int DataHeaderForm_p6::getObjType | ( | unsigned int | index | ) | const |
Definition at line 87 of file DataHeader_p6.cxx.
|
inline |
Definition at line 79 of file DataHeader_p6.h.
| const std::string & DataHeaderForm_p6::getToken | ( | ) | const |
Definition at line 122 of file DataHeader_p6.cxx.
Definition at line 15 of file DataHeader_p6.cxx.
| unsigned int DataHeaderForm_p6::insertObj | ( | const ObjRecord & | rec, |
| const std::vector< std::string > & | alias = std::vector<std::string>(), | ||
| bool | doAliasFiletering = true, | ||
| const std::vector< unsigned int > & | symLinks = std::vector<unsigned int>(), | ||
| const std::vector< sgkey_t > & | hashes = std::vector<sgkey_t>() ) |
Definition at line 40 of file DataHeader_p6.cxx.
| bool DataHeaderForm_p6::isModified | ( | ) | const |
Definition at line 109 of file DataHeader_p6.cxx.
| void DataHeaderForm_p6::resize | ( | unsigned int | size | ) |
Definition at line 126 of file DataHeader_p6.cxx.
|
inline |
Definition at line 80 of file DataHeader_p6.h.
| void DataHeaderForm_p6::setToken | ( | const std::string & | tok | ) |
Definition at line 117 of file DataHeader_p6.cxx.
|
inline |
change version if writing backward compatible format
Definition at line 83 of file DataHeader_p6.h.
| std::size_t DataHeaderForm_p6::sizeDb | ( | ) | const |
Definition at line 28 of file DataHeader_p6.cxx.
| std::size_t DataHeaderForm_p6::sizeObj | ( | ) | const |
Definition at line 75 of file DataHeader_p6.cxx.
|
inline |
Definition at line 81 of file DataHeader_p6.h.
|
friend |
Definition at line 27 of file DataHeader_p6.h.
|
private |
Definition at line 86 of file DataHeader_p6.h.
|
private |
indicates that the last event was somehow different and a new DHForm needs to be written
Definition at line 99 of file DataHeader_p6.h.
|
private |
Definition at line 88 of file DataHeader_p6.h.
|
private |
Definition at line 90 of file DataHeader_p6.h.
|
private |
Definition at line 87 of file DataHeader_p6.h.
|
private |
Definition at line 89 of file DataHeader_p6.h.
|
private |
DataHeader SG Key.
Definition at line 95 of file DataHeader_p6.h.
|
private |
Reference to self in the persistent storage.
Definition at line 101 of file DataHeader_p6.h.
|
private |
Subversion of DHForm_p6 for small changes of data encoding.
Definition at line 93 of file DataHeader_p6.h.