#include <ClassIdC.h>
Public Methods | |
ClassIdC () | |
Default constructor, assigns each number to zero (NULL class ID). | |
ClassIdC (PajaTypes::uint32 ui32ClassA, PajaTypes::uint32 ui32ClassB) | |
Creates a new class ID with the values assigned from the arguments. | |
ClassIdC (const ClassIdC &rClassId) | |
Copy constructor, creates a new class ID with the same values as the argument. | |
virtual | ~ClassIdC () |
Default Destructor. | |
PajaTypes::uint32 | get_class_a () const |
Returns the first part of the class ID. | |
PajaTypes::uint32 | get_class_b () const |
Returns the second part of the class ID. | |
bool | operator== (const ClassIdC &rClassId) const |
Returns true if the class IDs are equal, else false. | |
bool | operator!= (const ClassIdC &rClassId) const |
Returns true if the class IDs are non-equal, else false. | |
ClassIdC & | operator= (const ClassIdC &rClassId) |
Copy operator. |
This class represents the unique class ID for a Demopaja plugin class. A Class ID consists of two 32-bit numbers. The class ID must be unique, since plugin classes are identified by it. To avoid any conflicts always generate random class ID for each plugin class you use. You should use the Class ID generator (classidgen.exe) provided with this documentation. A class ID with two zero numbers is a NULL class ID, and is not a valid ID.
Class IDs which has zero first (A) part are reserved to be used only by the Demopaja development team. If you use one of the sample plugins as basis of your own plugin remember to change the class IDs!
This class is implemented by the system.
|
Default constructor, assigns each number to zero (NULL class ID).
|
|
Creates a new class ID with the values assigned from the arguments.
|
|
Copy constructor, creates a new class ID with the same values as the argument.
|
|
Default Destructor.
|
|
Returns the first part of the class ID.
|
|
Returns the second part of the class ID.
|
|
Returns true if the class IDs are non-equal, else false.
|
|
Copy operator.
|
|
Returns true if the class IDs are equal, else false.
|