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

Anaphe::AIDA_MemoryStore::MemoryPersistentTuple Class Reference

#include <MemoryPersistentTuple.h>

Inheritance diagram for Anaphe::AIDA_MemoryStore::MemoryPersistentTuple:

Inheritance graph
[legend]
Collaboration diagram for Anaphe::AIDA_MemoryStore::MemoryPersistentTuple:

Collaboration graph
[legend]
List of all members.

Public Methods

 MemoryPersistentTuple (IMemoryBackingStore *store, AIDA::Dev::IDevTupleFactory &factory, MemoryTupleData *data, const std::string &pathInStore)
 ~MemoryPersistentTuple ()
bool setTupleData (MemoryTupleData *data)
MemoryTupleDatatupleData () const
bool bindVariable (int variableIndex)
bool clearBindings ()
bool writeTupleRow (int rowNumber)
bool readTupleRow (int rowNumber)
void * variableAddress (int variableIndex)
const void * variableAddress (int variableIndex) const

Private Attributes

IMemoryBackingStorem_store
AIDA::Dev::IDevTupleFactory & m_factory
MemoryTupleDatam_tupleData
std::string m_pathInStore
int m_currentRow
std::vector< void * > m_cache

Constructor & Destructor Documentation

Anaphe::AIDA_MemoryStore::MemoryPersistentTuple::MemoryPersistentTuple IMemoryBackingStore   store,
AIDA::Dev::IDevTupleFactory &    factory,
MemoryTupleData   data,
const std::string &    pathInStore
 

Definition at line 11 of file MemoryPersistentTuple.cpp.

Anaphe::AIDA_MemoryStore::MemoryPersistentTuple::~MemoryPersistentTuple  
 

Definition at line 23 of file MemoryPersistentTuple.cpp.

References m_cache, and m_tupleData.


Member Function Documentation

bool Anaphe::AIDA_MemoryStore::MemoryPersistentTuple::bindVariable int    variableIndex [virtual]
 

Implements Anaphe::AIDA_MemoryStore::IMemoryPersistentTuple.

Definition at line 57 of file MemoryPersistentTuple.cpp.

References m_cache, m_factory, m_pathInStore, m_store, m_tupleData, and subTuplePrefix.

Referenced by variableAddress.

bool Anaphe::AIDA_MemoryStore::MemoryPersistentTuple::clearBindings   [virtual]
 

Implements Anaphe::AIDA_MemoryStore::IMemoryPersistentTuple.

Definition at line 92 of file MemoryPersistentTuple.cpp.

References m_cache, m_store, and m_tupleData.

bool Anaphe::AIDA_MemoryStore::MemoryPersistentTuple::readTupleRow int    rowNumber [virtual]
 

Implements Anaphe::AIDA_MemoryStore::IMemoryPersistentTuple.

Definition at line 201 of file MemoryPersistentTuple.cpp.

References Anaphe::AIDA_MemoryStore::MemoryTupleData::boolVariableData, Anaphe::AIDA_MemoryStore::MemoryTupleData::charVariableData, Anaphe::AIDA_MemoryStore::MemoryTupleData::doubleVariableData, Anaphe::AIDA_MemoryStore::MemoryTupleData::floatVariableData, Anaphe::AIDA_MemoryStore::MemoryTupleData::intVariableData, Anaphe::AIDA_MemoryStore::MemoryTupleData::longVariableData, m_cache, m_store, m_tupleData, Anaphe::AIDA_MemoryStore::MemoryTupleData::shortVariableData, Anaphe::AIDA_MemoryStore::MemoryTupleData::stringVariableData, Anaphe::AIDA_MemoryStore::MemoryTupleData::tupleVariableData, and Anaphe::AIDA_MemoryStore::MemoryTupleData::variables.

bool Anaphe::AIDA_MemoryStore::MemoryPersistentTuple::setTupleData MemoryTupleData   data [virtual]
 

Implements Anaphe::AIDA_MemoryStore::IMemoryPersistentTuple.

Definition at line 41 of file MemoryPersistentTuple.cpp.

References m_tupleData.

