Archicad 29 C++ API
|
A unique identifier for API objects. It contains the GUID of the element and the Token of the AddOn which instantiated the element. More...
#include <UniqueID.hpp>
Public Member Functions | |
UniqueID (const GS::Guid &, const API_Token &) | |
Constructs a unique identifier with the given GUID and token. | |
UniqueID (const API_Guid &guid, const API_Token &token) | |
Constructs a unique identifier with the given GUID and token. | |
const GS::Guid & | GetGuid () const |
Returns the unique identifier of the element. | |
const API_Token & | GetToken () const |
Returns the unique identifier of the AddOn which created this instance. | |
bool | operator== (const UniqueID &) const |
Comparison operator. | |
bool | operator!= (const UniqueID &) const |
Comparison operator. | |
bool | operator< (const UniqueID &) const |
Comparison operator. | |
A unique identifier for API objects. It contains the GUID of the element and the Token of the AddOn which instantiated the element.
Constructs a unique identifier with the given GUID and token.
guid | The GUID of the identified object. |
token | The token of the AddOn which created the element. |
const GS::Guid & ACAPI::UniqueID::GetGuid | ( | ) | const |
Returns the unique identifier of the element.
const API_Token & ACAPI::UniqueID::GetToken | ( | ) | const |
Returns the unique identifier of the AddOn which created this instance.
bool ACAPI::UniqueID::operator!= | ( | const UniqueID & | ) | const |
Comparison operator.
bool ACAPI::UniqueID::operator< | ( | const UniqueID & | ) | const |
Comparison operator.
bool ACAPI::UniqueID::operator== | ( | const UniqueID & | ) | const |
Comparison operator.