ThePEG 2.3.0
|
Public Member Functions | |
ReferenceHolder () | |
The default constructor. | |
ReferenceHolder (T &v) | |
Construct from given reference. | |
virtual const std::type_info & | type () const |
Return the type held. | |
virtual ReferenceHolderBase * | clone () const |
Clone this reference holder. | |
Public Member Functions inherited from ThePEG::AnyReference::ReferenceHolderBase | |
virtual | ~ReferenceHolderBase () |
The destructor. | |
virtual const std::type_info & | type () const =0 |
Return the type held. | |
virtual ReferenceHolderBase * | clone () const =0 |
Clone this reference holder. | |
Static Public Member Functions | |
static T & | init () |
Static member to initialize the reference. | |
Public Attributes | |
T & | value |
The reference held. | |
Definition at line 44 of file AnyReference.h.
|
inline |
The default constructor.
Definition at line 62 of file AnyReference.h.
Referenced by ThePEG::AnyReference::ReferenceHolder< T >::clone().
|
inlineexplicit |
Construct from given reference.
Definition at line 68 of file AnyReference.h.
|
inlinevirtual |
Clone this reference holder.
Implements ThePEG::AnyReference::ReferenceHolderBase.
Definition at line 81 of file AnyReference.h.
References ThePEG::AnyReference::ReferenceHolder< T >::ReferenceHolder().
|
inlinestatic |
Static member to initialize the reference.
Definition at line 55 of file AnyReference.h.
Referenced by ThePEG::AnyReference::cast().
|
inlinevirtual |
Return the type held.
Implements ThePEG::AnyReference::ReferenceHolderBase.
Definition at line 74 of file AnyReference.h.
T& ThePEG::AnyReference::ReferenceHolder< T >::value |
The reference held.
Definition at line 50 of file AnyReference.h.