Inheritance Graph
graph BT
WrapperAttribute
WrapperAttribute --> GenericAttribute
click WrapperAttribute "classUtil_1_1WrapperAttribute"
click GenericAttribute "classUtil_1_1GenericAttribute"
Description
Generic attribute that stores the copy of an arbitrary value.
Note: As the value is not assumed to have an ‘==’ operator, the result of the ‘==’ operator of two WrapperAttributes is always false!
Public Types
Public Functions
Documentation
typedef
Util::WrapperAttribute::attr_t
Defined in Util/GenericAttribute.h:221
function
Util::WrapperAttribute::WrapperAttribute
Defined in Util/GenericAttribute.h:223
function
Util::WrapperAttribute::WrapperAttribute
Defined in Util/GenericAttribute.h:225
function
Util::WrapperAttribute::WrapperAttribute
Defined in Util/GenericAttribute.h:226
function
Util::WrapperAttribute::WrapperAttribute
|
|
|
template< typename firstArg_t , typename… args, typename = typename std::enable_if<!std::is_convertible<firstArg_t, const attr_t &>::value && !std::is_convertible<firstArg_t, attr_t &&>::value>::type > |
|
|
WrapperAttribute( |
firstArg_t && |
param1, |
|
args &&… |
params |
) |
|
|
Forwarding constructor.
Defined in Util/GenericAttribute.h:231
function
Util::WrapperAttribute::~WrapperAttribute
Defined in Util/GenericAttribute.h:235
function
Util::WrapperAttribute::get
|
|
|
|
const Type & get( |
) const |
Return the stored value.
Returns
The value
Defined in Util/GenericAttribute.h:243
function
Util::WrapperAttribute::ref
Return a reference to the stored value.
Returns
Reference to the value
Defined in Util/GenericAttribute.h:250
function
Util::WrapperAttribute::ref
|
|
|
|
const Type & ref( |
) const |
Return a constant reference to the stored value.
Returns
Constant reference to the value
Defined in Util/GenericAttribute.h:257
function
Util::WrapperAttribute::clone
public |
const |
inline |
virtual |
If the wrapped value is copy-constructible, a copy is returned. Otherwise, a std::logic_error is thrown.
Defined in Util/GenericAttribute.h:261
function
Util::WrapperAttribute::operator*
Defined in Util/GenericAttribute.h:263
function
Util::WrapperAttribute::operator*
Defined in Util/GenericAttribute.h:264
function
Util::WrapperAttribute::operator=
Copy from another object.
Defined in Util/GenericAttribute.h:268
function
Util::WrapperAttribute::operator=
Defined in Util/GenericAttribute.h:273