ReflectedGlobalVariable registry

The ReflectedGlobalVariable registry indexes all the ReflectedGlobalVariables by their fully qualified name using '::' delimiters.


ENameSpaceError RegisterReflectedGlobalVariable(const ReflectedGlobalVariable* r, XTarget* target)

Register the given ReflectedGlobalVariable.

r must not be null and r->m_name must be a unique fully qualified name using '::' delimiters.

Possible return values of type ENameSpaceError :


void UnregisterReflectedGlobalVariable(const ReflectedGlobalVariable* r)

Unregister the given ReflectedGlobalVariable.

r must not be null and have been successfully registered before calling this function.


void WriteReflectedGlobalVariableRegistry(xostream& os)

Write out the entire registry to the given ostream


const ReflectedGlobalVariable* TryFindReflectedGlobalVariable(ConstStringZ fullyQualifiedName)

Returns nullptr on failure to find an entry with the given fully qualified name


const ReflectedGlobalVariable& FindReflectedGlobalVariable(ConstStringZ fullyQualifiedName)

Version that throws a ReflectedGlobalVariableNotFoundException if not found