1#ifndef INC_GLOTABLEWRITERINTERFACE_H
2#define INC_GLOTABLEWRITERINTERFACE_H
51 class UnsignedMagicNumber;
58 class TransactionIndexPool;
60 class BaseRecordAttribute;
223 virtual int openTable(
const std::string & sTableName );
251 std::vector< TransactionIndexPool * > * pTransactionIndexPoolVector = 0 );
278 std::vector< TransactionIndexPool * > * pTransactionIndexPoolVector = 0 );
441 const std::string & rsContents,
442 const std::streampos spFileIndexPosition );
475 const std::string & rsTableName,
476 unsigned long ulClassID,
477 const std::string & rsDataRow );
526 unsigned long ulClassID );
545 int readLastUL(
unsigned long & rulRetVal,
const std::string & rsFileName );
570 const std::string & rsFileName,
592 const std::string & rsFileName );
617 const std::string & rsFileName,
Header for TableInterface and TableInterface::TableInterfaceTable
For each library, here 'GlobalObjects' there is a type file.
#define __glo_export_dll
Definition GloTypes.h:70
A UnsignedMagicNumber is an artificial number consisting of numbers and letters (similar to hex numbe...
Definition EuUnsignedMagicNumber.h:122
Base class for the individual attributes of a Record.
Definition GloBaseRecordAttribute.h:116
An object ID consists of the class ID, a database ID and the actual unique object number (all unsigne...
Definition GloObjID.h:84
The real index as opposed to the TransactionIndexPool, which is created for each transaction
Definition GloRealIndexPool.h:69
Objects of this class transport the data from the tables into the persistent object and from these ag...
Definition GloRecord.h:108
This class is the interface to a GlobalObjects schema. It contains all class information to store obj...
Definition GloSchemaInterface.h:91
An object of this class or subclass accesses tables and reads or writes data records (Record) and bin...
Definition GloTableInterface.h:94
An object of this class accesses tables and writes data records (Record) and binary files (eut::Blob)...
Definition GloTableWriterInterface.h:77
std::vector< TransactionIndexPool * > * m_pTransactionIndexPoolVector
Definition GloTableWriterInterface.h:138
TableWriterInterface(const SchemaInterface &rScheme, RealIndexPool *pRealIndexPool)
int updateExternFiles(BaseRecordAttribute *pRecordAttribute, DATA_REFERENCE_INFO MethodInfo)
int readLastMagicNumber(eut::UnsignedMagicNumber &rRetVal, const std::string &rsFileName)
int writeLastUL(const unsigned long &rulVal, const std::string &rsFileName, bool bNew)
int updateInsert(Record *pInputUpdateRecord, EnInUd eInUd)
int writeLastMagicNumber(const eut::UnsignedMagicNumber &rVal, const std::string &rsFileName, bool bNew)
void removeForbiddenCharacters(std::string &rsField) const
TableWriterInterface(const TableWriterInterface &)
int updateObjectDataAttribute(BaseRecordAttribute *pRecordAttribute, ObjID ObjID)
int deleteObjectData(Record *pRecord, std::vector< TransactionIndexPool * > *pTransactionIndexPoolVector=0)
int writeLastObjCounter(const unsigned long &rulObjCounter, bool bNew)
virtual ~TableWriterInterface()
int getNewObjID(ObjID &rObjID)
int writeInTable(const std::string &rsTableName, const std::string &rsContents, const std::streampos spFileIndexPosition)
int readLastObjCounter(unsigned long &rulObjCounter)
int storeObjectData(Record *pRecord, std::vector< TransactionIndexPool * > *pTransactionIndexPoolVector=0)
int appendOnTable(std::streampos &rspFileIndexPosition, const std::string &rsTableName, unsigned long ulClassID, const std::string &rsDataRow)
int getFirstDeletedRecordItem(std::streampos &rspFileIndexPosition, unsigned long ulClassID)
virtual int openTable(const std::string &sTableName)
int readLastUL(unsigned long &rulRetVal, const std::string &rsFileName)
EnInUd
Definition GloTableWriterInterface.h:93
@ eINSERT
Definition GloTableWriterInterface.h:103
Definition GloAbstractBaseLot.h:49
unsigned long DATA_REFERENCE_INFO
Definition GloRecordAttributeTypes.h:774