5#ifndef ASGTOOLS_PROPERTY_H
6#define ASGTOOLS_PROPERTY_H
101 virtual StatusCode
setString (
const std::string& value);
Support class for PropertyMgr.
static const std::string & name(Type type)
Function returning a user-readable name for a property type.
Type type() const
Return the type index.
std::vector< std::string > StringVector
Convenience type declaration for a string vector.
bool isValid() const
Return if this is a valid property.
virtual StatusCode getString(std::string &result) const
get the property as a string
Type m_type
The type of the property.
const std::string & typeName() const
Return the type name.
virtual int setFrom(const Property &rhs)
std::vector< int > IntVector
Convenience type declaration for an integer vector.
Type
Property type enumeration.
virtual ~Property()
Destructor.
virtual StatusCode setString(const std::string &value)
set the property from a string
Property()
Default constructor.
virtual StatusCode getCastString(std::string &result) const
get the property as a string I can pas to setString
std::vector< float > FloatVector
Convenience type declaration for a float vector.