|
Graphite Version 3
An experimental 3D geometry processing program
|
A class to declare a new struct type. More...
#include <OGF/gom/types/gom_implementation.h>
Public Member Functions | |
| ogf_declare_struct (const std::string &type_name) | |
| Declares a new struct type. | |
| operator MetaBuiltinStruct * () | |
| Gets the created MetaBuiltinStruct object. | |
| MetaBuiltinStruct * | operator-> () |
| Gets the created MetaBuiltinStruct object. | |
A class to declare a new struct type.
| T | the struct type to be declared |
Example of use:
Definition at line 330 of file gom_implementation.h.
|
inlineexplicit |
Declares a new struct type.
| [in] | type_name | the C++ type name of the struct to be declared |
Definition at line 337 of file gom_implementation.h.
|
inline |
Gets the created MetaBuiltinStruct object.
Definition at line 351 of file gom_implementation.h.
|
inline |
Gets the created MetaBuiltinStruct object.
To be able to write ogf_declare_struct<XXX>("XXX")->add_field<YYY>("zzz")
Definition at line 361 of file gom_implementation.h.