Represents the optional struct category for struct types. More...
#include <itype.h>
Public Types | |
enum | Predefined_id { CID_USER = -1 , CID_MATERIAL_CATEGORY = 0 , CID_FORCE_32_BIT = 0x7fffffff } |
Identifiers of struct categories. More... | |
![]() | |
typedef Interface_declare< id1, ... > | Self |
Own type. More... | |
typedef Uuid_t< id1, ... > | IID |
Declares the interface ID (IID) of this interface. More... | |
![]() | |
typedef Uuid_t<0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0> | IID |
Declares the interface ID (IID) of this interface. More... | |
Public Member Functions | |
virtual const char * | get_symbol () const =0 |
Returns the qualified name of this struct category. More... | |
virtual Predefined_id | get_predefined_id () const =0 |
If this struct category is a predefined one, return its ID, else CID_USER. More... | |
virtual const IAnnotation_block * | get_annotations () const =0 |
Returns the annotations of the struct category type. More... | |
![]() | |
virtual Uint32 | retain () const =0 |
Increments the reference count. More... | |
virtual Uint32 | release () const =0 |
Decrements the reference count. More... | |
virtual const IInterface * | get_interface (const Uuid &interface_id) const =0 |
Acquires a const interface from another. More... | |
template<class T> | |
const T * | get_interface () const |
Acquires a const interface from another. More... | |
virtual IInterface * | get_interface (const Uuid &interface_id)=0 |
Acquires a mutable interface from another. More... | |
template<class T> | |
T * | get_interface () |
Acquires a mutable interface from another. More... | |
virtual Uuid | get_iid () const =0 |
Returns the interface ID of the most derived interface. More... | |
Additional Inherited Members | |
![]() | |
static bool | compare_iid (const Uuid &iid) |
Compares the interface ID iid against the interface ID of this interface and of its ancestors. More... | |
![]() | |
static bool | compare_iid (const Uuid &iid) |
Compares the interface ID iid against the interface ID of this interface. More... | |
Represents the optional struct category for struct types.
|
pure virtual |
Returns the annotations of the struct category type.
NULL
if there are no annotations for the struct category type.
|
pure virtual |
If this struct category is a predefined one, return its ID, else CID_USER.
|
pure virtual |
Returns the qualified name of this struct category.