|
HDK
|
#include <APEX_Types.h>
Inheritance diagram for apex::APEX_VoidTypeDefinition:Public Member Functions | |
| APEX_VoidTypeDefinition () | |
| ~APEX_VoidTypeDefinition () override | |
| size_t | sizeT () const override |
| Return the size of a single instance of the type, or 0 if the type is not well-defined (i.e. a void). More... | |
| const UT_StringRef & | repr () const override |
| Return a human-readable string representing the type. More... | |
| void * | allocate (exint size) const override |
| void | clear (void *mem) const override |
| Reset the instance of this type (member of buffer created in allocate) to a default value if possible. More... | |
| exint | append (void *mem) const override |
| void | deallocate (void *mem) const override |
| Free a resizable array created by allocate. More... | |
| void * | getPtrAtIndex (void *mem, exint index) const override |
Get a pointer to the {index}-th value in the resizable array created by allocate stored at mem. More... | |
| void | setData (void *mem, const void *val) const override |
Copy the value at val to mem. More... | |
| bool | compile (APEX_Buffer *buffer, APEX_Graph *graph, APEX_PortID port) const override |
| const APEX_TypeDefinitionBase * | subTypeDef () const override |
| If this is a compound type (such as variadics), return the type definition for the contained type. More... | |
| std::type_index | typeIndex () const override |
| Return the RTTI information for the contained type. More... | |
| bool | isCopyable () const override |
| Return whether the type is copy-assignable (i.e. can setData function). More... | |
Public Member Functions inherited from apex::APEX_TypeDefinitionBase | |
| virtual | ~APEX_TypeDefinitionBase () |
| virtual bool | isArray () const |
| Return whether the type is an array. More... | |
| virtual bool | isVariadic () const |
| Return whether the type is a variadic arg. More... | |
| virtual bool | isHandle () const |
| Return whether the type is a handle to some shared data (i.e. geometry) More... | |
Definition at line 246 of file APEX_Types.h.
|
inline |
Definition at line 249 of file APEX_Types.h.
|
inlineoverride |
Definition at line 261 of file APEX_Types.h.
Allocate a resizable array of the type. The current implementation uses a UT_Array behind-the-scenes, however the implementation is type-erased to allow flexibility.
Implements apex::APEX_TypeDefinitionBase.
Definition at line 265 of file APEX_Types.h.
Append a default-constructed instance to the array previously allocated by allocate. If no allocation could be performed, return -1.
Implements apex::APEX_TypeDefinitionBase.
Definition at line 267 of file APEX_Types.h.
Reset the instance of this type (member of buffer created in allocate) to a default value if possible.
Implements apex::APEX_TypeDefinitionBase.
Definition at line 266 of file APEX_Types.h.
|
inlineoverridevirtual |
Implements apex::APEX_TypeDefinitionBase.
Definition at line 271 of file APEX_Types.h.
Free a resizable array created by allocate.
Implements apex::APEX_TypeDefinitionBase.
Definition at line 268 of file APEX_Types.h.
|
inlineoverridevirtual |
Get a pointer to the {index}-th value in the resizable array created by allocate stored at mem.
Implements apex::APEX_TypeDefinitionBase.
Definition at line 269 of file APEX_Types.h.
|
inlineoverridevirtual |
Return whether the type is copy-assignable (i.e. can setData function).
Implements apex::APEX_TypeDefinitionBase.
Definition at line 274 of file APEX_Types.h.
|
inlineoverridevirtual |
Return a human-readable string representing the type.
Implements apex::APEX_TypeDefinitionBase.
Definition at line 264 of file APEX_Types.h.
|
inlineoverridevirtual |
Copy the value at val to mem.
Implements apex::APEX_TypeDefinitionBase.
Definition at line 270 of file APEX_Types.h.
|
inlineoverridevirtual |
Return the size of a single instance of the type, or 0 if the type is not well-defined (i.e. a void).
Implements apex::APEX_TypeDefinitionBase.
Definition at line 263 of file APEX_Types.h.
|
inlineoverridevirtual |
If this is a compound type (such as variadics), return the type definition for the contained type.
Implements apex::APEX_TypeDefinitionBase.
Definition at line 272 of file APEX_Types.h.
|
inlineoverridevirtual |
Return the RTTI information for the contained type.
Implements apex::APEX_TypeDefinitionBase.
Definition at line 273 of file APEX_Types.h.