ReflectedClass registry

The ReflectedClass registry indexes all the ReflectedClasss by their fully qualified name using '::' delimiters.


ENameSpaceError RegisterReflectedClass(const ReflectedClass* r, XTarget* target)

Register the given ReflectedClass.

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 UnregisterReflectedClass(const ReflectedClass* r)

Unregister the given ReflectedClass.

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


void WriteReflectedClassRegistry(xostream& os)

Write out the entire registry to the given ostream


const ReflectedClass* TryFindReflectedClass(ConstStringZ fullyQualifiedName)

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


const ReflectedClass& FindReflectedClass(ConstStringZ fullyQualifiedName)

Version that throws a ReflectedClassNotFoundException if not found