Inheritance diagram for SyntacticDecorator:
Public Member Functions | |
const S & | set () const |
Virtual accessor to the structural element. | |
template<typename OtherS, typename U> Element< S, T > & | operator+= (const Element< OtherS, U > &other) |
self addition between Element instances. Maps to op_in_add . | |
template<typename U> Element< S, T > & | operator+= (const U &other) |
self addition between Element and foreign values. Maps to op_in_add . | |
template<typename OtherS, typename U> Element< S, T > & | operator-= (const Element< OtherS, U > &other) |
self substraction between Element instances. Maps to op_in_sub . | |
template<typename U> Element< S, T > & | operator-= (const U &other) |
self substraction between Element and foreign values. Maps to op_in_sub . | |
template<typename OtherS, typename U> Element< S, T > & | operator/= (const Element< OtherS, U > &other) |
self division between Element instances. Maps to op_in_div . | |
template<typename U> Element< S, T > & | operator/= (const U &other) |
self division between Element and foreign values. Maps to op_in_div . | |
template<typename OtherS, typename U> Element< S, T > & | operator *= (const Element< OtherS, U > &other) |
self multiplication between Element instances. Maps to op_in_mul . | |
template<typename U> Element< S, T > & | operator *= (const U &other) |
self multiplication between Element and foreign values. Maps to op_in_mul . | |
template<typename OtherS, typename U> Element< S, T > & | operator%= (const Element< OtherS, U > &other) |
self modulus between Element instances. Maps to op_in_mod . | |
template<typename U> Element< S, T > & | operator%= (const U &other) |
self modulus between Element and foreign values. Maps to op_in_mod . | |
Element< S, T > & | operator++ () |
In-place, prefix incrementation. Maps to op_in_inc . | |
Element< S, T > | operator++ (int) |
Postfix incrementation. Maps to op_in_dec , with Element copy. | |
Element< S, T > & | operator-- () |
In-place, prefix decrementation. Maps to op_in_dec . | |
Element< S, T > | operator-- (int) |
Postfix decrementation. Maps to op_in_dec , with Element copy. | |
template<typename U> Element< S, T > & | swap (Element< S, U > &other) |
Standard constant-time swap between Element instances. Maps to op_swap . | |
T & | value () |
Virtual accessor to value data. | |
const T & | value () const |
Virtual accessor to value data. | |
Element< S, T > & | self () |
Accessor to the real type. | |
const Element< S, T > & | self () const |
Accessor to the real type. | |
Static Public Attributes | |
const bool | dynamic_value = true |
Attribute indicating whether the implementation type has run-time data. | |
Protected Member Functions | |
SyntacticDecorator () | |
Protected constructor for class abstraction. | |
SyntacticDecorator (const SyntacticDecorator &other) | |
Protected constructor for class abstraction. |
It defines all the self-application operators of C++, and delegates them to corresponding op_*
functions.
|
Accessor to the real type. This accessor is intended to be used by implementations in this class and derivated MetaElement specializations to obtain a reference to the Element instance with its most derivated type. |
|
Accessor to the real type. This accessor is intended to be used by implementations in this class and derivated MetaElement specializations to obtain a reference to the Element instance with its most derivated type. |