#include <opennurbs_object.h>
Public Member Functions | |
const ON_ClassId * | BaseClass () const |
const char * | BaseClassName () const |
unsigned int | ClassIdVersion () const |
const char * | ClassName () const |
ON_Object * | Create () const |
ON_BOOL32 | IsDerivedFrom (const ON_ClassId *potential_parent) const |
int | Mark () const |
ON_ClassId (const char *sClassName, const char *sBaseClassName, ON_Object *(*create)(), const char *sUUID) | |
ON_ClassId (const char *sClassName, const char *sBaseClassName, ON_Object *(*create)(), bool(*copy)(const ON_Object *, ON_Object *), const char *sUUID) | |
ON_UUID | Uuid () const |
~ON_ClassId () | |
Static Public Member Functions | |
static const ON_ClassId * | ClassId (const char *sClassName) |
static const ON_ClassId * | ClassId (ON_UUID class_uuid) |
static int | CurrentMark () |
static void | Dump (ON_TextLog &dump) |
static int | IncrementMark () |
static const ON_ClassId * | LastClassId () |
static int | Purge (int mark) |
static bool | PurgeAfter (const ON_ClassId *pClassId) |
Private Member Functions | |
void | ConstructorHelper (const char *sClassName, const char *sBaseClassName, const char *sUUID) |
ON_ClassId () | |
ON_ClassId (const ON_ClassId &) | |
ON_ClassId & | operator= (const ON_ClassId &) |
Private Attributes | |
unsigned int | m_class_id_version |
bool(* | m_copy )(const ON_Object *, ON_Object *) |
ON_Object *(* | m_create )() |
void * | m_f2 |
void * | m_f3 |
void * | m_f4 |
void * | m_f5 |
void * | m_f6 |
void * | m_f7 |
void * | m_f8 |
int | m_mark |
const ON_ClassId * | m_pBaseClassId |
ON_ClassId * | m_pNext |
char | m_sBaseClassName [80] |
char | m_sClassName [80] |
ON_UUID | m_uuid |
Static Private Attributes | |
static int | m_mark0 = 0 |
static ON_ClassId * | m_p0 = 0 |
static ON_ClassId * | m_p1 = 0 |
Friends | |
class | ON_Object |
Definition at line 42 of file opennurbs_object.h.
ON_ClassId::ON_ClassId | ( | const char * | sClassName, |
const char * | sBaseClassName, | ||
ON_Object *(*)() | create, | ||
const char * | sUUID | ||
) |
Definition at line 739 of file opennurbs_object.cpp.
ON_ClassId::ON_ClassId | ( | const char * | sClassName, |
const char * | sBaseClassName, | ||
ON_Object *(*)() | create, | ||
bool(*)(const ON_Object *, ON_Object *) | copy, | ||
const char * | sUUID | ||
) |
Definition at line 712 of file opennurbs_object.cpp.
Definition at line 865 of file opennurbs_object.cpp.
ON_ClassId::ON_ClassId | ( | ) | [private] |
ON_ClassId::ON_ClassId | ( | const ON_ClassId & | ) | [private] |
const ON_ClassId * ON_ClassId::BaseClass | ( | ) | const |
Definition at line 1253 of file opennurbs_object.cpp.
const char * ON_ClassId::BaseClassName | ( | ) | const |
Definition at line 1232 of file opennurbs_object.cpp.
const ON_ClassId * ON_ClassId::ClassId | ( | const char * | sClassName | ) | [static] |
Definition at line 884 of file opennurbs_object.cpp.
const ON_ClassId * ON_ClassId::ClassId | ( | ON_UUID | class_uuid | ) | [static] |
Definition at line 911 of file opennurbs_object.cpp.
unsigned int ON_ClassId::ClassIdVersion | ( | ) | const |
Definition at line 1247 of file opennurbs_object.cpp.
const char * ON_ClassId::ClassName | ( | ) | const |
Definition at line 1227 of file opennurbs_object.cpp.
void ON_ClassId::ConstructorHelper | ( | const char * | sClassName, |
const char * | sBaseClassName, | ||
const char * | sUUID | ||
) | [private] |
Definition at line 756 of file opennurbs_object.cpp.
ON_Object * ON_ClassId::Create | ( | ) | const |
Definition at line 875 of file opennurbs_object.cpp.
int ON_ClassId::CurrentMark | ( | ) | [static] |
Definition at line 611 of file opennurbs_object.cpp.
void ON_ClassId::Dump | ( | ON_TextLog & | dump | ) | [static] |
Definition at line 1155 of file opennurbs_object.cpp.
int ON_ClassId::IncrementMark | ( | ) | [static] |
Definition at line 616 of file opennurbs_object.cpp.
ON_BOOL32 ON_ClassId::IsDerivedFrom | ( | const ON_ClassId * | potential_parent | ) | const |
Definition at line 1258 of file opennurbs_object.cpp.
const ON_ClassId * ON_ClassId::LastClassId | ( | ) | [static] |
Definition at line 648 of file opennurbs_object.cpp.
int ON_ClassId::Mark | ( | ) | const |
Definition at line 1242 of file opennurbs_object.cpp.
ON_ClassId& ON_ClassId::operator= | ( | const ON_ClassId & | ) | [private] |
int ON_ClassId::Purge | ( | int | mark | ) | [static] |
Definition at line 622 of file opennurbs_object.cpp.
bool ON_ClassId::PurgeAfter | ( | const ON_ClassId * | pClassId | ) | [static] |
Definition at line 653 of file opennurbs_object.cpp.
ON_UUID ON_ClassId::Uuid | ( | ) | const |
Definition at line 1237 of file opennurbs_object.cpp.
friend class ON_Object [friend] |
Definition at line 215 of file opennurbs_object.h.
unsigned int ON_ClassId::m_class_id_version [private] |
Definition at line 216 of file opennurbs_object.h.
bool(* ON_ClassId::m_copy)(const ON_Object *, ON_Object *) [private] |
Definition at line 217 of file opennurbs_object.h.
ON_Object*(* ON_ClassId::m_create)() [private] |
Definition at line 196 of file opennurbs_object.h.
void* ON_ClassId::m_f2 [private] |
Definition at line 218 of file opennurbs_object.h.
void* ON_ClassId::m_f3 [private] |
Definition at line 219 of file opennurbs_object.h.
void* ON_ClassId::m_f4 [private] |
Definition at line 220 of file opennurbs_object.h.
void* ON_ClassId::m_f5 [private] |
Definition at line 221 of file opennurbs_object.h.
void* ON_ClassId::m_f6 [private] |
Definition at line 222 of file opennurbs_object.h.
void* ON_ClassId::m_f7 [private] |
Definition at line 223 of file opennurbs_object.h.
void* ON_ClassId::m_f8 [private] |
Definition at line 224 of file opennurbs_object.h.
int ON_ClassId::m_mark [private] |
Definition at line 198 of file opennurbs_object.h.
int ON_ClassId::m_mark0 = 0 [static, private] |
Definition at line 191 of file opennurbs_object.h.
ON_ClassId * ON_ClassId::m_p0 = 0 [static, private] |
Definition at line 189 of file opennurbs_object.h.
ON_ClassId * ON_ClassId::m_p1 = 0 [static, private] |
Definition at line 190 of file opennurbs_object.h.
const ON_ClassId* ON_ClassId::m_pBaseClassId [private] |
Definition at line 193 of file opennurbs_object.h.
ON_ClassId* ON_ClassId::m_pNext [private] |
Definition at line 192 of file opennurbs_object.h.
char ON_ClassId::m_sBaseClassName[80] [private] |
Definition at line 195 of file opennurbs_object.h.
char ON_ClassId::m_sClassName[80] [private] |
Definition at line 194 of file opennurbs_object.h.
ON_UUID ON_ClassId::m_uuid [private] |
Definition at line 197 of file opennurbs_object.h.