DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
The data class behind a conditions handle. More...
#include <ConditionsInterna.h>
Public Member Functions | |
ConditionObject () | |
Default constructor. More... | |
ConditionObject (const ConditionObject &)=delete | |
No copy constructor. More... | |
ConditionObject (ConditionObject &&)=delete | |
ConditionObject (const std::string &nam, const std::string &tit="") | |
Standard constructor. More... | |
virtual | ~ConditionObject () |
Standard Destructor. More... | |
ConditionObject & | operator= (const ConditionObject &)=delete |
No assignment operation. More... | |
ConditionObject & | operator= (ConditionObject &&)=delete |
No move assignment operator. More... | |
ConditionObject * | addRef () |
Increase reference counter (Used by persistency mechanism) More... | |
void | release () |
Release object (Used by persistency mechanism) More... | |
ConditionObject & | move (ConditionObject &from) |
Move data content: 'from' will be reset to NULL. More... | |
const IOV * | iovData () const |
Access safely the IOV. More... | |
const IOVType * | iovType () const |
Access safely the IOV-type. More... | |
void * | payload () const |
Access the bound data payload. Exception id object is unbound. More... | |
bool | is_bound () const |
Check if object is already bound.... More... | |
bool | is_traced () const |
void | setFlag (Condition::mask_type option) |
Flag operations: Set a conditons flag. More... | |
void | unFlag (Condition::mask_type option) |
Flag operations: UN-Set a conditons flag. More... | |
bool | testFlag (Condition::mask_type option) const |
Flag operations: Test for a given a conditons flag. More... | |
Static Public Member Functions | |
static size_t | offset () |
Data offset from the opaque data block pointer to the condition. More... | |
Public Attributes | |
std::string | value |
Condition value (in string form) More... | |
std::string | validity |
Condition validity (in string form) More... | |
std::string | address |
Condition address. More... | |
std::string | comment |
Comment string. More... | |
OpaqueDataBlock | data |
Data block. More... | |
const IOV * | iov = 0 |
Interval of validity. More... | |
Condition::key_type | hash = 0 |
Hash value of the name. More... | |
Condition::mask_type | flags = 0 |
Flags. More... | |
int | refCount = 1 |
Reference count. More... | |
The data class behind a conditions handle.
See ConditionsInterna.cpp for the implementation.
The copy and move constructors have been removed from this class. It would be unsafe to copy or move an instance of it as:
Definition at line 64 of file ConditionsInterna.h.
detail::ConditionObject::ConditionObject | ( | ) |
Default constructor.
Definition at line 40 of file ConditionsInterna.cpp.
|
delete |
No copy constructor.
|
delete |
detail::ConditionObject::ConditionObject | ( | const std::string & | nam, |
const std::string & | tit = "" |
||
) |
Standard constructor.
Definition at line 50 of file ConditionsInterna.cpp.
|
virtual |
Standard Destructor.
Definition at line 58 of file ConditionsInterna.cpp.
|
inline |
Increase reference counter (Used by persistency mechanism)
Definition at line 105 of file ConditionsInterna.h.
const dd4hep::IOV * detail::ConditionObject::iovData | ( | ) | const |
Access safely the IOV.
Definition at line 85 of file ConditionsInterna.cpp.
const dd4hep::IOVType * detail::ConditionObject::iovType | ( | ) | const |
Access safely the IOV-type.
Definition at line 92 of file ConditionsInterna.cpp.
|
inline |
Check if object is already bound....
Definition at line 119 of file ConditionsInterna.h.
|
inline |
Definition at line 120 of file ConditionsInterna.h.
detail::ConditionObject & detail::ConditionObject::move | ( | ConditionObject & | from | ) |
Move data content: 'from' will be reset to NULL.
Definition at line 80 of file ConditionsInterna.cpp.
|
static |
Data offset from the opaque data block pointer to the condition.
Definition at line 68 of file ConditionsInterna.cpp.
|
delete |
No move assignment operator.
|
delete |
No assignment operation.
void * detail::ConditionObject::payload | ( | ) | const |
Access the bound data payload. Exception id object is unbound.
Definition at line 75 of file ConditionsInterna.cpp.
void detail::ConditionObject::release | ( | ) |
Release object (Used by persistency mechanism)
Definition at line 63 of file ConditionsInterna.cpp.
|
inline |
Flag operations: Set a conditons flag.
Definition at line 122 of file ConditionsInterna.h.
|
inline |
Flag operations: Test for a given a conditons flag.
Definition at line 126 of file ConditionsInterna.h.
|
inline |
Flag operations: UN-Set a conditons flag.
Definition at line 124 of file ConditionsInterna.h.
std::string dd4hep::detail::ConditionObject::address |
Condition address.
Definition at line 76 of file ConditionsInterna.h.
std::string dd4hep::detail::ConditionObject::comment |
Comment string.
Definition at line 78 of file ConditionsInterna.h.
OpaqueDataBlock dd4hep::detail::ConditionObject::data |
Data block.
Definition at line 81 of file ConditionsInterna.h.
Condition::mask_type dd4hep::detail::ConditionObject::flags = 0 |
Flags.
Definition at line 87 of file ConditionsInterna.h.
Condition::key_type dd4hep::detail::ConditionObject::hash = 0 |
const IOV* dd4hep::detail::ConditionObject::iov = 0 |
Interval of validity.
Definition at line 83 of file ConditionsInterna.h.
int dd4hep::detail::ConditionObject::refCount = 1 |
Reference count.
Definition at line 89 of file ConditionsInterna.h.
std::string dd4hep::detail::ConditionObject::validity |
Condition validity (in string form)
Definition at line 74 of file ConditionsInterna.h.
std::string dd4hep::detail::ConditionObject::value |
Condition value (in string form)
Definition at line 71 of file ConditionsInterna.h.