84 RuntimeType::RuntimeTypeCreateCB *
createCB,
141 RuntimeType::RuntimeTypeCreateCB* callback);
RuntimeType contains type and inheritance information of a class and a static dictionary with informa...
This class contains the runtime system of the ML.
static void init()
Initializes runtime type dictionary.
static std::vector< const RuntimeType * > getAllDerivedFrom(const RuntimeType *parentType, bool onlyFromDifferentDlls=false)
Returns a list of all runtime types derived from parentType.
static const char * getRecentlyLoadedDllName()
Returns the name of the most recently loaded dll.
static std::vector< const RuntimeType * > getAllTypes()
Returns all types that are registered in the typesystem.
static void destroyRuntimeTypesOfDll(const char *dllName)
Deletes all RuntimeTypes from the runtime dictionary which belong to the the dll with name dllName.
static void destroy()
Destroys runtime type dictionary.
static const RuntimeType * badType()
Returns a global badtype instance of RuntimeType.
static void setRecentlyLoadedDllName(const char *name)
Sets the name of the most recently loaded dll.
static const char * _getCheckedTypeIdName(const RuntimeType *classType, const char *className)
Helper function for the runtime interface in Runtime-derived classes to perform some check without ha...
static const RuntimeType * fromName(const char *name)
Returns the (runtime)type of a class given by its name using the runtime type dictionary.
static void destroyType(const char *name)
Destroys a dictionary entry with a given name.
static const RuntimeType * initType(const RuntimeType *classType, const char *parentName, const char *classPrefix, const char *className, RuntimeType::RuntimeTypeCreateCB *createCB, const char *classNameReplacement=nullptr)
Initializes a new type and tests for double init call.
static const RuntimeType * createType(const char *parentName, const char *name, RuntimeType::RuntimeTypeCreateCB *callback)
Creates a new (runtime)type, representing a class with parent class name parentName,...
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
#define ML_UTILS_EXPORT
Defines platform dependent DLL export macro for mlUtils.