psLookupTable.h File Reference


Detailed Description

This file defines the structure and functions for table lookups.

Author:
PAP, IfA

Ross Harman, MHPCC

Version:
Revision
1.17
Name
Date:
Date
2007/01/23 22:47:23
Copyright 2004 Maui High Performance Computing Center, University of Hawaii

Definition in file psLookupTable.h.

#include "psType.h"
#include "psVector.h"
#include "psArray.h"
#include "psLogMsg.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.

Data Structures

struct  psLookupTable
 Lookup table structure. More...

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.
psLookupTablepsLookupTableAlloc (const char *filename, const char *format, long indexCol)
 Allocator for psLookupTable struct.
psArraypsVectorsReadFromFile (const char *filename, const char *format)
 Read vectors from file.
psLookupTablepsLookupTableImport (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.
psVectorpsLookupTableInterpolateAll (const psLookupTable *table, double index)
 Lookup and interpolate all values from table.


Generated on Fri Feb 2 22:25:16 2007 for pslib by  doxygen 1.5.1