|
ATLAS Offline Software
|
Go to the documentation of this file.
13 #define DECLARE_TYPE( TYPE, NAME ) \
16 static const std::string n( NAME ); \
39 static const std::string
dummy(
"<error>" );
70 std::cout <<
"Property::setFrom: Property not set!" << std::endl;
77 std::cout <<
"Property::getString: method not implemented" << std::endl;
78 return StatusCode::FAILURE;
82 std::cout <<
"Property::getCastString: method not implemented" << std::endl;
83 return StatusCode::FAILURE;
87 std::cout <<
"Property::setString: method not implemented" << std::endl;
88 return StatusCode::FAILURE;
Type
Property type enumeration.
virtual StatusCode getCastString(std::string &result) const
get the property as a string I can pas to setString
Property()
Default constructor.
#define DECLARE_TYPE(TYPE, NAME)
Macro used in implementing the type->name translation function.
virtual int setFrom(const Property &rhs)
virtual StatusCode getString(std::string &result) const
get the property as a string
Support class for PropertyMgr.
const std::string & typeName() const
Return the type name.
::StatusCode StatusCode
StatusCode definition for legacy code.
bool isValid() const
Return if this is a valid property.
Type type() const
Return the type index.
virtual StatusCode setString(const std::string &value)
set the property from a string
static const std::string & name(Type type)
Function returning a user-readable name for a property type.
Type m_type
The type of the property.