13#ifndef EDLOBJECTCLASSID_H
14#define EDLOBJECTCLASSID_H
58 for(
int i = 0; i < 16; i++ )
109 if((
m_ID.dw[0]==
id.m_ID.dw[0]) &&
110 (
m_ID.dw[1]==
id.m_ID.dw[1]) &&
111 (
m_ID.dw[2]==
id.m_ID.dw[2]) &&
112 (
m_ID.dw[3]==
id.m_ID.dw[3]))
126 return id1.
equal( id2 );
139#define DECLARE_CLASS_ID(class_id) \
140 static const CClassID &classID() \
142 static CClassID id(class_id); \
146#define IMPLEMENT_CLASS_ID(Type) \
147 const CClassID &getClassID() const override \
149 return Type::classID(); \
An object to represent a 128-bit globally unique ID.
Definition objclassid.h:29
union CClassID::Data m_ID
CClassID()
Constructor.
Definition objclassid.h:44
CClassID(const CClassID &other)
Copy to another CClassID.
Definition objclassid.h:69
void operator=(const CClassID &other)
operator =
Definition objclassid.h:78
bool equal(const CClassID &id) const
Compare to another CClassID.
Definition objclassid.h:107
CClassID(uint32 dw0, uint32 dw1, uint32 dw2, uint32 dw3)
Construct CClassID from 4 x uint32.
Definition objclassid.h:94
CClassID(const EDLSysString &str)
Converts hexadecimal representation of a CClassID to a CClassID.
Definition objclassid.h:56
#define _BEGIN_EDL_NAMESPACE
Definition edlnamespaces.h:75
#define _END_EDL_NAMESPACE
Definition edlnamespaces.h:76
EDLString and EDLSysString classes and associated EDL string manipulation functions.
std::string EDLSysString
Definition edlstring.h:158
uint8 sxtob(char c)
sxtob converts a hexadecimal character into corresponding (unsigned) integer value.
Definition edlstring.h:191
EDL "standard" types including known bit-length signed and unsigned integer type[def]s and definition...
unsigned int uint32
Definition edltypes.h:34
unsigned char uint8
Definition edltypes.h:32
EDL portability wrappers around memset(), memcpy() and memcmp() to allow EDL to use alternate impleme...
#define EDLmemcpy(dest, src, size)
Definition memutils.h:21
uint32 hashValue(const CClassID &id)
Obtain hash value for given CClassID.
Definition objclassid.h:134
bool equal(const CClassID &id1, const CClassID &id2)
Compare two CClassID (for the hashtable)
Definition objclassid.h:124
Definition objclassid.h:32
uint32 dw[4]
double word presentation - for copying, comparing
Definition objclassid.h:38
uint32 hv
hashvalue
Definition objclassid.h:36
uint8 b[16]
bytes presentation - for converting
Definition objclassid.h:34