|
IPhreeqc 2.18
|
IPhreeqc VARIANT Documentation More...
Go to the source code of this file.
Data Structures | |
| struct | VAR |
| Datatype used to store SELECTED_OUTPUT values. More... | |
Enumerations | |
| enum | VAR_TYPE { TT_EMPTY = 0, TT_ERROR = 1, TT_LONG = 2, TT_DOUBLE = 3, TT_STRING = 4 } |
Enumeration used to determine the type of data stored in a VAR. More... | |
| enum | VRESULT { VR_OK = 0, VR_OUTOFMEMORY = -1, VR_BADVARTYPE = -2, VR_INVALIDARG = -3, VR_INVALIDROW = -4, VR_INVALIDCOL = -5 } |
Enumeration used to return error codes. More... | |
Functions | |
| char * | VarAllocString (const char *pSrc) |
| VRESULT | VarClear (VAR *pvar) |
| VRESULT | VarCopy (VAR *pvarDest, const VAR *pvarSrc) |
| void | VarFreeString (char *pSrc) |
| void | VarInit (VAR *pvar) |
IPhreeqc VARIANT Documentation
| enum VAR_TYPE |
| enum VRESULT |
Enumeration used to return error codes.
| VR_OK |
Success |
| VR_OUTOFMEMORY |
Failure, Out of memory |
| VR_BADVARTYPE |
Failure, Invalid VAR type |
| VR_INVALIDARG |
Failure, Invalid argument |
| VR_INVALIDROW |
Failure, Invalid row |
| VR_INVALIDCOL |
Failure, Invalid column |
| char* VarAllocString | ( | const char * | pSrc | ) |
| void VarFreeString | ( | char * | pSrc | ) |
Frees a string allocated using VarAllocString.
| pSrc | Pointer to the string to be freed. |
1.7.3