#include <AIDA_ObjectivityStore.h>
Collaboration diagram for Anaphe::AIDA_ObjectivityStore::AIDA_ObjyStore:
Public Methods | |
AIDA_ObjyStore (const std::string &name, bool readOnly, bool createNew, const std::string &options) | |
Constructor. | |
~AIDA_ObjyStore () | |
Destructor. | |
const std::string & | name () const |
Methods inherited from the IStore class. | |
bool | writeObject (const AIDA::IManagedObject &dataObject, const std::string &path) |
AIDA::IManagedObject * | copyAndWrite (const AIDA::IManagedObject &dataObject, const std::string &path) |
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. | |
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 Methods | |
void | collectObjectTypes (const std::string &directory) |
void | commitAdd () |
void | registerType (ooRef(ooObj) ref, const ooHandle(ooContObj)&hCont, const std::string &type) |
Private Attributes | |
std::string | m_name |
bool | m_isClosed |
ObjectivityOptionParser * | m_optionParser |
ooSession * | m_ooSession |
HepMapTree * | m_hepMapTree |
std::string | m_topLevelDatabase |
std::string | m_topLevelContainer |
std::map< std::string, std::string > | m_objectTypes |
std::map< std::string, AIDA::Dev::IDevManagedObject * > | m_objectRefs |
std::map< std::string, ooRef(ooObj) | m_objectSysRefs ) |
std::map< std::string, HepExplorable * > | m_tuples |
std::map< std::string, ObjyTuple * > | m_tupleData |
std::set< std::string > | m_objectsToAdd |
|
Definition at line 57 of file AIDA_ObjectivityStore.cpp. References collectObjectTypes(), Anaphe::AIDA_ObjectivityStore::ObjectivityOptionParser::isNamingEnabled(), m_hepMapTree, m_isClosed, m_ooSession, m_optionParser, m_topLevelContainer, m_topLevelDatabase, name(), ooHandle(), and Anaphe::AIDA_ObjectivityStore::ObjectivityOptionParser::topLevelDatabaseAndContainer(). |
|
Definition at line 157 of file AIDA_ObjectivityStore.cpp. References close(), m_hepMapTree, m_ooSession, m_optionParser, m_tupleData, and m_tuples. |
|
Definition at line 648 of file AIDA_ObjectivityStore.cpp. References m_tupleData. |
|
Definition at line 569 of file AIDA_ObjectivityStore.cpp. |
|
Definition at line 568 of file AIDA_ObjectivityStore.cpp. |
|
Definition at line 678 of file AIDA_ObjectivityStore.cpp. References m_tupleData. |
|
Definition at line 560 of file AIDA_ObjectivityStore.cpp. References m_isClosed, and m_ooSession. Referenced by ~AIDA_ObjyStore(). |
|
Definition at line 729 of file AIDA_ObjectivityStore.cpp. References Anaphe::AIDA_ObjectivityStore::ObjyPathFormater::formAbsolutePath(), Anaphe::AIDA_ObjectivityStore::ObjectivityOptionParser::isNamingEnabled(), m_objectTypes, m_ooSession, m_optionParser, m_topLevelContainer, m_topLevelDatabase, m_tuples, ooHandle(), registerType(), and Anaphe::AIDA_ObjectivityStore::ObjyPathFormater::theFormater(). Referenced by AIDA_ObjyStore(). |
|
Definition at line 531 of file AIDA_ObjectivityStore.cpp. References commitAdd(), m_objectRefs, m_objectsToAdd, m_objectSysRefs, m_ooSession, and ooHandle(). |
|
Definition at line 776 of file AIDA_ObjectivityStore.cpp. References m_objectRefs, m_objectsToAdd, m_objectSysRefs, m_ooSession, m_topLevelContainer, m_topLevelDatabase, and ooHandle(). Referenced by commit(). |
|
Definition at line 205 of file AIDA_ObjectivityStore.cpp. References m_objectTypes, name(), OBJECTIVITY_STORE_REPORT_ERROR, and writeObject(). |
|
Definition at line 444 of file AIDA_ObjectivityStore.cpp. References m_objectTypes. |
|
Definition at line 487 of file AIDA_ObjectivityStore.cpp. References m_objectTypes. |
|
Definition at line 407 of file AIDA_ObjectivityStore.cpp. References m_objectRefs, m_objectsToAdd, m_objectSysRefs, m_objectTypes, m_ooSession, m_topLevelContainer, m_topLevelDatabase, and ooHandle(). |
|
Definition at line 172 of file AIDA_ObjectivityStore.cpp. References m_name. Referenced by AIDA_ObjyStore(), and copyAndWrite(). |
|
Definition at line 618 of file AIDA_ObjectivityStore.cpp. References m_tupleData, m_tuples, OBJECTIVITY_STORE_REPORT_ERROR, Anaphe::AIDA_ObjectivityStore::ObjyTuple::readDescription(), and very_big_integer. Referenced by retrieveObject(). |
|
Definition at line 698 of file AIDA_ObjectivityStore.cpp. References m_tupleData, and very_big_integer. |
|
Definition at line 815 of file AIDA_ObjectivityStore.cpp. References Anaphe::AIDA_ObjectivityStore::ObjyPathFormater::formAbsolutePath(), m_objectRefs, m_objectSysRefs, m_objectTypes, and Anaphe::AIDA_ObjectivityStore::ObjyPathFormater::theFormater(). Referenced by collectObjectTypes(). |
|
Definition at line 362 of file AIDA_ObjectivityStore.cpp. References m_objectRefs, m_objectsToAdd, m_objectSysRefs, m_objectTypes, m_tupleData, m_tuples, and ooHandle(). |
|
Definition at line 719 of file AIDA_ObjectivityStore.cpp. References m_tupleData. |
|
Definition at line 257 of file AIDA_ObjectivityStore.cpp. References Anaphe::AIDA_ObjectivityStore::ObjyHistogramConverter::convertFromObjy(), m_objectRefs, m_objectSysRefs, m_objectTypes, m_tuples, OBJECTIVITY_STORE_REPORT_ERROR, ooHandle(), readTupleHeader(), and Anaphe::AIDA_ObjectivityStore::ObjyPathFormater::theFormater(). |
|
Definition at line 668 of file AIDA_ObjectivityStore.cpp. References m_tupleData. |
|
Definition at line 658 of file AIDA_ObjectivityStore.cpp. References m_tupleData. |
|
Definition at line 179 of file AIDA_ObjectivityStore.cpp. References m_objectRefs, m_objectsToAdd, and m_objectTypes. Referenced by copyAndWrite(). |
|
Definition at line 573 of file AIDA_ObjectivityStore.cpp. References m_ooSession, m_topLevelContainer, m_topLevelDatabase, m_tupleData, m_tuples, OBJECTIVITY_STORE_REPORT_ERROR, ooHandle(), and Anaphe::AIDA_ObjectivityStore::ObjyTuple::writeDescription(). |
|
Definition at line 688 of file AIDA_ObjectivityStore.cpp. References m_tupleData. |
|
Definition at line 76 of file AIDA_ObjectivityStore.h. Referenced by AIDA_ObjyStore(), and ~AIDA_ObjyStore(). |
|
Definition at line 73 of file AIDA_ObjectivityStore.h. Referenced by AIDA_ObjyStore(), and close(). |
|
Definition at line 72 of file AIDA_ObjectivityStore.h. Referenced by name(). |
|
Definition at line 82 of file AIDA_ObjectivityStore.h. Referenced by commit(), commitAdd(), moveObject(), registerType(), removeObject(), retrieveObject(), and writeObject(). |
|
Definition at line 87 of file AIDA_ObjectivityStore.h. Referenced by commit(), commitAdd(), moveObject(), removeObject(), and writeObject(). |
|
Definition at line 83 of file AIDA_ObjectivityStore.h. Referenced by commit(), commitAdd(), moveObject(), registerType(), removeObject(), and retrieveObject(). |
|
Definition at line 81 of file AIDA_ObjectivityStore.h. Referenced by collectObjectTypes(), copyAndWrite(), listObjectPaths(), listObjectTypes(), moveObject(), registerType(), removeObject(), retrieveObject(), and writeObject(). |
|
Definition at line 75 of file AIDA_ObjectivityStore.h. Referenced by AIDA_ObjyStore(), close(), collectObjectTypes(), commit(), commitAdd(), moveObject(), writeTupleHeader(), and ~AIDA_ObjyStore(). |
|
Definition at line 74 of file AIDA_ObjectivityStore.h. Referenced by AIDA_ObjyStore(), collectObjectTypes(), and ~AIDA_ObjyStore(). |
|
Definition at line 78 of file AIDA_ObjectivityStore.h. Referenced by AIDA_ObjyStore(), collectObjectTypes(), commitAdd(), moveObject(), and writeTupleHeader(). |
|
Definition at line 77 of file AIDA_ObjectivityStore.h. Referenced by AIDA_ObjyStore(), collectObjectTypes(), commitAdd(), moveObject(), and writeTupleHeader(). |
|
Definition at line 85 of file AIDA_ObjectivityStore.h. Referenced by bindVariable(), clearBindings(), readTupleHeader(), readTupleRow(), removeObject(), resetTuple(), variableAddress(), writeTupleHeader(), writeTupleRow(), and ~AIDA_ObjyStore(). |
|
Definition at line 84 of file AIDA_ObjectivityStore.h. Referenced by collectObjectTypes(), readTupleHeader(), removeObject(), retrieveObject(), writeTupleHeader(), and ~AIDA_ObjyStore(). |