GTXclient C++ API  GTXserver-15.0.3
GTXDoubleData.hpp
1 #ifndef __GTXDoubleData_hpp__
2 #define __GTXDoubleData_hpp__
3 
4 #define __USING_GTXSERVER_CPP_API__
5 
6 #ifdef DOXYGEN
7 #define SWIG_OR_DOXYGEN
8 #endif //DOXYGEN
9 
10 #ifdef SWIG
11 #define GLOBAL_CLASS
12 #define SWIG_OR_DOXYGEN
13 #else //SWIG
14 #include <GTXClient.h>
15 #endif //SWIG
16 
17 #include <GTXDoubleArray.hpp>
18 
22 class GLOBAL_CLASS GTXDoubleData : public GTXDoubleArray
23 {
24 public:
26  GTXDoubleData();
28  GTXDoubleData(gtx_long count, double values[]);
30  ~GTXDoubleData();
32  GTXDoubleData(const GTXDoubleData &in_dbldata);
33 #ifndef SWIG
34 
35  GTXDoubleData &operator=(const GTXDoubleData &in_dbldata);
36 #endif
37 
38 
40  double GetUndefinedValue() const;
42  void SetUndefinedValue(double undef_val);
43 
44 
45 private:
46  double _undef_val;
47 
48  friend class GTXClient;
49 };
50 
51 #endif //__GTXDoubleData_hpp__