GTXclient C++ API  GTXserver-15.0.3
GTXStringArray Class Reference

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

#include <GTXStringArray.hpp>

Inheritance diagram for GTXStringArray:
GTXCharData

Public Member Functions

 GTXStringArray ()
 empty constructor
 
 ~GTXStringArray ()
 destructor
 
 GTXStringArray (gtx_long count, const char *const *list)
 constructor from a count of items and a C string array
 
 GTXStringArray (const GTXStringArray &in_chrdata)
 copy contructor
 
GTXStringArrayoperator= (const GTXStringArray &in_chrdata)
 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)
 
const char * GetValue (gtx_long rank) const
 Get the rank'th value (0 <= rank < count)
 
const char ** GetValues () const
 Get the complete values array.
 
void SetValue (gtx_long rank, const char *value)
 Set the rank'th value (0 <= rank < count)
 
void SetValues (const char *const *values)
 Set All the Values at once (array must have been resized before)
 

Friends

class GTXClient
 

Detailed Description

Class for handling a alphanumerical variable data.

Examples:
browser.cpp, dump.cpp, fault.cpp, polygon.cpp, vendor.cpp, wireframes.cpp, and write_files.cpp.

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