1#ifndef INC_GLODATASTREAMER_H
2#define INC_GLODATASTREAMER_H
55#if defined (__PTHREADS)
72 class BaseRecordAttribute;
147 #if defined (__PTHREADS)
330 std::map<
ObjID,
ObjID, std::less<ObjID> > & rReadyRecordMap );
474 const std::map<
ObjID,
Record *, std::less<ObjID> > & rRecordMap,
475 std::map<
ObjID,
ObjID, std::less<ObjID> > & rReadyRecordMap );
619 const std::list< Record * > & rRecordList,
620 std::map<
ObjID,
ObjID, std::less<ObjID> > & rReadyRecordMap );
797 const std::map<
unsigned long,
ClassInfo *, std::less<unsigned long> > & rClassInfoMap );
902 const std::vector< LimitRecord > & rLimitRecordVector );
1084 std::map<
ObjID,
ObjID, std::less<ObjID> > & rReadyRecordMap );
1365 std::map<
ObjID,
ObjID, std::less<ObjID> > & rReadyRecordMap );
1411 template<
typename T>
int streamDataLotAttributeInBlob(
eut::Blob & rAttributeValueBlob, T & rSet );
1728 const std::map< unsigned long, ClassInfo * > & prClassInfoMap,
1729 unsigned long ulClassID = 0 );
1775 const std::map< unsigned long, ClassInfo * > & prClassInfoMap);
1821 const std::map< unsigned long, ClassInfo * > & prClassInfoMap );
2081 const std::map< unsigned long, ClassInfo * > & prClassInfoMap,
2082 std::map<
ObjID,
Record *, std::less<ObjID> > & rReadyRecordMap,
2083 unsigned long ulClassID = 0 );
2136 std::list<Record *> *& rpRecordList,
2139 const std::map< unsigned long, ClassInfo * > & prClassInfoMap );
2269 const std::map< unsigned long, ClassInfo * > & prClassInfoMap,
2270 std::map<
ObjID,
Record *, std::less<ObjID> > & rReadyRecordMap,
2271 unsigned long ulClassID = 0 );
2325 const std::string & rsFileInfo,
2326 unsigned int uiAttributeInformation,
2327 const std::map< unsigned long, ClassInfo * > & prClassInfoMap,
2328 std::map<
ObjID,
Record *, std::less<ObjID> > & rReadyRecordMap,
2329 unsigned long ulClassID = 0 );
2517 const std::string & rsTagVar );
2559 const std::string & rsTagVar );
2580 typename T::const_iterator t_Iter;
2581 std::ostringstream t_ossIterConverter,
2584 for ( t_Iter = rSet.begin();
2585 t_Iter != rSet.end();
2588 t_ossIterConverter.str(
"");
2589 t_ossSizeConverter.str(
"");
2590 t_ossIterConverter << (*t_Iter);
2591 t_iErr = rAttributeValueBlob.
append(
"<e l=\"", 6 );
2592 t_ossSizeConverter << t_ossIterConverter.str().size();
2593 if ( ! t_iErr ) t_iErr = rAttributeValueBlob.
append( t_ossSizeConverter.str().c_str(),
2594 t_ossSizeConverter.str().size() );
2595 if ( ! t_iErr ) t_iErr = rAttributeValueBlob.
append(
"\">", 2 );
2596 if ( ! t_iErr ) t_iErr = rAttributeValueBlob.
append( t_ossIterConverter.str().c_str(), t_ossIterConverter.str().size() );
2597 if ( ! t_iErr ) t_iErr = rAttributeValueBlob.
append(
"</e>", 4 );
2598 if ( t_iErr )
break;
Header for CriticalSection
Header for EuPCriticalSection
Header for ClassInfoAttribute and ClassInfoAttribute::Type
Header for ClassInfoIndex and ClassInfoIndex::IndexAttributeItem
Header for LockManager LockManager::LockedObject LockManager::LockedObject::CommunicatorRightsRes...
For each library, here 'GlobalObjects' there is a type file.
#define __glo_export_dll
Definition GloTypes.h:70
Is a mutex which can be queried via its lock mode. See isLocked().
Definition EuPCriticalSection.h:104
This class allows to edit a blob (insert, copy, search etc.).
Definition EuBlob.h:75
int append(const char *pBuffer, std::size_t nBufferSize)
Is a mutex which can be queried via its lock mode. See isLocked().
Definition EuCriticalSection.h:109
Base class for the individual attributes of a Record.
Definition GloBaseRecordAttribute.h:116
Summarized type information for a ClassInfoAttribute.
Definition GloClassInfoAttribute.h:108
In objects of this class, the information for GlobalObjects is how a persistent class attribute is st...
Definition GloClassInfoAttribute.h:83
This class contains all information to store objects of a class in a database, to build objects from ...
Definition GloClassInfo.h:86
Information for the index about which attribute from which class, with how many characters,...
Definition GloClassInfoIndex.h:111
In objects of this class, the information for GlobalObjects is how an index is structured.
Definition GloClassInfoIndex.h:85
This class encodes or decodes data for transport in a TCP packet.
Definition GloDataStreamer.h:96
int streamBlobInData(std::map< ObjID, Record *, std::less< ObjID > > *&rpRecordMap, const eut::Blob &rBlob, const std::map< unsigned long, ClassInfo * > &prClassInfoMap)
eut::CriticalSection m_LocalCriticalSection
Definition GloDataStreamer.h:150
std::size_t streamDataLimitRecordInBlob(eut::Blob &rBlob, const LimitRecord &rLimitRecord)
int streamDataInBlob(eut::Blob &rBlob, const std::map< ObjID, Record *, std::less< ObjID > > &rRecordMap, std::map< ObjID, ObjID, std::less< ObjID > > &rReadyRecordMap)
int streamDataInBlob(eut::Blob &rBlob, const ClassInfo &rClassInfo)
std::size_t streamDataClassInfoInBlob(eut::Blob &rBlob, const ClassInfo &rClassInfo)
int streamBlobInData(ClassInfoAttribute::Type *&rpClassInfoAttributeType, const eut::Blob &rBlob)
int streamDataInBlob(eut::Blob &rBlob, const std::map< unsigned long, ClassInfo *, std::less< unsigned long > > &rClassInfoMap)
int streamBlobInClassInfo(ClassInfo *&rpClassInfo, const eut::Blob &rBlob)
int streamBlobInData(std::vector< LimitRecord > *&prLimitRecordVector, const eut::Blob &rBlob)
int streamDataInBlob(eut::Blob &rBlob, const LimitRecord &rLimitRecord)
int streamDataInBlob(eut::Blob &rBlob, const std::vector< LimitRecord > &rLimitRecordVector)
int getTagVariable(std::size_t &rnRetVal, const eut::Blob &rBlob, const std::string &rsTagVar)
int streamDataInBlob(eut::Blob &rBlob, const Record &rRecord, std::map< ObjID, ObjID, std::less< ObjID > > &rReadyRecordMap)
int streamBlobIndexItemsInClassInfoIndex(ClassInfoIndex &rClassInfoIndex, const eut::Blob &rBlob)
std::size_t streamDataClassInfoIndexAttributeInBlob(eut::Blob &rBlob, const ClassInfoIndex::IndexAttributeItem &rIndexAttributeInfo)
int streamBlobInRecordContainer(std::map< ObjID, Record *, std::less< ObjID > > *&rpRecordMap, std::list< Record * > *&rpRecordList, ContainerType eContainerType, const eut::Blob &rBlob, const std::map< unsigned long, ClassInfo * > &prClassInfoMap)
std::size_t streamDataClassInfoAttributeInBlob(eut::Blob &rBlob, const ClassInfoAttribute &rAttribute)
int streamBlobLimitRecordInLimitRecordAttribute(LimitRecord &rLimitRecord, const eut::Blob &rBlob)
DataStreamer(const DataStreamer &)
int streamBlobInData(std::map< unsigned long, ClassInfo *, std::less< unsigned long > > *&prClassInfoMap, const eut::Blob &rBlob)
int streamBlobInData(LimitRecord *&prLimitRecord, const eut::Blob &rBlob)
int streamDataInBlob(eut::Blob &rBlob, const ClassInfoAttribute::Type &rClassInfoAttributeType)
std::size_t streamDataRecordInBlob(eut::Blob &rBlob, const Record &rRecord, std::map< ObjID, ObjID, std::less< ObjID > > &rReadyRecordMap)
std::size_t streamDataClassInfoIndexInBlob(eut::Blob &rBlob, const ClassInfoIndex &rIndex)
int streamBlobAttributeListInRecord(Record &rRecord, const eut::Blob &rBlob, const std::map< unsigned long, ClassInfo * > &prClassInfoMap, std::map< ObjID, Record *, std::less< ObjID > > &rReadyRecordMap, unsigned long ulClassID=0)
int streamBlobAttributeListInClassInfo(ClassInfo &rClassInfo, const eut::Blob &rBlob)
std::size_t streamDataRecordAttributeInBlob(eut::Blob &rBlob, BaseRecordAttribute &rAttribute, std::map< ObjID, ObjID, std::less< ObjID > > &rReadyRecordMap)
int streamDataInBlob(eut::Blob &rBlob, const std::list< Record * > &rRecordList, std::map< ObjID, ObjID, std::less< ObjID > > &rReadyRecordMap)
int streamDataLotAttributeInBlob(eut::Blob &rAttributeValueBlob, T &rSet)
Definition GloDataStreamer.h:2577
int streamBlobInData(std::list< Record * > *&rpRecordList, const eut::Blob &rBlob, const std::map< unsigned long, ClassInfo * > &prClassInfoMap)
int getTagVariable(std::string &rsRetVal, const eut::Blob &rBlob, const std::string &rsTagVar)
int streamBlobInRecord(Record *&rpRecord, const eut::Blob &rBlob, const std::map< unsigned long, ClassInfo * > &prClassInfoMap, std::map< ObjID, Record *, std::less< ObjID > > &rReadyRecordMap, unsigned long ulClassID=0)
int streamBlobIndexListInClassInfo(ClassInfo &rClassInfo, const eut::Blob &rBlob)
ContainerType
Definition GloDataStreamer.h:110
int streamBlobAttributeInRecordAttribute(BaseRecordAttribute &rBaseRecordAttribute, const eut::Blob &rBlob, const std::string &rsFileInfo, unsigned int uiAttributeInformation, const std::map< unsigned long, ClassInfo * > &prClassInfoMap, std::map< ObjID, Record *, std::less< ObjID > > &rReadyRecordMap, unsigned long ulClassID=0)
int streamBlobInData(ClassInfo *&rpClassInfo, const eut::Blob &rBlob)
int streamBlobInData(Record *&rpRecord, const eut::Blob &rBlob, const std::map< unsigned long, ClassInfo * > &prClassInfoMap, unsigned long ulClassID=0)
In objects of this class the min and max values of supported data types and their field lengths are t...
Definition GloLimitRecord.h:71
An object ID consists of the class ID, a database ID and the actual unique object number (all unsigne...
Definition GloObjID.h:84
Objects of this class transport the data from the tables into the persistent object and from these ag...
Definition GloRecord.h:108
Definition GloAbstractBaseLot.h:49