Exchange Toolkit
Public Types | Public Member Functions | Public Attributes | List of all members
ts3d::A3DMathFct1DPolynomWrapper Struct Reference

Provides a wrapper for accessing A3DMathFct1DPolynomData. More...

#include <ExchangeToolkit.h>

Public Types

using DataType = A3DMathFct1DPolynomData
 Alias for the data type.
 

Public Member Functions

 A3DMathFct1DPolynomWrapper (A3DMathFct1DPolynom *ntt=nullptr)
 Constructs a wrapper, initializing the data storage with values obtained using the provided pointer and A3DRootBaseGet. More...
 
 ~A3DMathFct1DPolynomWrapper (void)
 The destructor is implemented to call A3DMathFct1DPolynomGet( nullptr, &_d ) to ensure dynamic resources are freed.
 
DataType const * operator-> () const
 Const data access to A3DMathFct1DPolynomData.
 
DataTypeoperator-> ()
 Non-const data access to A3DMathFct1DPolynomData. More...
 
void reset (A3DMathFct1DPolynom *ntt)
 Resets internal data to values obtained from the provided pointer. More...
 

Public Attributes

DataType _d
 Data storage.
 

Detailed Description

Provides a wrapper for accessing A3DMathFct1DPolynomData.

Constructor & Destructor Documentation

ts3d::A3DMathFct1DPolynomWrapper::A3DMathFct1DPolynomWrapper ( A3DMathFct1DPolynom *  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.

Member Function Documentation

DataType* ts3d::A3DMathFct1DPolynomWrapper::operator-> ( )
inline

Non-const data access to A3DMathFct1DPolynomData.

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::A3DMathFct1DPolynomWrapper::reset ( A3DMathFct1DPolynom *  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: