ObjectType

class ReflectExport(reflect) ObjectType : public Type
Summary
ObjectType
Types
Annotations
AnnotationMapA map of annotations for the class by name.
Functions
RegisterFunctionAdds the function to the function map.
FunctionsConst accessor for the class <FunctionMap>.
FunctionsAccessor for the class <FunctionMap>.
FindFunctionFinds a function in this class’ <FunctionMap> or a parent class.
FindFunctionFinds a function in this class’ <FunctionMap> or a parent class.
Members
mFunctionsThe map of functions registered on this type.
ObjectType::FunctionIterator

Types

Annotations

typedef std::map<string::SharedString, Variant> Annotations

AnnotationMap

typedef std::map<string::SharedString, Annotations *> AnnotationMap

A map of annotations for the class by name.  The map only contains annotations registered on this class directly, and not inherited properties.

Annotations for properties are stored in the map by name.  Annotations for the class are stored in the map with the empty string as the key.

Functions

RegisterFunction

void RegisterFunction(const char *name,
const function::Function *)

Adds the function to the function map.

Functions

Const accessor for the class <FunctionMap>.

Functions

FunctionMap &Functions()

Accessor for the class <FunctionMap>.

FindFunction

const function::Function *FindFunction(string::Fragment name) const

Finds a function in this class’ <FunctionMap> or a parent class.

FindFunction

const function::Function*FindFunction(string::SharedString name) const

Finds a function in this class’ <FunctionMap> or a parent class.  The SharedString name should be in the global string stack.

Members

mFunctions

FunctionMap *mFunctions

The map of functions registered on this type.

ObjectType::FunctionIterator

class ReflectExport(reflect) ObjectType::FunctionIterator
class ReflectExport(reflect) ObjectType : public Type
typedef std::map<string::SharedString, Variant> Annotations
typedef std::map<string::SharedString, Annotations *> AnnotationMap
A map of annotations for the class by name.
void RegisterFunction(const char *name,
const function::Function *)
Adds the function to the function map.
FunctionMap &Functions()
Accessor for the class FunctionMap.
const function::Function *FindFunction(string::Fragment name) const
Finds a function in this class’ FunctionMap or a parent class.
FunctionMap *mFunctions
The map of functions registered on this type.
class ReflectExport(reflect) ObjectType::FunctionIterator
SharedStrings are like ConstStrings except their string pointers are guaranteed to be one-one with their data.
Close