Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

keyinfo.h File Reference

#include <typeinfo>
#include <vector>
#include "semaphore.h"

Go to the source code of this file.

Compounds

struct  KeyInfo
class  KeyTable

Defines

#define keyType(T)   ((char *) typeid(T).name())

Enumerations

enum  Permission { KEY_READ_ONLY, KEY_READ_WRITE }
enum  VariableType {
  UNKNOWN, CHAR, SHORT, INT,
  LONG, FLOAT, DOUBLE
}
enum  DataType {
  GENERIC_DATA = 0, VARIABLE, CUSTOM_STRUCTURE, STATIC_1D_ARRAY,
  STATIC_2D_ARRAY, STATIC_3D_ARRAY, STATIC_4D_ARRAY, DYNAMIC_1D_ARRAY,
  DYNAMIC_2D_ARRAY, DYNAMIC_3D_ARRAY, DYNAMIC_4D_ARRAY
}

Functions

int packStruct (KeyTable *T, unsigned char **dataptr, int &totsize)
int unpackStruct (KeyTable *T, unsigned char *data, int size)


Define Documentation

#define keyType      ((char *) typeid(T).name())
 

Definition at line 114 of file keyinfo.h.

Referenced by DataServer::Register_Dynamic_1D_Array(), DataServer::Register_Dynamic_2D_Array(), DataServer::Register_Dynamic_3D_Array(), DataServer::Register_Dynamic_4D_Array(), DataServer::Register_Static_Array(), DataServer::Register_Structure(), and DataServer::Register_Variable().


Enumeration Type Documentation

enum DataType
 

Enumeration values:
GENERIC_DATA 
VARIABLE 
CUSTOM_STRUCTURE 
STATIC_1D_ARRAY 
STATIC_2D_ARRAY 
STATIC_3D_ARRAY 
STATIC_4D_ARRAY 
DYNAMIC_1D_ARRAY 
DYNAMIC_2D_ARRAY 
DYNAMIC_3D_ARRAY 
DYNAMIC_4D_ARRAY 

Definition at line 26 of file keyinfo.h.

Referenced by DataServer::isRunningMPI(), DataServer::Register_Static_Array(), DataServer::RegisterKey(), and unpackStruct().

enum Permission
 

Enumeration values:
KEY_READ_ONLY 
KEY_READ_WRITE 

Definition at line 9 of file keyinfo.h.

enum VariableType
 

Enumeration values:
UNKNOWN 
CHAR 
SHORT 
INT 
LONG 
FLOAT 
DOUBLE 

Definition at line 15 of file keyinfo.h.

Referenced by DataServer::GetValue(), DataClient::RecvValue(), DataServer::RegisterKey(), DataClient::SetPrintFlag(), and DataClient::VarType().


Function Documentation

int packStruct KeyTable   T,
unsigned char **    dataptr,
int &    totsize
 

Definition at line 4 of file keyinfo.cc.

int unpackStruct KeyTable   T,
unsigned char *    data,
int    size
 

Definition at line 32 of file keyinfo.cc.

References DataType, DYNAMIC_1D_ARRAY, DYNAMIC_2D_ARRAY, DYNAMIC_3D_ARRAY, DYNAMIC_4D_ARRAY, STATIC_2D_ARRAY, STATIC_3D_ARRAY, and STATIC_4D_ARRAY.


Generated on Sun Jun 16 17:36:50 2002 for POSSE: Portable Object-oriented Scientific Steering Environment by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001