GTXclient C++ API  GTXserver-16.0.2
GTXDoubleArray Class Reference

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

#include <GTXDoubleArray.hpp>

Inheritance diagram for GTXDoubleArray:
GTXDoubleData

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
 
GTXDoubleArrayoperator= (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
countnumber of values
valuesarray of values to be copied

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