Project
Loading...
Searching...
No Matches
o2::ccdb::CcdbObjectInfo Class Reference

#include <CcdbObjectInfo.h>

Public Member Functions

 CcdbObjectInfo (bool adjustableEOV=true)
 
 CcdbObjectInfo (std::string path, std::string objType, std::string flName, std::map< std::string, std::string > metadata, long startValidityTimestamp, long endValidityTimestamp, bool adjustableEOV=true, bool validateUpload=false)
 
 ~CcdbObjectInfo ()=default
 
const std::string & getObjectType () const
 
void setObjectType (const std::string &tp)
 
const std::string & getFileName () const
 
void setFileName (const std::string &nm)
 
const std::string & getPath () const
 
void setPath (const std::string &path)
 
const std::map< std::string, std::string > & getMetaData () const
 
void setMetaData (const std::map< std::string, std::string > &md)
 
void setAdjustableEOV ()
 
void setValidateUpload (bool v)
 
bool isAdjustableEOV () const
 
bool getValidateUpload () const
 
long getStartValidityTimestamp () const
 
void setStartValidityTimestamp (long start)
 
long getEndValidityTimestamp () const
 
void setEndValidityTimestamp (long end)
 
bool operator< (const CcdbObjectInfo &other) const
 
bool operator> (const CcdbObjectInfo &other) const
 

Static Public Attributes

static constexpr long SECOND = 1000
 
static constexpr long MINUTE = 60 * SECOND
 
static constexpr long HOUR = 60 * MINUTE
 
static constexpr long DAY = 24 * HOUR
 
static constexpr long MONTH = 30 * DAY
 
static constexpr long YEAR = 364 * DAY
 
static constexpr long INFINITE_TIMESTAMP = 9999999999999
 
static constexpr long INFINITE_TIMESTAMP_SECONDS = 2000000000
 
static constexpr const charAdjustableEOV = "adjustableEOV"
 
static constexpr const charDefaultObj = "default"
 

Detailed Description

Definition at line 24 of file CcdbObjectInfo.h.

Constructor & Destructor Documentation

◆ CcdbObjectInfo() [1/2]

o2::ccdb::CcdbObjectInfo::CcdbObjectInfo ( bool  adjustableEOV = true)
inline

Definition at line 39 of file CcdbObjectInfo.h.

◆ CcdbObjectInfo() [2/2]

o2::ccdb::CcdbObjectInfo::CcdbObjectInfo ( std::string  path,
std::string  objType,
std::string  flName,
std::map< std::string, std::string >  metadata,
long  startValidityTimestamp,
long  endValidityTimestamp,
bool  adjustableEOV = true,
bool  validateUpload = false 
)
inline

Definition at line 45 of file CcdbObjectInfo.h.

◆ ~CcdbObjectInfo()

o2::ccdb::CcdbObjectInfo::~CcdbObjectInfo ( )
default

Member Function Documentation

◆ getEndValidityTimestamp()

long o2::ccdb::CcdbObjectInfo::getEndValidityTimestamp ( ) const
inline

Definition at line 93 of file CcdbObjectInfo.h.

◆ getFileName()

const std::string & o2::ccdb::CcdbObjectInfo::getFileName ( ) const
inline

Definition at line 59 of file CcdbObjectInfo.h.

◆ getMetaData()

const std::map< std::string, std::string > & o2::ccdb::CcdbObjectInfo::getMetaData ( ) const
inline

Definition at line 65 of file CcdbObjectInfo.h.

◆ getObjectType()

const std::string & o2::ccdb::CcdbObjectInfo::getObjectType ( ) const
inline

Definition at line 56 of file CcdbObjectInfo.h.

◆ getPath()

const std::string & o2::ccdb::CcdbObjectInfo::getPath ( ) const
inline

Definition at line 62 of file CcdbObjectInfo.h.

◆ getStartValidityTimestamp()

long o2::ccdb::CcdbObjectInfo::getStartValidityTimestamp ( ) const
inline

Definition at line 90 of file CcdbObjectInfo.h.

◆ getValidateUpload()

bool o2::ccdb::CcdbObjectInfo::getValidateUpload ( ) const
inline

Definition at line 88 of file CcdbObjectInfo.h.

◆ isAdjustableEOV()

