Inheritance Graph
graph BT
ReferenceObject
ReferenceObject --> Object
click ReferenceObject "classEScript_1_1ReferenceObject"
click Object "classEScript_1_1Object"
Description
[ ReferenceObject ] |
> [ Object ] A ReferenceObject can be used as wrapper for user defined C++ objects. The encapsulated data can be an object, a pointer or a smart reference and is defined by the first template parameter. |
The second template parameter defines how two instances are compared during an test for equality. If the default value ‘ Policies::EqualContent_ComparePolicy ‘ is used, the two referenced values are compared using their ‘==’-operator (which has to be defined for the values’s type). If ‘Policies::SameEObjects’ is used, the pointers of the two compared ReferenceObject are used for equality testing. The latter can be used if the values is an object (and not a reference) and the this object does not define a ‘==’ operator.
Public Types
Public Functions
Documentation
typedef
EScript::ReferenceObject::ReferenceObject_t
Defined in EScript/EScript/Objects/ReferenceObject.h:50
function
EScript::ReferenceObject::ReferenceObject
(ctor) Uses referenced object’s default constructor.
Defined in EScript/EScript/Objects/ReferenceObject.h:55
function
EScript::ReferenceObject::ReferenceObject
|
|
|
template< typename other_type_t , typename = typename std::enable_if<std::is_convertible<other_type_t, _T>:: value >::type > |
|
|
ReferenceObject( |
other_type_t && |
otherObject, |
|
Type * |
type |
) |
|
|
(ctor) Passes a reference or rvalue reference to the object’s constructor (if possible)
Defined in EScript/EScript/Objects/ReferenceObject.h:61
function
EScript::ReferenceObject::ReferenceObject
(ctor) Passes arbitrary parameters to the object’s constructor.
Defined in EScript/EScript/Objects/ReferenceObject.h:67
function
EScript::ReferenceObject::~ReferenceObject
Defined in EScript/EScript/Objects/ReferenceObject.h:71
function
EScript::ReferenceObject::ref
Defined in EScript/EScript/Objects/ReferenceObject.h:73
function
EScript::ReferenceObject::ref
Defined in EScript/EScript/Objects/ReferenceObject.h:74
function
EScript::ReferenceObject::operator*
Defined in EScript/EScript/Objects/ReferenceObject.h:76
function
EScript::ReferenceObject::operator*
Defined in EScript/EScript/Objects/ReferenceObject.h:77
function
EScript::ReferenceObject::clone
public |
const |
inline |
virtual |
> [ Object ] Direct cloning of a ReferenceObject is forbidden; but you may override the clone function in the specific implementation |
Defined in EScript/EScript/Objects/ReferenceObject.h:81
function
EScript::ReferenceObject::rt_isEqual
Defined in EScript/EScript/Objects/ReferenceObject.h:86