Gems3k
3.1
GEMS3K standalone solver for geochemical equilibria
|
Basic class for red/write fields of structure. More...
#include <io_arrays.h>
Public Member Functions | |
TRWArrays (short aNumFlds, outField *aFlds, fstream &fin) | |
Constructor. | |
virtual long int | findFld (const char *Name) |
Find field by name. | |
void | setNoAlws (long int ii) |
Set the data object can be skipped from the file and default value(s) can be used. | |
void | setNoAlws (const char *Name) |
Set the data object can be skipped from the file and default value(s) can be used. | |
void | setAlws (long int ii) |
Set the data object must be always present in the file. | |
void | setAlws (const char *Name) |
Set the data object Name must be always present in the file. | |
bool | getAlws (long int ii) |
Test the data object must be always present in the file. | |
bool | getAlws (const char *Name) |
Test the data object Name must be always present in the file. | |
Protected Attributes | |
fstream & | ff |
long int | numFlds |
Size of array flds. | |
outField * | flds |
Array of permissible fields. |
Basic class for red/write fields of structure.
bool TRWArrays::getAlws | ( | long int | ii | ) | [inline] |
Test the data object must be always present in the file.
ii | index in array flds |
bool TRWArrays::getAlws | ( | const char * | Name | ) | [inline] |
Test the data object Name must be always present in the file.
Name | of field in array flds |
void TRWArrays::setAlws | ( | long int | ii | ) | [inline] |
Set the data object must be always present in the file.
ii | index in array flds |
void TRWArrays::setAlws | ( | const char * | Name | ) | [inline] |
Set the data object Name must be always present in the file.
Name | of field in array flds |
void TRWArrays::setNoAlws | ( | long int | ii | ) | [inline] |
Set the data object can be skipped from the file and default value(s) can be used.
ii | index in array flds |
void TRWArrays::setNoAlws | ( | const char * | Name | ) | [inline] |
Set the data object can be skipped from the file and default value(s) can be used.
Name | of field in array flds |