ClassIdC
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.
Header: | ClassIdC.h |
Library: | core.lib |
ClassIdC();
|
Default constructor. Assigns each number to zero (NULL class ID).
ClassIdC(
|
Creates a new class ID with the values assigned from the arguments.
ClassIdC(
|
Creates a new class ID with the same values as the argument.
uint32 get_class_a();
|
The first part of the class ID.
uint32 get_class_b();
|
The second part of the class ID.
bool operator==(
|
True if the class IDs are equal, else false.
bool operator!=(
|
True if the class IDs are not equal, else false.
ClassIdC& operator=(
|
Reference to the class ID.
Copyright © 2000 Moppi Productions