|
| | DeclareInterfaceID (IProperty, 3, 0) |
| | InterfaceID.
|
| |
| StatusCode | setProperty (const Gaudi::Details::PropertyBase &p) |
| | Set the property from a property.
|
| |
| virtual StatusCode | setProperty (const std::string &name, const Gaudi::Details::PropertyBase &p)=0 |
| | Set the property from a property with a different name.
|
| |
| virtual StatusCode | setProperty (const std::string &s)=0 |
| | Set the property by string.
|
| |
| virtual StatusCode | setPropertyRepr (const std::string &n, const std::string &r)=0 |
| | Set the property by name and value representation.
|
| |
| StatusCode | setProperty (const std::string &name, const char *v) |
| | Special case for string literals.
|
| |
| StatusCode | setProperty (const std::string &name, const std::string &v) |
| | Special case for std::string.
|
| |
template<class TYPE>
requires ( !std::is_base_of_v<Gaudi::Details::PropertyBase, TYPE> ) |
| StatusCode | setProperty (const std::string &name, const TYPE &value) |
| | set the property form the value
|
| |
| virtual StatusCode | getProperty (Gaudi::Details::PropertyBase *p) const =0 |
| | Get the property by property.
|
| |
| virtual const Gaudi::Details::PropertyBase & | getProperty (std::string_view name) const =0 |
| | Get the property by name.
|
| |
| virtual StatusCode | getProperty (std::string_view n, std::string &v) const =0 |
| | Get the property by std::string.
|
| |
| virtual const std::vector< Gaudi::Details::PropertyBase * > & | getProperties () const =0 |
| | Get list of properties.
|
| |
| virtual bool | hasProperty (std::string_view name) const =0 |
| | Return true if we have a property with the given name.
|
| |
| template<Gaudi::IsInterface TARGET> |
| TARGET * | cast () |
| |
| template<Gaudi::IsInterface TARGET> |
| TARGET const * | cast () const |
| |
template<typename TARGET>
requires ( !Gaudi::IsInterface<TARGET> ) |
| TARGET * | cast () |
| |
template<typename TARGET>
requires ( !Gaudi::IsInterface<TARGET> ) |
| TARGET const * | cast () const |
| |
| virtual std::vector< std::string > | getInterfaceNames () const =0 |
| | Returns a vector of strings containing the names of all the implemented interfaces.
|
| |
| virtual unsigned long | addRef () const =0 |
| | Increment the reference count of Interface instance.
|
| |
| virtual unsigned long | release () const =0 |
| | Release Interface instance.
|
| |
| virtual unsigned long | refCount () const =0 |
| | Current reference count.
|
| |
| virtual StatusCode | queryInterface (const InterfaceID &ti, void **pp)=0 |
| | Set the void** to the pointer to the requested interface of the instance.
|
| |
| virtual | ~IInterface ()=default |
| | Virtual destructor.
|
| |
| virtual void const * | i_cast (const InterfaceID &) const =0 |
| |
| void * | i_cast (const InterfaceID &iid) |
| |
The IProperty is the basic interface for all components which have properties that can be set or get.
- Author
- Paul Maley
-
Pere Mato
- Date
- 29/10/98
Definition at line 32 of file IProperty.h.