bool o2::ccdb::CcdbObjectInfo::isAdjustableEOV ( ) const
inline

Definition at line 87 of file CcdbObjectInfo.h.

◆ operator<()

bool o2::ccdb::CcdbObjectInfo::operator< ( const CcdbObjectInfo other) const
inline

Definition at line 96 of file CcdbObjectInfo.h.

◆ operator>()

bool o2::ccdb::CcdbObjectInfo::operator> ( const CcdbObjectInfo other) const
inline

Definition at line 101 of file CcdbObjectInfo.h.

◆ setAdjustableEOV()

void o2::ccdb::CcdbObjectInfo::setAdjustableEOV ( )
inline

Definition at line 74 of file CcdbObjectInfo.h.

◆ setEndValidityTimestamp()

void o2::ccdb::CcdbObjectInfo::setEndValidityTimestamp ( long  end)
inline

Definition at line 94 of file CcdbObjectInfo.h.

◆ setFileName()

void o2::ccdb::CcdbObjectInfo::setFileName ( const std::string &  nm)
inline

Definition at line 60 of file CcdbObjectInfo.h.

◆ setMetaData()

void o2::ccdb::CcdbObjectInfo::setMetaData ( const std::map< std::string, std::string > &  md)
inline

Definition at line 66 of file CcdbObjectInfo.h.

◆ setObjectType()

void o2::ccdb::CcdbObjectInfo::setObjectType ( const std::string &  tp)
inline

Definition at line 57 of file CcdbObjectInfo.h.

◆ setPath()

void o2::ccdb::CcdbObjectInfo::setPath ( const std::string &  path)
inline

Definition at line 63 of file CcdbObjectInfo.h.

◆ setStartValidityTimestamp()

void o2::ccdb::CcdbObjectInfo::setStartValidityTimestamp ( long  start)
inline

Definition at line 91 of file CcdbObjectInfo.h.

◆ setValidateUpload()

void o2::ccdb::CcdbObjectInfo::setValidateUpload ( bool  v)
inline

Definition at line 85 of file CcdbObjectInfo.h.

Member Data Documentation

◆ AdjustableEOV

constexpr const char* o2::ccdb::CcdbObjectInfo::AdjustableEOV = "adjustableEOV"
staticconstexpr

Definition at line 36 of file CcdbObjectInfo.h.

◆ DAY

constexpr long o2::ccdb::CcdbObjectInfo::DAY = 24 * HOUR
staticconstexpr

Definition at line 31 of file CcdbObjectInfo.h.

◆ DefaultObj

constexpr const char* o2::ccdb::CcdbObjectInfo::DefaultObj = "default"
staticconstexpr

Definition at line 37 of file CcdbObjectInfo.h.

◆ HOUR

constexpr long o2::ccdb::CcdbObjectInfo::HOUR = 60 * MINUTE
staticconstexpr

Definition at line 30 of file CcdbObjectInfo.h.

◆ INFINITE_TIMESTAMP

constexpr long o2::ccdb::CcdbObjectInfo::INFINITE_TIMESTAMP = 9999999999999
staticconstexpr

Definition at line 34 of file CcdbObjectInfo.h.

◆ INFINITE_TIMESTAMP_SECONDS

constexpr long o2::ccdb::CcdbObjectInfo::INFINITE_TIMESTAMP_SECONDS = 2000000000
staticconstexpr

Definition at line 35 of file CcdbObjectInfo.h.

◆ MINUTE

constexpr long o2::ccdb::CcdbObjectInfo::MINUTE = 60 * SECOND
staticconstexpr

Definition at line 29 of file CcdbObjectInfo.h.

◆ MONTH

constexpr long o2::ccdb::CcdbObjectInfo::MONTH = 30 * DAY
staticconstexpr

Definition at line 32 of file CcdbObjectInfo.h.

◆ SECOND

constexpr long o2::ccdb::CcdbObjectInfo::SECOND = 1000
staticconstexpr

Definition at line 28 of file CcdbObjectInfo.h.

◆ YEAR

constexpr long o2::ccdb::CcdbObjectInfo::YEAR = 364 * DAY
staticconstexpr

Definition at line 33 of file CcdbObjectInfo.h.


The documentation for this class was generated from the following file: