1#ifndef INC_GLOBASEALLSET_H
2#define INC_GLOBASEALLSET_H
53 class AllSetIndexInfo;
57 #pragma warning( disable : 4251 )
369 BaseAllSet(
Base & rBase,
unsigned long ulClassID,
bool bWithSubClasses =
true );
392 BaseAllSet(
Base & rBase,
unsigned long ulClassID,
const std::string & rsFullIndexName );
471 const std::string & rsIndexName );
534 virtual std::size_t
size()
const override;
974 const std::string & rsRangeEndIndexFilter );
1019 const std::string & rsIndexSearchValue,
1058 const std::string & rsFullIndexName,
1059 const std::string & rsIndexSearchValue,
1099 const std::string & rsIndexName,
1100 unsigned long ulIndexClassID,
1101 const std::string & rsIndexSearchValue,
1142 const std::string & rsIndexSearchValue,
1189 const std::string & rsFullIndexName,
1190 const std::string & rsIndexSearchValue,
1238 const std::string & rsIndexName,
1239 unsigned long ulIndexClassID,
1240 const std::string & rsIndexSearchValue,
1278 const std::string & rsRangeStartIndexSearchValue,
1279 const std::string & rsRangeEndIndexSearchValue );
1321 const std::string & rsFullIndexName,
1322 const std::string & rsRangeStartIndexSearchValue,
1323 const std::string & rsRangeEndIndexSearchValue );
1370 const std::string & rsIndexName,
1371 unsigned long ulIndexClassID,
1372 const std::string & rsRangeStartIndexSearchValue,
1373 const std::string & rsRangeEndIndexSearchValue );
1681 #pragma warning( default : 4251 )
Header für AbstractBaseLot
Für jede Bibliothek, hier 'GlobalObjects' gibt es eine Typen-Datei.
#define __glo_export_dll
Definition GloTypes.h:70
Die Basisklasse für Container mit persistenten Objekten.
Definition GloAbstractBaseLot.h:69
Ist die Basisklasse von Template-AllSets und dem generischen AllSet.
Definition GloBaseAllSet.h:87
unsigned long m_ulClassID
Definition GloBaseAllSet.h:251
int getIndexedObjIds(std::vector< glo::ObjID > &rObjIDContainer, const std::string &rsFullIndexName, const std::string &rsIndexSearchValue, EnQueryType eQuerryType)
int setAvailableIndices()
int getIndexedObjIds(std::vector< glo::ObjID > &rObjIDContainer, const std::string &rsIndexSearchValue, EnComparisionOp eComparisionOp)
std::vector< AllSetIndexInfo > getAvailableIndices()
std::vector< AllSetIndexInfo > m_AvailableIndices
Definition GloBaseAllSet.h:301
int getObjID(glo::ObjID &rObjID, EnSeekMode eMode)
BaseAllSet::IndexNameClassIdTuple getIndexNameClassIdTuple(unsigned long ulClassID, const std::string &rsIndexName)
bool m_AvailableIndicesRead
Definition GloBaseAllSet.h:318
std::string getFullIndexName() const
bool m_bWithSubClasses
Definition GloBaseAllSet.h:270
bool isIndexAvailable(const BaseAllSet::IndexNameClassIdTuple &rIndexNameClassIdTuple)
unsigned long getIndexClassID() const
std::string getIndexName() const
int setIndexFilter(const std::string &rsRangeStartIndexFilter, const std::string &rsRangeEndIndexFilter)
void setClassIDFromTemplate(unsigned long ulClassID)
bool isIndexAvailable(const std::string &rsFullIndexName)
int getIndexedObjIds(std::vector< glo::ObjID > &rObjIDContainer, const std::string &rsIndexSearchValue, EnQueryType eQuerryType)
void setReadWithSubClasses(bool bWithSubClasses)
int getIndexedObjIds(std::vector< glo::ObjID > &rObjIDContainer, const std::string &rsIndexName, unsigned long ulIndexClassID, const std::string &rsIndexSearchValue, EnQueryType eQuerryType)
bool readWithSubClasses() const
BaseAllSet(const BaseAllSet &)
int getIndexedObjIds(std::vector< glo::ObjID > &rObjIDContainer, const std::string &rsRangeStartIndexSearchValue, const std::string &rsRangeEndIndexSearchValue)
virtual int getTypeAsString(std::string &rsTypeName) override
int getIndexedObjIds(std::vector< glo::ObjID > &rObjIDContainer, const std::string &rsFullIndexName, const std::string &rsRangeStartIndexSearchValue, const std::string &rsRangeEndIndexSearchValue)
int getIndexedObjIds(std::vector< glo::ObjID > &rObjIDContainer, const std::string &rsIndexName, unsigned long ulIndexClassID, const std::string &rsRangeStartIndexSearchValue, const std::string &rsRangeEndIndexSearchValue)
int getIndexedObjIds(std::vector< glo::ObjID > &rObjIDContainer, const std::string &rsFullIndexName, const std::string &rsIndexSearchValue, EnComparisionOp eComparisionOp)
IndexNameClassIdTuple m_IndexNameWithClassID
Definition GloBaseAllSet.h:286
void setAllSetOpen(bool bOpen)
virtual int setBase(Base &rBase)
virtual void setClassID(unsigned long ulClassID)
int setIndexFilter(const std::string &rsIndexFilter, EnComparisionOp eComparisionOp)
std::size_t getAvailableIndicesSize()
virtual int unsetWatch(TdWatchNotifyMode ulWatchMode, CallBack *pCallBack=0)=0
virtual Base * getBase() const override
int setIndex(const BaseAllSet::IndexNameClassIdTuple &rIndexNameClassIdTuple)
BaseAllSet(Base &rBase, unsigned long ulClassID, bool bWithSubClasses=true)
BaseAllSet(Base &rBase, unsigned long ulClassID, const std::string &rsFullIndexName)
virtual bool inSet(const glo::ObjID &rObjID) const
BaseAllSet::IndexNameClassIdTuple getIndexNameClassIdTuple(const std::string &rsFullIndexName)
virtual int setBase(Base *pBase) override
bool m_bAllSetOpen
Definition GloBaseAllSet.h:238
bool isIndexAvailable(unsigned long ulClassID, const std::string &rsIndexName)
Base * m_pBase
Definition GloBaseAllSet.h:227
int getIndexedObjIds(std::vector< glo::ObjID > &rObjIDContainer, const std::string &rsIndexName, unsigned long ulIndexClassID, const std::string &rsIndexSearchValue, EnComparisionOp eComparisionOp)
unsigned long getClassID() const
virtual std::size_t size() const override
virtual int setCurrentObject(const glo::ObjID &rObjID) override
int setIndexFilter(const std::string &rsIndexFilter)
int setFullIndexName(const std::string &rsFullIndexName)
virtual bool inLot(const glo::ObjID &rObjID) const override
virtual int setPosition(std::size_t nPosition) override
virtual int setWatch(TdWatchNotifyMode ulWatchMode, CallBack *pCallBack=0)=0
Oberklasse für die Klassen, welche mit einer Base 'verbunden' sind.
Definition GloCallBack.h:81
Ein Objekt-ID besteht aus der Klassen-ID, einer Datenbank-ID und der eigentlichen eindeutigen ObjektZ...
Definition GloObjID.h:84
In dieser Klasse werden Funktionen für Base gekapselt. Für den Fall, dass sich Änderungen in der Funk...
Definition GloPrivateBase.h:99
Definition GloAbstractBaseLot.h:49
EnComparisionOp
Definition GloTypes.h:1567
EnSeekMode
Definition GloTypes.h:173
EnQueryType
Definition GloTypes.h:1164
unsigned long TdWatchNotifyMode
Definition GloTypes.h:558
Tuple von IndexName und die Klassen-ID der indizierten Klasse.
Definition GloBaseAllSet.h:104
std::string m_sIndexName
Definition GloBaseAllSet.h:131
unsigned long m_ulIndexClassID
Definition GloBaseAllSet.h:117
IndexNameClassIdTuple(unsigned long ulIndexClassID, const std::string &rsIndexName)
IndexNameClassIdTuple(const IndexNameClassIdTuple &rIndexNameClassIdTuple)