GTXclient C++ API GTXserver-16.0.2

- Main Page
- Related Pages
- Classes
- Files
- Examples

- Class List
- Class Hierarchy
- Class Members

Public Member Functions | Friends | List of all members
GTXDoubleArray Class Reference

Class for handling a floating variable data. More...

`#include <GTXDoubleArray.hpp>`

Inheritance diagram for GTXDoubleArray:

## 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

## Detailed Description

Class for handling a floating variable data.

Examples:
  vendor.cpp.

## Constructor & Destructor Documentation

GTXDoubleArray::GTXDoubleArray | ( | gtx_long | count,
|  | double | values[]
| ) |  |

constructor from a count of items and a C double array

Parameters

  count | number of values
  values | array of values to be copied

The documentation for this class was generated from the following files:

- include/GTXDoubleArray.hpp
- src/gtxclient/GTXDoubleArray.cpp