StructBase builds a C++ struct that includes a GATE C struct-descriptor and a native C++ struct type.
More...
#include <structs.hpp>
|
| StructBase (gate_struct_descriptor_t const *descriptor=NULL, cpp_struct_type const &cpp_struct=cpp_struct_type()) |
| Initializes an instance with an external descriptor pointer and a native C++ structure.
|
| StructBase (self_t const &src) |
| Copy an existing StructBase instance.
|
self_t & | operator= (self_t const &src) |
| Overwrite instance data with another instance's data.
|
template<class cpp_struct_type>
struct gate::StructBase< cpp_struct_type >
StructBase builds a C++ struct that includes a GATE C struct-descriptor and a native C++ struct type.
- Template Parameters
-
◆ StructBase() [1/2]
template<class cpp_struct_type>
StructBase |
( |
gate_struct_descriptor_t const * | descriptor = NULL, |
|
|
cpp_struct_type const & | cpp_struct = cpp_struct_type() ) |
|
inline |
Initializes an instance with an external descriptor pointer and a native C++ structure.
- Parameters
-
descriptor | pointer to C-struct-descriptor |
cpp_struct | reference to already initialize native C++ structure to copy data from |
◆ StructBase() [2/2]
template<class cpp_struct_type>
◆ operator=()
template<class cpp_struct_type>
Overwrite instance data with another instance's data.
- Parameters
-
- Returns
The documentation for this struct was generated from the following file: