Mako 8.2.0 API
MakoCore SDK API Documentation
Loading...
Searching...
No Matches
objclassid.h File Reference

An object class ID is a 128-bit globally unique ID (i.e. a GUID). In EDL it is abstracted within a CClassID class that provides methods for constructing GUIDs from 4 unsigned 32-bit integers or a string or even another CClassID and a method for comparing GUIDs. More...

#include "edltypes.h"
#include "edlstring.h"
#include "memutils.h"
Include dependency graph for objclassid.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CClassID
 An object to represent a 128-bit globally unique ID. More...
union  CClassID::Data

Macros

#define DECLARE_CLASS_ID(class_id)
#define IMPLEMENT_CLASS_ID(Type)

Functions

bool equal (const CClassID &id1, const CClassID &id2)
 Compare two CClassID (for the hashtable)
uint32 hashValue (const CClassID &id)
 Obtain hash value for given CClassID.

Detailed Description

An object class ID is a 128-bit globally unique ID (i.e. a GUID). In EDL it is abstracted within a CClassID class that provides methods for constructing GUIDs from 4 unsigned 32-bit integers or a string or even another CClassID and a method for comparing GUIDs.

Macro Definition Documentation

◆ DECLARE_CLASS_ID

#define DECLARE_CLASS_ID ( class_id)
Value:
static const CClassID &classID() \
{ \
static CClassID id(class_id); \
return id; \
}
An object to represent a 128-bit globally unique ID.
Definition objclassid.h:29

◆ IMPLEMENT_CLASS_ID

#define IMPLEMENT_CLASS_ID ( Type)
Value:
const CClassID &getClassID() const override \
{ \
return Type::classID(); \
}

Function Documentation

◆ equal()

bool equal ( const CClassID & id1,
const CClassID & id2 )
inline

Compare two CClassID (for the hashtable)

Parameters
id1First CClassID
id2Second CClassID
Returns
bool True if equal, false if not

◆ hashValue()

uint32 hashValue ( const CClassID & id)
inline

Obtain hash value for given CClassID.

Parameters
idThe CClassID
Returns
uint32 Unsigned integer hash value