![]() |
ATLAS Offline Software
|
#include <Cool2Json.h>
Public Member Functions | |
| Cool2Json (const cool::IFolderPtr &pFolder, const cool::ValidityKey &since, const cool::ValidityKey &until, const cool::ChannelSelection &m_chansel, const std::string &folderTag) | |
| std::string | description () const |
| Folder description string. | |
| const std::string & | payloadSpec () const |
| Payload specification for this folder. | |
| std::string | payload () |
| Payload (data for the given channel selection and iov). | |
| std::string | iov () const |
| Formatted iov as '[<since>, <until>]'. | |
| unsigned int | nchans () const |
| Number of channels in the folder. | |
| std::string | iovBase () const |
| 'time' (ns of epoch) or 'run-lumi' | |
| const std::string & | tag () const |
| Simply the tag string passed to the constructor. | |
Static Public Member Functions | |
| static std::string | open () |
| json open tag, '{' | |
| static std::string | close () |
| json close tag, '}' | |
| static std::string | delimiter () |
| json standard delimiter ', ' | |
Private Types | |
| enum | FolderType { AttrList =0 , AttrListColl , PoolRef , PoolRefColl , CoraCool , CoolVector , JSON , NUM_FOLDER_TYPES } |
Static Private Member Functions | |
| static std::string | formatCvp (const cool::IObjectIteratorPtr &itr) |
| static std::string | formatAttrList (const cool::IObjectIteratorPtr &itr) |
| static std::string | formatPoolRef (const cool::IObjectIteratorPtr &itr) |
Private Attributes | |
| const cool::IFolderPtr | m_pFolder |
| const cool::ValidityKey | m_start |
| const cool::ValidityKey | m_stop |
| const cool::ChannelSelection | m_chansel |
| const std::string | m_tag |
| const std::string | m_desc |
| const std::string | m_spec |
| unsigned int | m_nchans |
Friends | |
| std::ostream & | operator<< (std::ostream &o, const Cool2Json &c) |
Definition at line 26 of file Cool2Json.h.
|
private |
| Enumerator | |
|---|---|
| AttrList | |
| AttrListColl | |
| PoolRef | |
| PoolRefColl | |
| CoraCool | |
| CoolVector | |
| JSON | |
| NUM_FOLDER_TYPES | |
Definition at line 70 of file Cool2Json.h.
| IOVDbNamespace::Cool2Json::Cool2Json | ( | const cool::IFolderPtr & | pFolder, |
| const cool::ValidityKey & | since, | ||
| const cool::ValidityKey & | until, | ||
| const cool::ChannelSelection & | m_chansel, | ||
| const std::string & | folderTag ) |
Definition at line 59 of file Cool2Json.cxx.
|
static |
json close tag, '}'
|
static |
json standard delimiter ', '
| std::string IOVDbNamespace::Cool2Json::description | ( | ) | const |
Folder description string.
Definition at line 81 of file Cool2Json.cxx.
|
staticprivate |
Definition at line 176 of file Cool2Json.cxx.
|
staticprivate |
Definition at line 158 of file Cool2Json.cxx.
|
staticprivate |
Definition at line 184 of file Cool2Json.cxx.
| std::string IOVDbNamespace::Cool2Json::iov | ( | ) | const |
Formatted iov as '[<since>, <until>]'.
Definition at line 197 of file Cool2Json.cxx.
| std::string IOVDbNamespace::Cool2Json::iovBase | ( | ) | const |
'time' (ns of epoch) or 'run-lumi'
Definition at line 143 of file Cool2Json.cxx.
| unsigned int IOVDbNamespace::Cool2Json::nchans | ( | ) | const |
Number of channels in the folder.
Definition at line 138 of file Cool2Json.cxx.
|
static |
json open tag, '{'
| std::string IOVDbNamespace::Cool2Json::payload | ( | ) |
Payload (data for the given channel selection and iov).
Definition at line 97 of file Cool2Json.cxx.
| const std::string & IOVDbNamespace::Cool2Json::payloadSpec | ( | ) | const |
Payload specification for this folder.
Definition at line 91 of file Cool2Json.cxx.
| const std::string & IOVDbNamespace::Cool2Json::tag | ( | ) | const |
Simply the tag string passed to the constructor.
Definition at line 153 of file Cool2Json.cxx.
Definition at line 202 of file Cool2Json.cxx.
|
private |
Definition at line 83 of file Cool2Json.h.
|
private |
Definition at line 85 of file Cool2Json.h.
|
private |
Definition at line 87 of file Cool2Json.h.
|
private |
Definition at line 80 of file Cool2Json.h.
|
private |
Definition at line 86 of file Cool2Json.h.
|
private |
Definition at line 81 of file Cool2Json.h.
|
private |
Definition at line 82 of file Cool2Json.h.
|
private |
Definition at line 84 of file Cool2Json.h.