ReflectedTypedef registry

The ReflectedTypedef registry indexes all the ReflectedTypedefs by their fully qualified name using '::' delimiters.


ENameSpaceError RegisterReflectedTypedef(const ReflectedTypedef* r, XTarget* target)

Register the given ReflectedTypedef.

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 UnregisterReflectedTypedef(const ReflectedTypedef* r)

Unregister the given ReflectedTypedef.

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


void WriteReflectedTypedefRegistry(xostream& os)

Write out the entire registry to the given ostream


const ReflectedTypedef* TryFindReflectedTypedef(ConstStringZ fullyQualifiedName)

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


const ReflectedTypedef& FindReflectedTypedef(ConstStringZ fullyQualifiedName)

Version that throws a ReflectedTypedefNotFoundException if not found