QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
ON_ClassId Class Reference

#include <opennurbs_object.h>

Public Member Functions

const ON_ClassIdBaseClass () const
 
const char * BaseClassName () const
 
unsigned int ClassIdVersion () const
 
const char * ClassName () const
 
ON_ObjectCreate () const
 
ON_BOOL32 IsDerivedFrom (const ON_ClassId *potential_parent) const
 
int Mark () const
 
 ON_ClassId (const char *sClassName, const char *sBaseClassName, ON_Object *(*create)(), bool(*copy)(const ON_Object *, ON_Object *), const char *sUUID)
 
 ON_ClassId (const char *sClassName, const char *sBaseClassName, ON_Object *(*create)(), const char *sUUID)
 
ON_UUID Uuid () const
 
 ~ON_ClassId ()
 

Static Public Member Functions

static const ON_ClassIdClassId (const char *sClassName)
 
static const ON_ClassIdClassId (ON_UUID class_uuid)
 
static int CurrentMark ()
 
static void Dump (ON_TextLog &dump)
 
static int IncrementMark ()
 
static const ON_ClassIdLastClassId ()
 
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_ClassIdoperator= (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_ClassIdm_pBaseClassId
 
ON_ClassIdm_pNext
 
char m_sBaseClassName [80]
 
char m_sClassName [80]
 
ON_UUID m_uuid
 

Static Private Attributes

static int m_mark0 = 0
 
static ON_ClassIdm_p0 = 0
 
static ON_ClassIdm_p1 = 0
 

Friends

class ON_Object
 

Constructor & Destructor Documentation

◆ ON_ClassId() [1/4]

ON_ClassId::ON_ClassId ( const char * sClassName,
const char * sBaseClassName,
ON_Object *(*)() create,
const char * sUUID )

◆ ON_ClassId() [2/4]

ON_ClassId::ON_ClassId ( const char * sClassName,
const char * sBaseClassName,
ON_Object *(*)() create,
bool(*)(const ON_Object *, ON_Object *) copy,
const char * sUUID )

◆ ~ON_ClassId()

ON_ClassId::~ON_ClassId ( )

◆ ON_ClassId() [3/4]

ON_ClassId::ON_ClassId ( )
private

◆ ON_ClassId() [4/4]

ON_ClassId::ON_ClassId ( const ON_ClassId & )
private

Member Function Documentation

◆ BaseClass()

const ON_ClassId * ON_ClassId::BaseClass ( ) const

◆ BaseClassName()

const char * ON_ClassId::BaseClassName ( ) const

◆ ClassId() [1/2]

const ON_ClassId * ON_ClassId::ClassId ( const char * sClassName)
static

◆ ClassId() [2/2]

const ON_ClassId * ON_ClassId::ClassId ( ON_UUID class_uuid)
static

◆ ClassIdVersion()

unsigned int ON_ClassId::ClassIdVersion ( ) const

◆ ClassName()

const char * ON_ClassId::ClassName ( ) const

◆ ConstructorHelper()

void ON_ClassId::ConstructorHelper ( const char * sClassName,
const char * sBaseClassName,
const char * sUUID )
private

◆ Create()

ON_Object * ON_ClassId::Create ( ) const

◆ CurrentMark()

int ON_ClassId::CurrentMark ( )
static

◆ Dump()

void ON_ClassId::Dump ( ON_TextLog & dump)
static

◆ IncrementMark()

int ON_ClassId::IncrementMark ( )
static

◆ IsDerivedFrom()

ON_BOOL32 ON_ClassId::IsDerivedFrom ( const ON_ClassId * potential_parent) const

◆ LastClassId()

const ON_ClassId * ON_ClassId::LastClassId ( )
static

◆ Mark()

int ON_ClassId::Mark ( ) const

◆ operator=()

ON_ClassId & ON_ClassId::operator= ( const ON_ClassId & )
private

◆ Purge()

int ON_ClassId::Purge ( int mark)
static

◆ PurgeAfter()

bool ON_ClassId::PurgeAfter ( const ON_ClassId * pClassId)
static

◆ Uuid()

ON_UUID ON_ClassId::Uuid ( ) const

Friends And Related Symbol Documentation

◆ ON_Object

friend class ON_Object
friend

Member Data Documentation

◆ m_class_id_version

unsigned int ON_ClassId::m_class_id_version
private

◆ m_copy

bool(* ON_ClassId::m_copy) (const ON_Object *, ON_Object *)
private

◆ m_create

ON_Object *(* ON_ClassId::m_create) ()
private

◆ m_f2

void* ON_ClassId::m_f2
private

◆ m_f3

void* ON_ClassId::m_f3
private

◆ m_f4

void* ON_ClassId::m_f4
private

◆ m_f5

void* ON_ClassId::m_f5
private

◆ m_f6

void* ON_ClassId::m_f6
private

◆ m_f7

void* ON_ClassId::m_f7
private

◆ m_f8

void* ON_ClassId::m_f8
private

◆ m_mark

int ON_ClassId::m_mark
private

◆ m_mark0

int ON_ClassId::m_mark0 = 0
staticprivate

◆ m_p0

ON_ClassId * ON_ClassId::m_p0 = 0
staticprivate

◆ m_p1

ON_ClassId * ON_ClassId::m_p1 = 0
staticprivate

◆ m_pBaseClassId

const ON_ClassId* ON_ClassId::m_pBaseClassId
private

◆ m_pNext

ON_ClassId* ON_ClassId::m_pNext
private

◆ m_sBaseClassName

char ON_ClassId::m_sBaseClassName[80]
private

◆ m_sClassName

char ON_ClassId::m_sClassName[80]
private

◆ m_uuid

ON_UUID ON_ClassId::m_uuid
private

The documentation for this class was generated from the following files: