Overture  Version 25
Public Member Functions | Public Attributes | List of all members
DataBaseBuffer Class Reference

#include <DataBaseBuffer.h>

Public Member Functions

 DataBaseBuffer ()
 
 ~DataBaseBuffer ()
 
bool isOpen () const
 
void openBuffer (GenericDataBase &db, const GenericDataBase::InputOutputMode &mode)
 
void closeBuffer (GenericDataBase &db)
 
int putToBuffer (const int &size, const char *data)
 
int putToBuffer (const int &size, const int *data)
 
int putToBuffer (const int &size, const float *data)
 
int putToBuffer (const int &size, const double *data)
 
int putToBuffer (const int &size, const bool *data)
 
int getFromBuffer (const int &size, char *data)
 
int getFromBuffer (const int &size, int *data)
 
int getFromBuffer (const int &size, float *data)
 
int getFromBuffer (const int &size, double *data)
 
int getFromBuffer (const int &size, bool *data)
 
int putToBuffer (const intSerialArray &a)
 
int putToBuffer (const floatSerialArray &a)
 
int putToBuffer (const doubleSerialArray &a)
 
int getFromBuffer (intSerialArray &a)
 
int getFromBuffer (floatSerialArray &a)
 
int getFromBuffer (doubleSerialArray &a)
 
int putDistributedToBuffer (const intArray &a)
 
int putDistributedToBuffer (const floatArray &a)
 
int putDistributedToBuffer (const doubleArray &a)
 
int getDistributedFromBuffer (intArray &a)
 
int getDistributedFromBuffer (floatArray &a)
 
int getDistributedFromBuffer (doubleArray &a)
 

Public Attributes

int fp
 
int ip
 
int dp
 
int floatBufferSize
 
int intBufferSize
 
int doubleBufferSize
 
int floatBufferSizeIncrement
 
int intBufferSizeIncrement
 
int doubleBufferSizeIncrement
 
floatSerialArray floatBuffer
 
intSerialArray intBuffer
 
doubleSerialArray doubleBuffer
 
aString OvertureVersion
 
int numberOfArrays
 

Constructor & Destructor Documentation

DataBaseBuffer::DataBaseBuffer ( )
DataBaseBuffer::~DataBaseBuffer ( )

Member Function Documentation

void DataBaseBuffer::closeBuffer ( GenericDataBase db)
int DataBaseBuffer::getDistributedFromBuffer ( intArray &  a)
int DataBaseBuffer::getDistributedFromBuffer ( floatArray &  a)
int DataBaseBuffer::getDistributedFromBuffer ( doubleArray &  a)
int DataBaseBuffer::getFromBuffer ( const int &  size,
char *  data 
)

Referenced by HDF_DataBase::get().

int DataBaseBuffer::getFromBuffer ( const int &  size,
int *  data 
)
int DataBaseBuffer::getFromBuffer ( const int &  size,
float *  data 
)
int DataBaseBuffer::getFromBuffer ( const int &  size,
double *  data 
)
int DataBaseBuffer::getFromBuffer ( const int &  size,
bool *  data 
)
int DataBaseBuffer::getFromBuffer ( intSerialArray &  a)
int DataBaseBuffer::getFromBuffer ( floatSerialArray &  a)
int DataBaseBuffer::getFromBuffer ( doubleSerialArray &  a)
bool DataBaseBuffer::isOpen ( ) const
void DataBaseBuffer::openBuffer ( GenericDataBase db,
const GenericDataBase::InputOutputMode mode 
)
int DataBaseBuffer::putDistributedToBuffer ( const intArray &  a)
int DataBaseBuffer::putDistributedToBuffer ( const floatArray &  a)
int DataBaseBuffer::putDistributedToBuffer ( const doubleArray &  a)
int DataBaseBuffer::putToBuffer ( const int &  size,
const char *  data 
)

Referenced by HDF_DataBase::put().

int DataBaseBuffer::putToBuffer ( const int &  size,
const int *  data 
)
int DataBaseBuffer::putToBuffer ( const int &  size,
const float *  data 
)
int DataBaseBuffer::putToBuffer ( const int &  size,
const double *  data 
)
int DataBaseBuffer::putToBuffer ( const int &  size,
const bool *  data 
)
int DataBaseBuffer::putToBuffer ( const intSerialArray &  a)
int DataBaseBuffer::putToBuffer ( const floatSerialArray &  a)
int DataBaseBuffer::putToBuffer ( const doubleSerialArray &  a)

Member Data Documentation

doubleSerialArray DataBaseBuffer::doubleBuffer

Referenced by closeBuffer(), and openBuffer().

int DataBaseBuffer::doubleBufferSize

Referenced by openBuffer().

int DataBaseBuffer::doubleBufferSizeIncrement

Referenced by openBuffer().

int DataBaseBuffer::dp

Referenced by closeBuffer(), and openBuffer().

floatSerialArray DataBaseBuffer::floatBuffer

Referenced by closeBuffer(), and openBuffer().

int DataBaseBuffer::floatBufferSize

Referenced by openBuffer().

int DataBaseBuffer::floatBufferSizeIncrement

Referenced by openBuffer().

int DataBaseBuffer::fp

Referenced by closeBuffer(), and openBuffer().

intSerialArray DataBaseBuffer::intBuffer

Referenced by closeBuffer(), and openBuffer().

int DataBaseBuffer::intBufferSize

Referenced by openBuffer().

int DataBaseBuffer::intBufferSizeIncrement

Referenced by openBuffer().

int DataBaseBuffer::ip

Referenced by closeBuffer(), and openBuffer().

int DataBaseBuffer::numberOfArrays

Referenced by openBuffer().

aString DataBaseBuffer::OvertureVersion

Referenced by DataBaseBuffer(), and openBuffer().


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