GTXclient C++ API GTXserver-16.0.2

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

- Class List
- Class Hierarchy
- Class Members

Public Types | Public Member Functions | Friends | List of all members
GTXVariableFormat Class Reference

Class for handling Information on a file. More...

`#include <GTXVariableFormat.hpp>`

## Public Types
enum | FormatType { FORMAT_TYPE_DECIMAL, FORMAT_TYPE_INTEGER, FORMAT_TYPE_EXPONENT, FORMAT_TYPE_FREE, FORMAT_TYPE_SHIFTED, FORMAT_TYPE_INVALID }

## Public Member Functions
| GTXVariableFormat ()
| Default Constructor.
void | SetType (FormatType format)
| Set Format Type.
FormatType | GetFormatType ()
| Get Format Type.
void | SetLength (int length)
| Set Format Length (3..19)
int | GetLength ()
| Get Format Length (3..19)
void | SetDigits (int digits)
| Set Format Digits (0..9)
int | GetDigits ()
| Get Format Digits (0..9)
void | SetUnit (const char *unit)
| Set Format Unit (if empty string this is a length variable)
char * | GetUnit ()
| Get Format Unit (if empty string this is a length variable)

## Friends
class | GTXClient

## Detailed Description

Class for handling Information on a file.

Examples:
  write_files.cpp.

## Member Enumeration Documentation

enum GTXVariableFormat::FormatType

< format type

Enumerator
FORMAT_TYPE_DECIMAL | %%25.blf
FORMAT_TYPE_INTEGER | %d
FORMAT_TYPE_EXPONENT | %a.be
FORMAT_TYPE_FREE | %alg if a <= 13 & %a.(a-7)lg if a > 13
FORMAT_TYPE_SHIFTED | f
FORMAT_TYPE_INVALID | Invalid type.

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

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