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

Anaphe::AIDA_MemoryStore::AIDA_StoreMemory Class Reference

Implementation of AIDA::Dev::IStore interface for a memory store.

#include <AIDA_MemoryStore.h>

Collaboration diagram for Anaphe::AIDA_MemoryStore::AIDA_StoreMemory:

Collaboration graph
[legend]
List of all members.

Public Methods

 AIDA_StoreMemory (const std::string &name)
 Constructor. More...

 ~AIDA_StoreMemory ()
 Destructor. More...

const std::string & name () const
 Methods inherited from the IStore class. More...

bool writeObject (const AIDA::IManagedObject &dataObject, const std::string &path)
AIDA::IManagedObject * copyAndWrite (const AIDA::IManagedObject &dataObject, const std::string &path)
 Here we need the AIDA types. More...

AIDA::IManagedObject * retrieveObject (const std::string &path)
bool removeObject (const std::string &path)
bool moveObject (const std::string &from, const std::string &to)
bool commit ()
bool close ()
std::vector< std::string > listObjectPaths (const std::string directory, bool recursive=false) const
std::vector< std::string > listObjectTypes (const std::string directory, bool recursive=false) const
bool canMoveTuples () const
bool canCopyTuples () const
bool writeTupleHeader (AIDA::Dev::ITupleHeader &header)
 Methods inherited from the IBackingStore class. More...

bool readTupleHeader (AIDA::Dev::ITupleHeader &header)
bool bindVariable (AIDA::Dev::ITupleHeader &header, int variableIndex)
void * variableAddress (AIDA::Dev::ITupleHeader &header, int variableIndex)
const void * variableAddress (const AIDA::Dev::ITupleHeader &header, int variableIndex) const
bool clearBindings (const AIDA::Dev::ITupleHeader &header)
bool writeTupleRow (AIDA::Dev::ITupleHeader &header)
bool readTupleRow (AIDA::Dev::ITupleHeader &header)
bool resetTuple (AIDA::Dev::ITupleHeader &header)

Private Attributes

std::string m_name
std::map< std::string, std::string > m_objectTypes
MemoryBackingStorem_backingStore

Constructor & Destructor Documentation

Anaphe::AIDA_MemoryStore::AIDA_StoreMemory::AIDA_StoreMemory const std::string &    name
 

Definition at line 22 of file AIDA_MemoryStore.cpp.

References m_backingStore.

Anaphe::AIDA_MemoryStore::AIDA_StoreMemory::~AIDA_StoreMemory  
 

Definition at line 37 of file AIDA_MemoryStore.cpp.

References m_backingStore.


Member Function Documentation

bool Anaphe::AIDA_MemoryStore::AIDA_StoreMemory::bindVariable AIDA::Dev::ITupleHeader &    header,
int    variableIndex
 

Definition at line 275 of file AIDA_MemoryStore.cpp.

References m_backingStore.

bool Anaphe::AIDA_MemoryStore::AIDA_StoreMemory::canCopyTuples   const
 

Definition at line 255 of file AIDA_MemoryStore.cpp.

bool Anaphe::AIDA_MemoryStore::AIDA_StoreMemory::canMoveTuples   const
 

Definition at line 254 of file AIDA_MemoryStore.cpp.

bool Anaphe::AIDA_MemoryStore::AIDA_StoreMemory::clearBindings const AIDA::Dev::ITupleHeader &    header
 

Definition at line 299 of file AIDA_MemoryStore.cpp.

References m_backingStore.

bool Anaphe::AIDA_MemoryStore::AIDA_StoreMemory::close  
 

Definition at line 248 of file AIDA_MemoryStore.cpp.

bool Anaphe::AIDA_MemoryStore::AIDA_StoreMemory::commit  
 

Definition at line 240 of file AIDA_MemoryStore.cpp.

AIDA::IManagedObject * Anaphe::AIDA_MemoryStore::AIDA_StoreMemory::copyAndWrite const AIDA::IManagedObject &    dataObject,
const std::string &    path
 

Definition at line 69 of file AIDA_MemoryStore.cpp.

References Anaphe::AIDA_MemoryStore::MemoryFunctionCopier::createCopy, Anaphe::AIDA_MemoryStore::MemoryDataPointSetCopier::createCopy, Anaphe::AIDA_MemoryStore::MemoryHistogramCopier::createCopy, MEMORY_STORE_REPORT_ERROR, name, and writeObject.

