public

Inheritance Graph

graph BT
	StaticData
	StaticData --> EReferenceCounter
	click StaticData "classEScript_1_1StaticData"
	click EReferenceCounter "classEScript_1_1EReferenceCounter"

Description

Container for static variables shared among several UserFunctions.

Public Functions

   
   
uint32_t declareStaticVariable(const StringId & name)
   
const std::vector< StringId > & getStaticVariableNames() const
   
const std::vector< ObjRef > & getStaticVariableValues() const
   
bool updateStaticVariable(uint32_t index, Object * value)

Documentation

function
EScript::StaticData::declareStaticVariable

public inline
     
     
uint32_t declareStaticVariable( const StringId & name )

Defined in EScript/EScript/Objects/Callables/UserFunction.h:25


function
EScript::StaticData::getStaticVariableNames

public const inline
   
   
const std::vector< StringId > & getStaticVariableNames( ) const

Defined in EScript/EScript/Objects/Callables/UserFunction.h:30


function
EScript::StaticData::getStaticVariableValues

public const inline
   
   
const std::vector< ObjRef > & getStaticVariableValues( ) const

Defined in EScript/EScript/Objects/Callables/UserFunction.h:31


function
EScript::StaticData::updateStaticVariable

public inline
     
     
bool updateStaticVariable( uint32_t index,
  Object * value
)    

Defined in EScript/EScript/Objects/Callables/UserFunction.h:32