Clarisse 4.0 SP9 SDK  4.0.0.0.9
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | Static Public Member Functions | List of all members
CoreClassInfo Class Reference

Public Types

typedef void(* RegClass )(CoreClassInfo &)
 
typedef bool(* Destructor )(void *instance, const bool &is_array)
 

Public Member Functions

 CoreClassInfo (const char *class_name, Destructor destructor, const CoreClassInfo *base_class_info=nullptr, RegClass register_class=nullptr)
 
const char * get_name () const
 
const unsigned long & get_id () const
 
const unsigned int & get_index () const
 
bool is_base_class () const
 
const CoreClassInfoget_base_class_info () const
 
bool is_kindof (const CoreClassInfo &cinfo) const
 
bool operator== (const CoreClassInfo &info) const
 
bool operator!= (const CoreClassInfo &info) const
 
const CoreVector
< CoreClassInfo * > & 
get_children_info () const
 
bool is_creatable () const
 
bool is_destroyable () const
 
bool destroy (void *instance, const bool &is_array=false) const
 
const CoreVector
< CoreConstructorInfo * > & 
get_constructors () const
 
CoreVector
< CoreConstructorInfo * > & 
get_constructors ()
 
CoreConstructorInfoadd_constructor (CoreConstructorInfo::Constructor constructor)
 
const CoreVector
< CoreMethodInfo * > & 
get_methods () const
 
CoreVector< CoreMethodInfo * > & get_methods ()
 
CoreMethodInfoadd_method (CoreMethodInfo::Method method, const char *name, const CoreMethodInfo::Type &type, const char *return_type=nullptr)
 
const CoreVector< CoreEnumInfo * > & get_enums () const
 
CoreVector< CoreEnumInfo * > & get_enums ()
 
CoreEnumInfoadd_enum (const char *name)
 
void log (const bool &log_children=true) const
 
void get_interface (CoreString &name) const
 

Static Public Member Functions

static CoreClassInfois_class_exists (const CoreString &class_name)
 
static CoreClassInfois_class_exists (const char *class_name)
 
static CoreClassInfoget_class (const CoreString &class_name)
 
static CoreClassInfonew_class (const char *class_name, Destructor destructor, const CoreClassInfo *base_class_info=nullptr, RegClass register_class=nullptr)
 
static void get_classes (CoreArray< CoreString > &classes)
 
static void get_classes (CoreArray< CoreClassInfo * > &classes)
 
static CoreClassInfoget_class_by_index (const unsigned int &index)
 
static unsigned int get_class_count ()
 
static CoreEnumInfois_enum_exists (const CoreString &enum_name)
 
static CoreEnumInfoget_enum (const CoreString &enum_name)
 
static void get_enums (CoreArray< CoreString > &enums)
 
static void get_enums (CoreArray< CoreEnumInfo * > &enums)