Gems3k
3.1
GEMS3K standalone solver for geochemical equilibria
|
Read fields of structure. More...
#include <io_arrays.h>
Public Member Functions | |
TReadArrays (short aNumFlds, outField *aFlds, fstream &fin) | |
Constructor. | |
void | skipSpace () |
void | reset () |
Reset to 0 all flags (readed) | |
long int | findFld (const char *Name) |
Find field by name. | |
long int | findNext () |
Read next name from file and find in fields list. | |
void | readNext (const char *label) |
Read next name from file. | |
gstring | testRead () |
Test for reading all fields must be always present in the file. | |
void | readArray (const char *name, short *arr, long int size) |
Reads array from a text file. | |
void | readArray (const char *name, int *arr, long int size) |
Reads array from a text file. | |
void | readArray (const char *name, long int *arr, long int size) |
Reads array from a text file. | |
void | readArray (const char *name, float *arr, long int size) |
Reads array from a text file. | |
void | readArray (const char *name, double *arr, long int size) |
Reads array from a text file. | |
void | readArray (const char *name, char *arr, long int size, long int el_size) |
Reads array from a text file. | |
Protected Member Functions | |
void | readValue (float &val) |
Reads value from a text file. | |
void | readValue (double &val) |
Reads value from a text file. | |
void | setCurrentArray (const char *name, long int size) |
Read fields of structure.