#include <xsi_nurbsdata.h>
Public Member Functions |
|
| CTrimCurveDataArray (LONG in_size=0) | |
| CTrimCurveDataArray (const CTrimCurveDataArray &in_array) | |
| ~CTrimCurveDataArray () | |
| CTrimCurveDataArray & | operator= (const CTrimCurveDataArray &in_array) |
| LONG | GetCount () const |
| CStatus | Add (const CTrimCurveData &in_item) |
| CStatus | Clear () |
| CStatus | Resize (LONG in_size) |
| const CTrimCurveData & | operator[] (LONG in_index) const |
| CTrimCurveData & | operator[] (LONG in_index) |
| bool | operator== (const CTrimCurveDataArray &in_array) const |
| bool | operator!= (const CTrimCurveDataArray &in_array) const |
The array is zero-based, which means that the first item index is 0 and the larger index is one less that the number of elements contained in the array.
| CTrimCurveDataArray | ( | LONG | in_size = 0 |
) |
Constructs a CTrimCurveDataArray and optionally initializes the array to a known size.
| in_size | Size of array, defaults to 0. |
| CTrimCurveDataArray | ( | const CTrimCurveDataArray & | in_array | ) |
Constructs a CTrimCurveDataArray object from another CTrimCurveDataArray object.
| in_array | constant CTrimCurveDataArray object. |
Default destructor.
| CTrimCurveDataArray& operator= | ( | const CTrimCurveDataArray & | in_array | ) |
Assignment operator.
| in_array | constant class object. |
Returns the number of items in this CTrimCurveDataArray
Adds a CTrimCurveData at the end of this array.
| in_item | New item to be added at the end of the array. |
Erases all elements contained in the array.
Reallocates memory for the array, preserves its contents if the new size is larger than existing size.
| in_size | New size of the array. |
CStatus::InvalidArgument in_size < 0
Accessor to elements at a given index. This function can only be called by constant objects, and the returned value is read-only.
| in_index | index in this zero-based array. The index must be greater or equal to zero and smaller than the number of element in the array, otherwise the results are unpredictable. |
| CTrimCurveData& operator[] | ( | LONG | in_index | ) |
Accessor to elements at a given index.
| in_index | index in this zero-based array. The index must be greater or equal to zero and smaller than the number of element in the array, otherwise the results are unpredictable. |
Equality operator.
| in_array | CTrimCurveDataArray to compare with. |
Inequality operator.
| in_array |