1#ifndef INC_GLOBASEALLSET_H
2#define INC_GLOBASEALLSET_H
46 class AllSetIndexInfo;
50 #pragma warning( disable : 4251 )
206 friend class PrivateBase;
351 BaseAllSet( Base & rBase,
unsigned long ulClassID,
bool bWithSubClasses =
true );
374 BaseAllSet( Base & rBase,
unsigned long ulClassID,
const std::string & rsFullIndexName );
453 const std::string & rsIndexName );
516 virtual std::size_t
size()
const override;
545 virtual void setBase( Base * pBase )
override;
907 EnComparisionOp eComparisionOp );
941 const std::string & rsRangeEndIndexFilter );
986 const std::string & rsIndexSearchValue,
987 EnQueryType eQuerryType );
1025 const std::string & rsFullIndexName,
1026 const std::string & rsIndexSearchValue,
1027 EnQueryType eQuerryType );
1066 const std::string & rsIndexName,
1067 unsigned long ulIndexClassID,
1068 const std::string & rsIndexSearchValue,
1069 EnQueryType eQuerryType );
1109 const std::string & rsIndexSearchValue,
1110 EnComparisionOp eComparisionOp );
1156 const std::string & rsFullIndexName,
1157 const std::string & rsIndexSearchValue,
1158 EnComparisionOp eComparisionOp );
1205 const std::string & rsIndexName,
1206 unsigned long ulIndexClassID,
1207 const std::string & rsIndexSearchValue,
1208 EnComparisionOp eComparisionOp );
1245 const std::string & rsRangeStartIndexSearchValue,
1246 const std::string & rsRangeEndIndexSearchValue );
1288 const std::string & rsFullIndexName,
1289 const std::string & rsRangeStartIndexSearchValue,
1290 const std::string & rsRangeEndIndexSearchValue );
1337 const std::string & rsIndexName,
1338 unsigned long ulIndexClassID,
1339 const std::string & rsRangeStartIndexSearchValue,
1340 const std::string & rsRangeEndIndexSearchValue );
1656 #pragma warning( default : 4251 )
Header für AbstractBaseLot
Die Basisklasse für Container mit persistenten Objekten.
Definition GloAbstractBaseLot.h:62
Ist die Basisklasse von Template-AllSets und dem generischen AllSet.
Definition GloBaseAllSet.h:80
unsigned long m_ulClassID
Definition GloBaseAllSet.h:233
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:283
int getObjID(glo::ObjID &rObjID, EnSeekMode eMode)
BaseAllSet::IndexNameClassIdTuple getIndexNameClassIdTuple(unsigned long ulClassID, const std::string &rsIndexName)
bool m_AvailableIndicesRead
Definition GloBaseAllSet.h:300
std::string getFullIndexName() const
bool m_bWithSubClasses
Definition GloBaseAllSet.h:252
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:268
void setAllSetOpen(bool bOpen)
virtual void setClassID(unsigned long ulClassID)
int setIndexFilter(const std::string &rsIndexFilter, EnComparisionOp eComparisionOp)
std::size_t getAvailableIndicesSize()
virtual void setBase(Base *pBase) override
virtual int unsetWatch(TdWatchNotifyMode ulWatchMode, CallBack *pCallBack=0)=0
virtual void setBase(Base &rBase)
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)
bool m_bAllSetOpen
Definition GloBaseAllSet.h:220
bool isIndexAvailable(unsigned long ulClassID, const std::string &rsIndexName)
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:74
Ein Objekt-ID besteht aus der Klassen-ID, einer Datenbank-ID und der eigentlichen eindeutigen ObjektZ...
Definition GloObjID.h:77
Definition GloBasePersistent.h:52
Tuple von IndexName und die Klassen-ID der indizierten Klasse.
Definition GloBaseAllSet.h:97
std::string m_sIndexName
Definition GloBaseAllSet.h:124
unsigned long m_ulIndexClassID
Definition GloBaseAllSet.h:110
IndexNameClassIdTuple(unsigned long ulIndexClassID, const std::string &rsIndexName)
IndexNameClassIdTuple(const IndexNameClassIdTuple &rIndexNameClassIdTuple)