#include <TProperty.h>
Public Member Functions | |
| TProperty (T &val, Type type) | |
| Constructor from a reference and a type. | |
| const T * | pointer () const |
| Return the address of the property variable. | |
| virtual int | setFrom (const Property &rhs) |
| Set value using that from another property. | |
| virtual StatusCode | getString (std::string &result) const |
| get the property as a string | |
| virtual StatusCode | setString (const std::string &value) |
| set the property from a string | |
| template<> | |
| int | setFrom (const Property &rhs) |
Declare specialization(s) for TProperty::setFrom | |
| template<> | |
| int | setFrom (const Property &rhs) |
Templated wrapper around user properties
This class is used to wrap user-defined tool properties, to be able to set them through the PropertyMgr.
| StatusCode TProperty< T >::getString | ( | std::string & | result | ) | const [inline, virtual] |
get the property as a string
Reimplemented from Property.
| StatusCode TProperty< T >::setString | ( | const std::string & | value | ) | [inline, virtual] |
set the property from a string
Reimplemented from Property.
1.6.1