The type of an element.
More...
#include <APIdefs_Elements.h>
The type of an element.
- Since
- Archicad 26
◆ API_ElemType() [1/3]
Constructor with generic type.
- Parameters
-
typeID | The typeID of the element. |
◆ API_ElemType() [2/3]
Constructor.
- Parameters
-
typeID | The typeID of the element. |
variationID | Subcategory of the element. |
◆ API_ElemType() [3/3]
API_ElemType::API_ElemType |
( |
const API_Guid & |
classID | ) |
|
|
inline |
Constructor with external element.
- Parameters
-
classID | The classID of the element. |
◆ GenerateHashValue()
ULong API_ElemType::GenerateHashValue |
( |
void |
| ) |
const |
|
inline |
Generates unique identifier.
- Returns
- the unique value
◆ operator!=() [1/3]
Comparison operator (by element type ID).
- Parameters
-
otherTypeID | The type of the element to compare to. |
- Returns
- True if it is not equal to otherTypeID.
◆ operator!=() [2/3]
bool API_ElemType::operator!= |
( |
const API_ElemType & |
other | ) |
const |
|
inline |
Comparison operator (by element type).
- Parameters
-
other | The element type to compare to. |
- Returns
- True if it is not equal to the other.
◆ operator!=() [3/3]
bool API_ElemType::operator!= |
( |
const API_Guid & |
otherClassID | ) |
const |
|
inline |
Comparison operator (by class ID; for external elements).
- Parameters
-
otherClassID | the identifier of the element type to compare to |
- Returns
- True if it is not equal to otherClassID
◆ operator=() [1/2]
Assignment operator (by element type).
- Parameters
-
newTypeID | The new element type. |
- Returns
- Returns with reference to this.
◆ operator=() [2/2]
Assignment operator (by element class identifier).
- Parameters
-
newClassID | The new element type (for external elements). |
- Returns
- Returns with reference to this.
◆ operator==() [1/3]
Comparison operator (by element type ID).
- Parameters
-
otherTypeID | The type of the element to compare to. |
- Returns
- True if it is equal to the otherTypeID.
◆ operator==() [2/3]
bool API_ElemType::operator== |
( |
const API_ElemType & |
other | ) |
const |
|
inline |
Comparison operator (by element type).
- Parameters
-
other | The element type to compare to. |
- Returns
- True if it is equal to the other.
◆ operator==() [3/3]
bool API_ElemType::operator== |
( |
const API_Guid & |
otherClassID | ) |
const |
|
inline |
Comparison operator (by class ID; for external elements).
- Parameters
-
otherClassID | The identifier of the element type to compare to. |
- Returns
- True if it is equal to otherClassID.