|
GTXclient C++ API
GTXserver-16.0.2
|
Class for handling a floating variable data. More...
#include <GTXDoubleArray.hpp>
Public Member Functions | |
| GTXDoubleArray () | |
| empty constructor | |
| GTXDoubleArray (gtx_long count, double values[]) | |
| constructor from a count of items and a C double array More... | |
| ~GTXDoubleArray () | |
| destructor | |
| GTXDoubleArray (const GTXDoubleArray &in_dbldata) | |
| copy contructor | |
| GTXDoubleArray & | operator= (const GTXDoubleArray &in_dbldata) |
| operator = | |
| gtx_long | GetCount (void) const |
| Get the number of values in the array. | |
| void | Resize (gtx_long count) |
| Resize the array (keeps the old values when possible) | |
| double | GetValue (gtx_long rank) const |
| Get the rank'th value (0 <= rank < count) | |
| const double * | GetValues () const |
| Get the complete values array. | |
| void | SetValue (gtx_long rank, double value) |
| Set the rank'th value (0 <= rank < count) | |
| void | SetValues (double values[]) |
| Set All the Values at once (array must have been resized before) | |
Friends | |
| class | GTXClient |
Class for handling a floating variable data.
| GTXDoubleArray::GTXDoubleArray | ( | gtx_long | count, |
| double | values[] | ||
| ) |
constructor from a count of items and a C double array
| count | number of values |
| values | array of values to be copied |