|
| PropertyMgr (IInterface *iface=0) |
| constructor from the interface More...
|
|
| PropertyMgr (const PropertyMgr &) |
|
virtual | ~PropertyMgr () |
| virtual destructor More...
|
|
PropertyMgr & | operator= (const PropertyMgr &) |
|
template<class TYPE > |
Property * | declareProperty (const std::string &name, TYPE &value, const std::string &doc="none") |
| Declare a property (templated) More...
|
|
template<class TYPE > |
Property * | declareProperty (const std::string &name, SimpleProperty< TYPE > &prop, const std::string &doc="none") |
| Declare a property (specialization) More...
|
|
template<class TYPE > |
Property * | declareProperty (const std::string &name, SimplePropertyRef< TYPE > &prop, const std::string &doc="none") |
| Declare a property (specialization) More...
|
|
template<class TYPE > |
Property * | declareProperty (const std::string &name, ToolHandle< TYPE > &ref, const std::string &doc="none") |
| Declare a property (specialization) More...
|
|
template<class TYPE > |
Property * | declareProperty (const std::string &name, ServiceHandle< TYPE > &ref, const std::string &doc="none") |
| Declare a property (specialization) More...
|
|
template<class TYPE > |
Property * | declareProperty (const std::string &name, ToolHandleArray< TYPE > &ref, const std::string &doc="none") |
| Declare a property (specialization) More...
|
|
template<class TYPE > |
Property * | declareProperty (const std::string &name, ServiceHandleArray< TYPE > &ref, const std::string &doc="none") |
| Declare a property (specialization) More...
|
|
Property * | declareRemoteProperty (const std::string &name, IProperty *rsvc, const std::string &rname="") |
| Declare a remote property. More...
|
|
StatusCode | setProperty (const Property &p) |
| set the property form another property More...
|
|
StatusCode | setProperty (const std::string &s) |
| set the property from the property formatted string More...
|
|
StatusCode | setProperty (const std::string &n, const std::string &v) |
| set the property from name and the value More...
|
|
StatusCode | getProperty (Property *p) const |
| get the property More...
|
|
const Property & | getProperty (const std::string &name) const |
| get the property by name More...
|
|
StatusCode | getProperty (const std::string &n, std::string &v) const |
| convert the property to the string More...
|
|
const std::vector< Property * > & | getProperties () const |
| get all properties More...
|
|
bool | hasProperty (const std::string &name) const |
| Return true if we have a property with the given name. More...
|
|
StatusCode | queryInterface (const InterfaceID &iid, void **pinterface) |
| Set the void** to the pointer to the requested interface of the instance. More...
|
|
| PropertyMgr (IInterface *iface=0) |
| constructor from the interface More...
|
|
| PropertyMgr (const PropertyMgr &) |
|
virtual | ~PropertyMgr () |
| virtual destructor More...
|
|
PropertyMgr & | operator= (const PropertyMgr &) |
|
template<class TYPE > |
Property * | declareProperty (const std::string &name, TYPE &value, const std::string &doc="none") |
| Declare a property (templated) More...
|
|
template<class TYPE > |
Property * | declareProperty (const std::string &name, SimpleProperty< TYPE > &prop, const std::string &doc="none") |
| Declare a property (specialization) More...
|
|
template<class TYPE > |
Property * | declareProperty (const std::string &name, SimplePropertyRef< TYPE > &prop, const std::string &doc="none") |
| Declare a property (specialization) More...
|
|
template<class TYPE > |
Property * | declareProperty (const std::string &name, ToolHandle< TYPE > &ref, const std::string &doc="none") |
| Declare a property (specialization) More...
|
|
template<class TYPE > |
Property * | declareProperty (const std::string &name, ServiceHandle< TYPE > &ref, const std::string &doc="none") |
| Declare a property (specialization) More...
|
|
template<class TYPE > |
Property * | declareProperty (const std::string &name, ToolHandleArray< TYPE > &ref, const std::string &doc="none") |
| Declare a property (specialization) More...
|
|
template<class TYPE > |
Property * | declareProperty (const std::string &name, ServiceHandleArray< TYPE > &ref, const std::string &doc="none") |
| Declare a property (specialization) More...
|
|
Property * | declareRemoteProperty (const std::string &name, IProperty *rsvc, const std::string &rname="") |
| Declare a remote property. More...
|
|
StatusCode | setProperty (const Property &p) |
| set the property form another property More...
|
|
StatusCode | setProperty (const std::string &s) |
| set the property from the property formatted string More...
|
|
StatusCode | setProperty (const std::string &n, const std::string &v) |
| set the property from name and the value More...
|
|
StatusCode | getProperty (Property *p) const |
| get the property More...
|
|
const Property & | getProperty (const std::string &name) const |
| get the property by name More...
|
|
StatusCode | getProperty (const std::string &n, std::string &v) const |
| convert the property to the string More...
|
|
const std::vector< Property * > & | getProperties () const |
| get all properties More...
|
|
bool | hasProperty (const std::string &name) const |
| Return true if we have a property with the given name. More...
|
|
StatusCode | queryInterface (const InterfaceID &iid, void **pinterface) |
| Set the void** to the pointer to the requested interface of the instance. More...
|
|
virtual | ~extend_interfaces1 () |
| Virtual destructor. More...
|
|
virtual | ~extend_interfaces1 () |
| Virtual destructor. More...
|
|
| DeclareInterfaceID (IProperty, 2, 1) |
| InterfaceID. More...
|
|
| DeclareInterfaceID (IProperty, 2, 1) |
| InterfaceID. More...
|
|
virtual void * | i_cast (const InterfaceID &) const =0 |
| main cast function More...
|
|
virtual std::vector< std::string > | getInterfaceNames () const =0 |
| Returns a vector of strings containing the names of all the implemented interfaces. More...
|
|
virtual unsigned long | addRef ()=0 |
| Increment the reference count of Interface instance. More...
|
|
virtual unsigned long | release ()=0 |
| Release Interface instance. More...
|
|
virtual unsigned long | refCount () const =0 |
| Current reference count. More...
|
|
virtual | ~IInterface () |
| Virtual destructor. More...
|
|
virtual void * | i_cast (const InterfaceID &) const =0 |
| main cast function More...
|
|
virtual std::vector< std::string > | getInterfaceNames () const =0 |
| Returns a vector of strings containing the names of all the implemented interfaces. More...
|
|
virtual unsigned long | addRef ()=0 |
| Increment the reference count of Interface instance. More...
|
|
virtual unsigned long | release ()=0 |
| Release Interface instance. More...
|
|
virtual unsigned long | refCount () const =0 |
| Current reference count. More...
|
|
virtual | ~IInterface () |
| Virtual destructor. More...
|
|
|
typedef implements1 | base_class |
| Typedef to this class. More...
|
|
typedef implements1 | base_class |
| Typedef to this class. More...
|
|
typedef extend_interfaces1< IProperty > | extend_interfaces_base |
| Typedef to the base of this class. More...
|
|
typedef extend_interfaces1< IProperty > | extend_interfaces_base |
| Typedef to the base of this class. More...
|
|
typedef extend_interfaces_base::ext_iids | interfaces |
| MPL set of all the implemented interfaces. More...
|
|
typedef extend_interfaces_base::ext_iids | interfaces |
| MPL set of all the implemented interfaces. More...
|
|
typedef IProperty::iid::iids::type | ext_iids |
| MPL set of interfaces extended by this one. More...
|
|
typedef IProperty::iid::iids::type | ext_iids |
| MPL set of interfaces extended by this one. More...
|
|
enum | Status {
SUCCESS = 1,
NO_INTERFACE,
VERSMISMATCH,
LAST_ERROR,
SUCCESS = 1,
NO_INTERFACE,
VERSMISMATCH,
LAST_ERROR
} |
| Return status. More...
|
|
enum | Status {
SUCCESS = 1,
NO_INTERFACE,
VERSMISMATCH,
LAST_ERROR,
SUCCESS = 1,
NO_INTERFACE,
VERSMISMATCH,
LAST_ERROR
} |
| Return status. More...
|
|
typedef Gaudi::InterfaceId< IInterface, 0, 0 > | iid |
| Interface ID. More...
|
|
typedef mpl::set1< iid > | ext_iids |
| Extra interfaces. More...
|
|
typedef Gaudi::InterfaceId< IInterface, 0, 0 > | iid |
| Interface ID. More...
|
|
typedef mpl::set1< iid > | ext_iids |
| Extra interfaces. More...
|
|
static const InterfaceID & | interfaceID () |
| Return an instance of InterfaceID identifying the interface. More...
|
|
static const InterfaceID & | interfaceID () |
| Return an instance of InterfaceID identifying the interface. More...
|
|
Property manager helper class.
This class is used by algorithms and services for helping to manage its own set of properties. It implements the IProperty interface.
- Author
- Paul Maley
-
David Quarrie
Definition at line 34 of file PropertyMgr.h.