Definition in file psLookupTable.h.
#include "psType.h"
#include "psVector.h"
#include "psArray.h"
Include dependency graph for psLookupTable.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Enumerations | |
| enum | psLookupStatusType { PS_LOOKUP_SUCCESS = 0x0000, PS_LOOKUP_PAST_TOP = 0x0101, PS_LOOKUP_PAST_BOTTOM = 0x0102, PS_LOOKUP_ERROR = 0x0104 } |
| Lookup table lookup status and error conditions. More... | |
| enum | psParseErrorType { PS_PARSE_SUCCESS = 0x0000, PS_PARSE_ERROR_TYPE = 0x0101, PS_PARSE_ERROR_VALUE = 0x0102, PS_PARSE_ERROR_GENERAL = 0x0104 } |
| Lookup table parse status and error conditions. More... | |
Functions | |
| bool | psMemCheckLookupTable (psPtr ptr) |
| Checks the type of a particular pointer. | |
| psLookupTable * | psLookupTableAlloc (const char *filename, const char *format, long indexCol) |
| Allocator for psLookupTable struct. | |
| psArray * | psVectorsReadFromFile (const char *filename, const char *format) |
| Read vectors from file. | |
| psLookupTable * | psLookupTableImport (psLookupTable *table, const psArray *vectors, long indexCol) |
| Import arrays of vectors into a table. | |
| long | psLookupTableRead (psLookupTable *table) |
| Read lookup table. | |
| double | psLookupTableInterpolate (const psLookupTable *table, double index, long column) |
| Lookup and interpolate value from table. | |
| psVector * | psLookupTableInterpolateAll (const psLookupTable *table, double index) |
| Lookup and interpolate all values from table. | |
|
|
Lookup table lookup status and error conditions. Success, failure, and status conditions for table lookups.
Definition at line 45 of file psLookupTable.h. |
|
|
Lookup table parse status and error conditions. Success, failure, and status conditions for table parsing.
Definition at line 56 of file psLookupTable.h. |
|
||||||||||||||||
|
Allocator for psLookupTable struct. Allocates a new psLookupTable struct.
|
|
||||||||||||||||
|
Import arrays of vectors into a table. Import array of vectors read from text file into a table structure
|
|
||||||||||||||||
|
Lookup and interpolate value from table. Interpolates value from table. Sets status bit for success or one of several possible failure conditions.
|
|
||||||||||||
|
Lookup and interpolate all values from table. Interpolates all values from table. Sets status bit for success or one of several possible failure conditions.
|
|
|
Read lookup table. Reads a lookup table and fills corresponding psLookupTable struct.
|
|
|
Checks the type of a particular pointer. Uses the appropriate deallocation function in psMemBlock to check the ptr datatype.
|
|
||||||||||||
|
Read vectors from file. Read numeric vectors from ASCII text file
|
1.4.2