![]() |
Simplygon C++ API
8.3.35800.0
|
#include <SimplygonSDK.h>
Public Types | |
typedef I::value_type | value_type |
Public Member Functions | |
const value_type * | Data () const |
const value_type & | GetItem (rid index) const |
unsigned int | GetItemCount () const |
I * | GetPointer () const |
bool | IsNullOrEmpty () const |
operator const value_type * () const | |
operator I* () const | |
I * | operator-> () const |
rdata< I > & | operator= (const rdata< I > &p) |
const value_type & | operator[] (rid index) const |
rdata (const rdata< I > &p) | |
rdata (I *p=NULL) | |
~rdata () | |
The rdata class is used to retrieve array data from the interface. Use this rather than the IData object, as this will manage reference counting automatically.
Definition at line 240 of file SimplygonSDK.h.
typedef I::value_type SimplygonSDK::rdata< I >::value_type |
Definition at line 243 of file SimplygonSDK.h.
|
inline |
Constructs a rdata from an IData interface pointer.
p | is a pointer to an API object, or NULL to make the CountedPointer point at nothing. |
Definition at line 249 of file SimplygonSDK.h.
|
inline |
Points an rdata at content of another rdata. Adds reference count ot the IData object
p | is a CountedPointer that points at an API object. |
Definition at line 258 of file SimplygonSDK.h.
|
inline |
Destructs the rdata, and releases one reference to the IData object, if the rdata currently points at an object.
Definition at line 266 of file SimplygonSDK.h.
|
inline |
Method to retrieve the const data pointer.
Definition at line 301 of file SimplygonSDK.h.
|
inline |
Method to retrieve a data item value. Note that this will not check the pointer for null
refecence and will cause a crash unless IsNullOrEmpty() is used to check the value of ptr
Definition at line 332 of file SimplygonSDK.h.
|
inline |
Method to retrieve the data size.
Definition at line 321 of file SimplygonSDK.h.
|
inline |
Method that returns a standard pointer to the object the pointer is pointing at.
Definition at line 359 of file SimplygonSDK.h.
|
inline |
Tells whether the rdata points at an object, or nothing.
Definition at line 275 of file SimplygonSDK.h.
|
inline |
Operator to retrieve the data.
Definition at line 311 of file SimplygonSDK.h.
|
inline |
Operator that returns a standard pointer to the object the pointer is pointing at.
Definition at line 350 of file SimplygonSDK.h.
|
inline |
Operator that returns a standard pointer to the object the pointer is pointing at.
Definition at line 368 of file SimplygonSDK.h.
|
inline |
Operator that sets the rdata to point at the same rdata as the source rdata
Definition at line 287 of file SimplygonSDK.h.
|
inline |
Operator to retrieve a data item value. Note that this will not check the pointer for null
refecence and will cause a crash unless IsNullOrEmpty() is used to check the value of ptr
Definition at line 341 of file SimplygonSDK.h.