1#ifndef INC_GLOTABLEINTERFACE_H
2#define INC_GLOTABLEINTERFACE_H
46#include <unordered_map>
53 class SchemaInterface;
55 class ObjIDRecordAttribute;
56 class BaseRecordAttribute;
60 #pragma warning( disable : 4251 )
202 const std::string & m_sTableName,
203 std::ios_base::openmode OpenMode );
447 virtual int openTable(
const std::string & sTableName ) = 0;
535 const std::string & sTable,
536 const ObjID & rObjID );
595 const std::string & sFullFileName,
596 std::ios_base::openmode OpenMode );
646 #pragma warning( default : 4251 )
For each library, here 'GlobalObjects' there is a type file.
#define __glo_export_dll
Definition GloTypes.h:70
An object ID consists of the class ID, a database ID and the actual unique object number (all unsigne...
Definition GloObjID.h:84
A class for the object ID attributes of a Record. Represents an attribute of type 'ObjID'.
Definition GloObjIDRecordAttribute.h:68
The real index as opposed to the TransactionIndexPool, which is created for each transaction
Definition GloRealIndexPool.h:69
This class is the interface to a GlobalObjects schema. It contains all class information to store obj...
Definition GloSchemaInterface.h:91
A file (std::fstream) and its name.
Definition GloTableInterface.h:113
std::string getTableName() const
std::ios_base::openmode getOpenMode() const
void dekrementOpenCounter()
std::ios_base::openmode m_OpenMode
Definition GloTableInterface.h:148
std::fstream * getTable() const
std::string m_sTableName
Definition GloTableInterface.h:137
int m_iOpenCounter
Definition GloTableInterface.h:166
std::fstream * m_pTabelle
Definition GloTableInterface.h:126
TableInterfaceTable(const TableInterfaceTable &)
TableInterfaceTable(std::fstream *pTable, const std::string &m_sTableName, std::ios_base::openmode OpenMode)
void inkrementOpenCounter()
An object of this class or subclass accesses tables and reads or writes data records (Record) and bin...
Definition GloTableInterface.h:94
virtual ~TableInterface()
int getObjIDRecordAttribute(ObjIDRecordAttribute *&prRetVal, const std::string &sTable, const ObjID &rObjID)
std::string getDataPath() const
int openFile(std::fstream *&prFStream, const std::string &sFullFileName, std::ios_base::openmode OpenMode)
virtual int closeTable(const std::string &sTable)
int objIDInBase(bool &rPresent, const ObjID &rObjID) const
RealIndexPool * m_pRealIndexPool
Definition GloTableInterface.h:362
SchemaInterface * m_pSchema
Definition GloTableInterface.h:350
TableInterface(const SchemaInterface &rScheme, RealIndexPool *pRealIndexPool)
TableInterface(const TableInterface &)
SchemaInterface & getSchemaInterface()
std::string getSchemaPath() const
virtual int openTable(const std::string &sTableName)=0
std::unordered_map< std::string, TableInterfaceTable * > m_OpenTableMap
Definition GloTableInterface.h:339
TableInterface::TableInterfaceTable * getTable(const std::string &m_sTableName)
Definition GloAbstractBaseLot.h:49