|
| template<class T = StorageType> |
| | Property (std::string name, T &&value, std::string doc="", std::string semantics="") |
| | the constructor with property name, value and documentation. More...
|
| |
| template<typename OWNER , typename T = ValueType, typename = std::enable_if_t<std::is_base_of_v<IProperty, OWNER>>, typename = std::enable_if_t<std::is_default_constructible_v<T>>> |
| | Property (OWNER *owner, std::string name) |
| | Autodeclaring constructor with property name, value and documentation. More...
|
| |
| template<class OWNER , class T = StorageType, typename = std::enable_if_t<std::is_base_of_v<IProperty, OWNER>>> |
| | Property (OWNER *owner, std::string name, T &&value, std::string doc="", std::string semantics="") |
| | Autodeclaring constructor with property name, value and documentation. More...
|
| |
| template<class OWNER , class T = StorageType, typename = std::enable_if_t<std::is_base_of_v<IProperty, OWNER>>> |
| | Property (OWNER *owner, std::string name, T &&value, std::function< void(PropertyBase &)> handler, std::string doc="", std::string semantics="") |
| | Autodeclaring constructor with property name, value, updateHandler and documentation. More...
|
| |
| template<class OWNER , class T = StorageType, typename = std::enable_if_t<std::is_base_of_v<IProperty, OWNER>>> |
| | Property (OWNER *owner, std::string name, T &&value, void(OWNER::*handler)(PropertyBase &), std::string doc="", std::string semantics="") |
| | Autodeclaring constructor with property name, value, pointer to member function updateHandler and documentation. More...
|
| |
| template<class OWNER , class T = StorageType, typename = std::enable_if_t<std::is_base_of_v<IProperty, OWNER>>> |
| | Property (OWNER *owner, std::string name, T &&value, void(OWNER::*handler)(), std::string doc="", std::string semantics="") |
| | Autodeclaring constructor with property name, value, pointer to member function updateHandler and documentation. More...
|
| |
| template<class OWNER , class T = StorageType, typename = std::enable_if_t<std::is_base_of_v<IProperty, OWNER>>> |
| | Property (OWNER *owner, std::string name, T &&value, std::function< void(PropertyBase &)> handler, Details::Property::ImmediatelyInvokeHandler invoke, std::string doc="", std::string semantics="") |
| | Autodeclaring constructor with property name, value, updateHandler and documentation. More...
|
| |
| template<typename T , typename = not_copying<T>> |
| | Property (T &&v) |
| | Construct an anonymous property from a value. More...
|
| |
| template<typename T = StorageType, typename = std::enable_if_t<!std::is_reference_v<T>>> |
| | Property () |
| | Construct an anonymous property with default constructed value. More...
|
| |
| Details::PropertyBase & | declareReadHandler (std::function< void(Details::PropertyBase &)> fun) override |
| | set new callback for reading More...
|
| |
| Details::PropertyBase & | declareUpdateHandler (std::function< void(Details::PropertyBase &)> fun) override |
| | set new callback for update More...
|
| |
| const std::function< void(Details::PropertyBase &)> | readCallBack () const override |
| | get a reference to the readCallBack More...
|
| |
| const std::function< void(Details::PropertyBase &)> | updateCallBack () const override |
| | get a reference to the updateCallBack More...
|
| |
| bool | useUpdateHandler () override |
| | manual trigger for callback for update More...
|
| |
| | operator const ValueType & () const |
| | Automatic conversion to value (const reference). More...
|
| |
| template<typename Dummy = TYPE, typename = std::enable_if_t<std::is_constructible_v<std::string_view, Dummy>>> |
| | operator std::string_view () const |
| |
| std::ostream & | fillStream (std::ostream &stream) const override |
| | Properly quote string properties when printing them. More...
|
| |
| | operator std::string_view () const |
| |
| template<class T > |
| bool | operator== (const T &other) const |
| | equality comparison More...
|
| |
| template<class T > |
| bool | operator!= (const T &other) const |
| | inequality comparison More...
|
| |
| template<class T > |
| bool | operator< (const T &other) const |
| | "less" comparison More...
|
| |
| template<class T = ValueType> |
| Property & | operator= (T &&v) |
| | Assignment from value. More...
|
| |
| const VerifierType & | verifier () const |
| | Accessor to verifier. More...
|
| |
| VerifierType & | verifier () |
| | Accessor to verifier. More...
|
| |
| template<class... Args> |
| decltype( | operator() (Args &&... args) const noexcept(noexcept(std::declval< ValueType >()(std::declval< Args && >()...))) std::declval< ValueType >()(std::declval< Args && >()...)) |
| |
| bool | assign (const Details::PropertyBase &source) override |
| | get the value from another property More...
|
| |
| bool | load (Details::PropertyBase &dest) const override |
| | set value to another property More...
|
| |
| StatusCode | fromString (const std::string &source) override |
| | string -> value More...
|
| |
| std::string | toString () const override |
| | value -> string More...
|
| |
| void | toStream (std::ostream &out) const override |
| | value -> stream More...
|
| |
|
| const ValueType & | value () const |
| | Backward compatibility (. More...
|
| |
| ValueType & | value () |
| |
| bool | setValue (const ValueType &v) |
| |
| bool | set (const ValueType &v) |
| |
| Details::PropertyBase * | clone () const override |
| | clones the current property More...
|
| |
|
They are instantiated only if they are implemented in the wrapped class.
|
| template<class = ValueType> |
| Property & | operator++ () |
| |
| template<class = ValueType> |
| ValueType | operator++ (int) |
| |
| template<class = ValueType> |
| Property & | operator-- () |
| |
| template<class = ValueType> |
| ValueType | operator-- (int) |
| |
| template<class T = ValueType> |
| Property & | operator+= (const T &other) |
| |
| template<class T = ValueType> |
| Property & | operator-= (const T &other) |
| |
| const std::string | name () const |
| | property name More...
|
| |
| std::string | documentation () const |
| | property documentation More...
|
| |
| std::string | semantics () const |
| | property semantics More...
|
| |
| const std::type_info * | type_info () const |
| | property type-info More...
|
| |
| std::string | type () const |
| | property type More...
|
| |
| template<class HT > |
| PropertyBase & | declareReadHandler (void(HT::*MF)(PropertyBase &), HT *instance) |
| |
| template<class HT > |
| PropertyBase & | declareUpdateHandler (void(HT::*MF)(PropertyBase &), HT *instance) |
| |
| virtual | ~PropertyBase () |
| | virtual destructor More...
|
| |
| void | setName (std::string value) |
| | set the new value for the property name More...
|
| |
| void | setDocumentation (std::string value) |
| | set the documentation string More...
|
| |
| void | setSemantics (std::string value) |
| | set the semantics string More...
|
| |
| void | setOwnerType (const std::type_info &ownerType) |
| | set the type of the owner class (used for documentation) More...
|
| |
| template<class OWNER > |
| void | setOwnerType () |
| | set the type of the owner class (used for documentation) More...
|
| |
| const std::type_info * | ownerType () const |
| | get the type of the owner class (used for documentation) More...
|
| |
| std::string | ownerTypeName () const |
| | get the string for the type of the owner class (used for documentation) More...
|
| |
template<class TYPE, class VERIFIER = Details::Property::NullVerifier, class HANDLERS = Details::Property::UpdateHandler>
class Gaudi::Property< TYPE, VERIFIER, HANDLERS >
Implementation of property with value of concrete type.
- Author
- Vanya BELYAEV ibely.nosp@m.aev@.nosp@m.physi.nosp@m.cs.s.nosp@m.yr.ed.nosp@m.u
- Date
- 2006-02-27
- Author
- Marco Clemencic
- Date
- 2016-06-16
Definition at line 39 of file Property.h.