Provides a wrapper for accessing A3DTopoCoEdgeData
.
More...
#include <ExchangeToolkit.h>
|
using | DataType = A3DTopoCoEdgeData |
| Alias for the data type.
|
|
|
| A3DTopoCoEdgeWrapper (A3DTopoCoEdge *ntt=nullptr) |
| Constructs a wrapper, initializing the data storage with values obtained using the provided pointer and A3DRootBaseGet . More...
|
|
| ~A3DTopoCoEdgeWrapper (void) |
| The destructor is implemented to call A3DTopoCoEdgeGet( nullptr, &_d ) to ensure dynamic resources are freed.
|
|
DataType const * | operator-> () const |
| Const data access to A3DTopoCoEdgeData .
|
|
DataType * | operator-> () |
| Non-const data access to A3DTopoCoEdgeData . More...
|
|
void | reset (A3DTopoCoEdge *ntt) |
| Resets internal data to values obtained from the provided pointer. More...
|
|
Provides a wrapper for accessing A3DTopoCoEdgeData
.
ts3d::A3DTopoCoEdgeWrapper::A3DTopoCoEdgeWrapper |
( |
A3DTopoCoEdge * |
ntt = nullptr | ) |
|
|
inline |
Constructs a wrapper, initializing the data storage with values obtained using the provided pointer and A3DRootBaseGet
.
This can be a nullptr
, in which case the A3DRootBaseData
struct is initialized but not populated.
DataType* ts3d::A3DTopoCoEdgeWrapper::operator-> |
( |
| ) |
|
|
inline |
Non-const data access to A3DTopoCoEdgeData
.
- Note
- If you modify the data and expect the underlying Exchange data model to be updated, you must explicitly call the correct
Create
or Set
function in the Exchange API. This wrapper does not provide write capability.
- Todo:
- Implement write capability?
void ts3d::A3DTopoCoEdgeWrapper::reset |
( |
A3DTopoCoEdge * |
ntt | ) |
|
|
inline |
Resets internal data to values obtained from the provided pointer.
Calling this function will free dynamic resources as needed prior to obtaining new values in the struct. If a nullptr
is provided, the data is not explicitly changed and may reflect old values.
The documentation for this struct was generated from the following file:
- /home/travis/build/techsoft3d/ExchangeToolkit/ExchangeToolkit/include/ExchangeToolkit.h