ATLAS Offline Software
Loading...
Searching...
No Matches
ReadFromFileMetaData.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5//@file ReadFromFileMetaData.h
6//@brief Class to read from file metadata and give the results
7//@author Shaun Roe
8#ifndef IOVDbSvc_ReadFromFileMetaData_h
9#define IOVDbSvc_ReadFromFileMetaData_h
10
11
12#include "CoolKernel/ValidityKey.h"
15#include <string>
16#include "FolderTypes.h"
18
19//fwd declarations
24
25namespace coral{
26 class AttributeList;
27}
28
29namespace IOVDbNamespace{
30 //@brief Encapsulates the functionality to read database quantities from file metadata
60
61
63 public:
64 FMDReadLock( const FMDReadLock& )=delete;
65 void operator=( const FMDReadLock& )=delete;
66 FMDReadLock( IIOVDbMetaDataTool* metadatatool );
68 IOVMetaDataContainer* findFolder( const std::string& folderName );
69 private:
71 };
72
74 {
75 public:
76 SafeReadFromFileMetaData( const std::string& folderName,
77 IIOVDbMetaDataTool* metadatatool,
78 const IOVTime & refTime, const bool useEpochTimestamp );
79 SafeReadFromFileMetaData( const std::string& folderName,
80 IIOVDbMetaDataTool* metadatatool,
81 const cool::ValidityKey & refTimeKey, const bool useEpochTimestamp);
82 };
83
84}//namespace
85#endif
This class is a container for the payload of conditions data.
Validity Range object.
Basic time unit for IOVSvc.
An AttributeList represents a logical row of attributes in a metadata table.
This class is a collection of AttributeLists where each one is associated with a channel number.
This is an interface to a tool used to manage the IOV Meta Data for a given object in the MetaData St...
FMDReadLock(const FMDReadLock &)=delete
IIOVDbMetaDataTool * m_metadatatool
void operator=(const FMDReadLock &)=delete
IOVMetaDataContainer * findFolder(const std::string &folderName)
const IOVMetaDataContainer * m_metaContainer
IOVDbNamespace::FolderType m_folderType
CondAttrListCollection * attrListCollection()
IOVDbNamespace::FolderType folderType()
const IOVPayloadContainer * m_payload
ReadFromFileMetaData(const ReadFromFileMetaData &)=delete
ReadFromFileMetaData & operator=(const ReadFromFileMetaData &)=delete
SafeReadFromFileMetaData(const std::string &folderName, IIOVDbMetaDataTool *metadatatool, const IOVTime &refTime, const bool useEpochTimestamp)
This class is a container for conditions data.
This class is a container for the payload of conditions data.
Validity Range object.
Definition IOVRange.h:30
Basic time unit for IOVSvc.
Definition IOVTime.h:33