5#ifndef ASGTOOLS_TPROPERTY_H
6#define ASGTOOLS_TPROPERTY_H
44 virtual StatusCode
setString (
const std::string& value);
Property * createProperty(const bool &rval)
Create a boolean propert.
Support class for PropertyMgr.
Type type() const
Return the type index.
Type
Property type enumeration.
Property()
Default constructor.
virtual StatusCode setString(const std::string &value)
set the property from a string
virtual StatusCode getString(std::string &result) const
get the property as a string
T * m_ptr
The address of the wrapped variable.
virtual StatusCode getCastString(std::string &result) const
get the property as a string I can pas to setString
const T * pointer() const
Return the address of the property variable.
TProperty(T &val, Type type)
Constructor from a reference and a type.
virtual int setFrom(const Property &rhs)
Set value using that from another property.