public

Inheritance Graph

graph BT
	ExtReferenceObject
	ExtReferenceObject --> Object
	click ExtReferenceObject "classEScript_1_1ExtReferenceObject"
	click Object "classEScript_1_1Object"

Description

[ ExtReferenceObject ] > [ Object ] A Ext(entable) ReferenceObject can be used as wrapper for user defined C++ objects that can be enriched by user defined attributes. For a description how the C++-object is handled and how the comparisonPolicy works,

See also: ReferenceObject.h The way the AttributeContainer is stored is controlled by the

Parameters

attributeProvider.

Reference

   
   
const _T & ref() const
   
_T & ref()
   
const _T & operator*() const
   
_T & operator*()

Attributes

     
     
Attribute * _accessAttribute(const StringId & id, bool localOnly)
> [ Object ]
     
void _initAttributes( Runtime & rt)
> [ Object ]
     
bool setAttribute(const StringId & id, const Attribute & attr)
> [ Object ]
     
void collectLocalAttributes(std::unordered_map< StringId , Object * > & attrs)
> [ Object ]

Public Types

   
   
typedef ExtReferenceObject < _T, comparisonPolicy, attributeProvider > ExtReferenceObject_t

Public Functions

     
     
  ExtReferenceObject(const _T & _obj, Type * type)
(ctor)
 
template< typename… args >    
  ExtReferenceObject( Type * type, args &&… params)
(ctor) Passes arbitrary parameters to the object’s constructor.
 
     
  ~ExtReferenceObject()  
     
ExtReferenceObject_t * clone() const  
     
bool rt_isEqual( Runtime & void, const ObjPtr & o)
> [ Object ]

Documentation

function
EScript::ExtReferenceObject::ref

public const inline
   
   
const _T & ref( ) const

Defined in EScript/EScript/Objects/ExtReferenceObject.h:89


function
EScript::ExtReferenceObject::ref

public inline
   
   
_T & ref( )

Defined in EScript/EScript/Objects/ExtReferenceObject.h:90


function
EScript::ExtReferenceObject::operator*

public const inline
   
   
const _T & operator*( ) const

Defined in EScript/EScript/Objects/ExtReferenceObject.h:91


function
EScript::ExtReferenceObject::operator*

public inline
   
   
_T & operator*( )

Defined in EScript/EScript/Objects/ExtReferenceObject.h:92


function
EScript::ExtReferenceObject::_accessAttribute

public inline virtual
     
     
Attribute * _accessAttribute( const StringId & id,
  bool localOnly
)    
> [ Object ]

Defined in EScript/EScript/Objects/ExtReferenceObject.h:109


function
EScript::ExtReferenceObject::_initAttributes

public inline virtual
     
     
void _initAttributes( Runtime & rt )
> [ Object ]

Defined in EScript/EScript/Objects/ExtReferenceObject.h:116


function
EScript::ExtReferenceObject::setAttribute

public inline virtual
     
     
bool setAttribute( const StringId & id,
  const Attribute & attr
)    
> [ Object ]

Defined in EScript/EScript/Objects/ExtReferenceObject.h:124


function
EScript::ExtReferenceObject::collectLocalAttributes

public inline virtual
     
     
void collectLocalAttributes( std::unordered_map< StringId , Object * > & attrs )
> [ Object ]

Defined in EScript/EScript/Objects/ExtReferenceObject.h:130


typedef
EScript::ExtReferenceObject::ExtReferenceObject_t

public
 
 
typedef ExtReferenceObject < _T, comparisonPolicy, attributeProvider > ExtReferenceObject_t

Defined in EScript/EScript/Objects/ExtReferenceObject.h:54


function
EScript::ExtReferenceObject::ExtReferenceObject

public inline
     
     
ExtReferenceObject( const _T & _obj,
  Type * type
)    

(ctor)

Defined in EScript/EScript/Objects/ExtReferenceObject.h:58


function
EScript::ExtReferenceObject::ExtReferenceObject

public inline explicit
     
template< typename… args >    
ExtReferenceObject( Type * type,
  args &&… params
)    

(ctor) Passes arbitrary parameters to the object’s constructor.

Defined in EScript/EScript/Objects/ExtReferenceObject.h:65


function
EScript::ExtReferenceObject::~ExtReferenceObject

public inline virtual
   
   
~ExtReferenceObject( )

Defined in EScript/EScript/Objects/ExtReferenceObject.h:71


function
EScript::ExtReferenceObject::clone

public const inline virtual
   
   
ExtReferenceObject_t * clone( ) const
> [ Object ] Direct cloning of a ExtReferenceObject is forbidden; but you may override the clone function in the specific implementation

Defined in EScript/EScript/Objects/ExtReferenceObject.h:76


function
EScript::ExtReferenceObject::rt_isEqual

public inline virtual
     
     
bool rt_isEqual( Runtime & void,
  const ObjPtr & o
)    
> [ Object ]

Defined in EScript/EScript/Objects/ExtReferenceObject.h:81