Inheritance Graph
graph BT
StoreAttrsInEObject_Policy
click StoreAttrsInEObject_Policy "classEScript_1_1Policies_1_1StoreAttrsInEObject__Policy"
Description
Policy for locating an ExtRefernceObject’s attribute storage. Use this policy to directly store the AttributeContainer inside the ExtReferenceObject . Alternative implementations could e.g. store the attributeContainer as user data at the referenced object.
Protected Static Functions
Documentation
function
EScript::Policies::StoreAttrsInEObject_Policy::getAttributeContainer
(static) Returns a pointer to the object’s attributeContainer. If
Parameters
- create
- is ‘false’ and the object has no attributeContainer, the function returns nullptr. If
- create
- is ‘true’ and no attributeContainer exists, a new one is created, so that always an valid container is returned.
Defined in EScript/EScript/Objects/ExtReferenceObject.h:30
function
EScript::Policies::StoreAttrsInEObject_Policy::areObjAttributesInitialized
(static) Should return true iff the object’s Type ‘s attributes are already initialized with the object’s attributeContainer. This function is only called by the ExtReferenceObject ‘s constructor. As for this specific policy, the attributeContainer has always just been created then, it can not already been initialized.
Defined in EScript/EScript/Objects/ExtReferenceObject.h:38