Anaphe::AIDA_MemoryStore::MemoryTupleData * Anaphe::AIDA_MemoryStore::MemoryPersistentTuple::tupleData   const [virtual]
 

Implements Anaphe::AIDA_MemoryStore::IMemoryPersistentTuple.

Definition at line 51 of file MemoryPersistentTuple.cpp.

References m_tupleData.

const void * Anaphe::AIDA_MemoryStore::MemoryPersistentTuple::variableAddress int    variableIndex const [virtual]
 

Implements Anaphe::AIDA_MemoryStore::IMemoryPersistentTuple.

Definition at line 284 of file MemoryPersistentTuple.cpp.

References m_cache.

void * Anaphe::AIDA_MemoryStore::MemoryPersistentTuple::variableAddress int    variableIndex [virtual]
 

Implements Anaphe::AIDA_MemoryStore::IMemoryPersistentTuple.

Definition at line 277 of file MemoryPersistentTuple.cpp.

References bindVariable, and m_cache.

bool Anaphe::AIDA_MemoryStore::MemoryPersistentTuple::writeTupleRow int    rowNumber [virtual]
 

Implements Anaphe::AIDA_MemoryStore::IMemoryPersistentTuple.

Definition at line 117 of file MemoryPersistentTuple.cpp.

References Anaphe::AIDA_MemoryStore::MemoryTupleData::boolVariableData, Anaphe::AIDA_MemoryStore::MemoryTupleData::charVariableData, Anaphe::AIDA_MemoryStore::MemoryTupleData::doubleVariableData, Anaphe::AIDA_MemoryStore::MemoryTupleData::floatVariableData, Anaphe::AIDA_MemoryStore::MemoryTupleData::intVariableData, Anaphe::AIDA_MemoryStore::MemoryTupleData::longVariableData, m_cache, m_factory, m_store, m_tupleData, Anaphe::AIDA_MemoryStore::IMemoryPersistentTuple::setTupleData, Anaphe::AIDA_MemoryStore::MemoryTupleData::shortVariableData, Anaphe::AIDA_MemoryStore::MemoryTupleData::stringVariableData, Anaphe::AIDA_MemoryStore::IMemoryPersistentTuple::tupleData, Anaphe::AIDA_MemoryStore::MemoryTupleData::tupleVariableData, and Anaphe::AIDA_MemoryStore::MemoryTupleData::variables.


Member Data Documentation

std::vector< void* > Anaphe::AIDA_MemoryStore::MemoryPersistentTuple::m_cache [private]
 

Definition at line 43 of file MemoryPersistentTuple.h.

Referenced by bindVariable, clearBindings, readTupleRow, variableAddress, writeTupleRow, and ~MemoryPersistentTuple.

int Anaphe::AIDA_MemoryStore::MemoryPersistentTuple::m_currentRow [private]
 

Definition at line 42 of file MemoryPersistentTuple.h.

AIDA::Dev::IDevTupleFactory& Anaphe::AIDA_MemoryStore::MemoryPersistentTuple::m_factory [private]
 

Definition at line 39 of file MemoryPersistentTuple.h.

Referenced by bindVariable, and writeTupleRow.

std::string Anaphe::AIDA_MemoryStore::MemoryPersistentTuple::m_pathInStore [private]
 

Definition at line 41 of file MemoryPersistentTuple.h.

Referenced by bindVariable.

IMemoryBackingStore* Anaphe::AIDA_MemoryStore::MemoryPersistentTuple::m_store [private]
 

Definition at line 38 of file MemoryPersistentTuple.h.

Referenced by bindVariable, clearBindings, readTupleRow, and writeTupleRow.

MemoryTupleData* Anaphe::AIDA_MemoryStore::MemoryPersistentTuple::m_tupleData [private]
 

Definition at line 40 of file MemoryPersistentTuple.h.

Referenced by bindVariable, clearBindings, readTupleRow, setTupleData, tupleData, writeTupleRow, and ~MemoryPersistentTuple.


The documentation for this class was generated from the following files:
Generated on Tue May 20 14:49:36 2003 for AIDA_MemoryStore by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002