CID

Functions

CID

~CID

bool

operator==

bool

operator!=

unsigned int

GetKey

Detailed Description

class CID

Defines the ID of a REDsdk class (CID stands for Class ID).

@related class RED::IREDObject, class RED::Factory

All REDsdk classes have their own CID which in turn must be unique (note that no uniqueness check will be performed by REDsdk when creating new CIDs; it’s the programmer responsibility to ensure new CIDs uniqueness).

Please, refer to the RED::Factory class documentation for further explanations about the use of CIDs.

Public Functions

inline CID(unsigned int iKey)

Constructor.

Parameters

iKey – Unique key identifying the cid.

inline ~CID()

Destructor.

inline bool operator==(const CID &iOther) const

Equality test operator.

Returns

true if the two objects are identical, false otherwise.

inline bool operator!=(const CID &iOther) const

Inequality test operator.

Returns

true if the two objects are different, false otherwise.

inline unsigned int GetKey() const

Access the CID key value

Returns

the CID key value.