std::vector< std::string > Anaphe::AIDA_MemoryStore::AIDA_StoreMemory::listObjectPaths const std::string    directory,
bool    recursive = false
const
 

Definition at line 153 of file AIDA_MemoryStore.cpp.

References m_objectTypes.

std::vector< std::string > Anaphe::AIDA_MemoryStore::AIDA_StoreMemory::listObjectTypes const std::string    directory,
bool    recursive = false
const
 

Definition at line 196 of file AIDA_MemoryStore.cpp.

References m_objectTypes.

bool Anaphe::AIDA_MemoryStore::AIDA_StoreMemory::moveObject const std::string &    from,
const std::string &    to
 

Definition at line 140 of file AIDA_MemoryStore.cpp.

References m_objectTypes.

const std::string & Anaphe::AIDA_MemoryStore::AIDA_StoreMemory::name   const
 

Definition at line 44 of file AIDA_MemoryStore.cpp.

References m_name.

Referenced by copyAndWrite.

bool Anaphe::AIDA_MemoryStore::AIDA_StoreMemory::readTupleHeader AIDA::Dev::ITupleHeader &    header
 

Definition at line 267 of file AIDA_MemoryStore.cpp.

References m_backingStore.

bool Anaphe::AIDA_MemoryStore::AIDA_StoreMemory::readTupleRow AIDA::Dev::ITupleHeader &    header
 

Definition at line 315 of file AIDA_MemoryStore.cpp.

References m_backingStore.

bool Anaphe::AIDA_MemoryStore::AIDA_StoreMemory::removeObject const std::string &    path
 

Definition at line 131 of file AIDA_MemoryStore.cpp.

References m_objectTypes.

bool Anaphe::AIDA_MemoryStore::AIDA_StoreMemory::resetTuple AIDA::Dev::ITupleHeader &    header
 

Definition at line 323 of file AIDA_MemoryStore.cpp.

References m_backingStore.

AIDA::IManagedObject * Anaphe::AIDA_MemoryStore::AIDA_StoreMemory::retrieveObject const std::string &    path
 

Definition at line 123 of file AIDA_MemoryStore.cpp.

const void * Anaphe::AIDA_MemoryStore::AIDA_StoreMemory::variableAddress const AIDA::Dev::ITupleHeader &    header,
int    variableIndex
const
 

Definition at line 291 of file AIDA_MemoryStore.cpp.

References m_backingStore.

void * Anaphe::AIDA_MemoryStore::AIDA_StoreMemory::variableAddress AIDA::Dev::ITupleHeader &    header,
int    variableIndex
 

Definition at line 283 of file AIDA_MemoryStore.cpp.

References m_backingStore.

bool Anaphe::AIDA_MemoryStore::AIDA_StoreMemory::writeObject const AIDA::IManagedObject &    dataObject,
const std::string &    path
 

Definition at line 51 of file AIDA_MemoryStore.cpp.

References m_objectTypes.

Referenced by copyAndWrite.

bool Anaphe::AIDA_MemoryStore::AIDA_StoreMemory::writeTupleHeader AIDA::Dev::ITupleHeader &    header
 

Definition at line 259 of file AIDA_MemoryStore.cpp.

References m_backingStore.

bool Anaphe::AIDA_MemoryStore::AIDA_StoreMemory::writeTupleRow AIDA::Dev::ITupleHeader &    header
 

Definition at line 307 of file AIDA_MemoryStore.cpp.

References m_backingStore.


Member Data Documentation

MemoryBackingStore* Anaphe::AIDA_MemoryStore::AIDA_StoreMemory::m_backingStore [private]
 

Definition at line 64 of file AIDA_MemoryStore.h.

Referenced by AIDA_StoreMemory, bindVariable, clearBindings, readTupleHeader, readTupleRow, resetTuple, variableAddress, writeTupleHeader, writeTupleRow, and ~AIDA_StoreMemory.

std::string Anaphe::AIDA_MemoryStore::AIDA_StoreMemory::m_name [private]
 

Definition at line 62 of file AIDA_MemoryStore.h.

Referenced by name.

std::map< std::string, std::string > Anaphe::AIDA_MemoryStore::AIDA_StoreMemory::m_objectTypes [private]
 

Definition at line 63 of file AIDA_MemoryStore.h.

Referenced by listObjectPaths, listObjectTypes, moveObject, removeObject, and writeObject.


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