ATLAS Offline Software
|
Internal wrapper for Gaudi::Property. More...
Public Member Functions | |
CProperty (const std::string &name, const std::string &doc, ToolWithConstantsImpl &impl) | |
Constructor, no default value. More... | |
CProperty (const std::string &name, const std::string &doc, ToolWithConstantsImpl &impl, const T &deflt) | |
Constructor, with default value. More... | |
virtual std::string | toString () const override |
Return the value of this property as a string. More... | |
virtual void | toStream (std::ostream &out) const override |
Print the value of this property to a stream. More... | |
virtual StatusCode | fromString (const std::string &value) override |
Initialize this propery's value from a string. More... | |
Public Attributes | |
ToolWithConstantsImpl & | m_impl |
Reference to implementation object. More... | |
bool | m_setFromJO = false |
Has this constant been set from JO? More... | |
bool | m_hasDefault = false |
Does this constant have a default? More... | |
Internal wrapper for Gaudi::Property.
Handles the setFromJO flag and the Arrayrep conversion.
Definition at line 286 of file ToolWithConstants.h.
CaloUtils::ToolConstant< T >::CProperty::CProperty | ( | const std::string & | name, |
const std::string & | doc, | ||
ToolWithConstantsImpl & | impl | ||
) |
Constructor, no default value.
name | Constant name. |
doc | Documentation string. |
impl | Internal implementation object. |
CaloUtils::ToolConstant< T >::CProperty::CProperty | ( | const std::string & | name, |
const std::string & | doc, | ||
ToolWithConstantsImpl & | impl, | ||
const T & | deflt | ||
) |
Constructor, with default value.
name | Constant name. |
doc | Documentation string. |
impl | Internal implementation object. |
deflt | Default value. |
|
overridevirtual |
Initialize this propery's value from a string.
value | String from which to initialize. |
|
overridevirtual |
Print the value of this property to a stream.
out | Stream to which to print. |
|
overridevirtual |
Return the value of this property as a string.
bool CaloUtils::ToolConstant< T >::CProperty::m_hasDefault = false |
Does this constant have a default?
Definition at line 345 of file ToolWithConstants.h.
ToolWithConstantsImpl& CaloUtils::ToolConstant< T >::CProperty::m_impl |
Reference to implementation object.
Definition at line 339 of file ToolWithConstants.h.
bool CaloUtils::ToolConstant< T >::CProperty::m_setFromJO = false |
Has this constant been set from JO?
Definition at line 342 of file ToolWithConstants.h.