Gems3k  3.1
GEMS3K standalone solver for geochemical equilibria
 All Classes Files Functions Variables Enumerations Enumerator
Public Member Functions | Protected Attributes
TRWArrays Class Reference

Basic class for red/write fields of structure. More...

#include <io_arrays.h>

Inheritance diagram for TRWArrays:
TPrintArrays TReadArrays

List of all members.

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.
outFieldflds
 Array of permissible fields.

Detailed Description

Basic class for red/write fields of structure.


Member Function Documentation

bool TRWArrays::getAlws ( long int  ii) [inline]

Test the data object must be always present in the file.

Parameters:
iiindex in array flds
bool TRWArrays::getAlws ( const char *  Name) [inline]

Test the data object Name must be always present in the file.

Parameters:
Nameof field in array flds
void TRWArrays::setAlws ( long int  ii) [inline]

Set the data object must be always present in the file.

Parameters:
iiindex in array flds
void TRWArrays::setAlws ( const char *  Name) [inline]

Set the data object Name must be always present in the file.

Parameters:
Nameof 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.

Parameters:
iiindex 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.

Parameters:
Nameof field in array flds

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