GlobalObjects
Lade ...
Suche ...
Keine Treffer
GloIndexQueryBaseStruct.h
gehe zur Dokumentation dieser Datei
1#ifndef INC_GLOINDEXQUERYBASESTRUCT_H
2#define INC_GLOINDEXQUERYBASESTRUCT_H
3//-----------------------------------------------------------------------------
37//-----------------------------------------------------------------------------
38// includes
39#include "GloTypes.h"
40#include "EuStdFunctions.h"
41//-----------------------------------------------------------------------------
42namespace glo
43{
44 //---------------------------------------------------------------------------
45 #ifdef _MSC_VER
46 /* 'Bezeichner': Klasse 'Typ' benötigt eine DLL-Schnittstelle, die von... */
47 #pragma warning( disable : 4251 )
48 #endif
49 //---------------------------------------------------------------------------
65 {
66 private:
67 //============== attributes
68 //-----------------------------------------------------------------------
79 //-----------------------------------------------------------------------
89 unsigned long m_ulClassID;
90 //-----------------------------------------------------------------------
106 std::string m_sIndex;
107 //-----------------------------------------------------------------------
121 std::string m_sIndexName;
122 //-----------------------------------------------------------------------
135 unsigned long m_ulIndexClassID;
136 //-----------------------------------------------------------------------
137
138 public:
139 //============= ctor
140 //-----------------------------------------------------------------------
151 : m_ipCallBackAllSet( 0 ),
152 m_ulClassID( 0 ),
153 m_ulIndexClassID( 0 )
154 {};
155 //-----------------------------------------------------------------------
168 : m_ipCallBackAllSet( rT.m_ipCallBackAllSet ),
169 m_ulClassID( rT.m_ulClassID ),
170 m_sIndex( rT.m_sIndex ),
171 m_sIndexName( rT.m_sIndexName ),
172 m_ulIndexClassID( rT.m_ulIndexClassID )
173 {};
174 //-----------------------------------------------------------------------
175
176 //============= dtor
177 //-----------------------------------------------------------------------
188 //-----------------------------------------------------------------------
189
190 //============= methods
191 //-----------------------------------------------------------------------
202 void setCallBackAllSet( NUM_PTR ipCallBackAllSet ) { m_ipCallBackAllSet = ipCallBackAllSet; };
203 void setCallBackAllSet( BaseAllSet * pCallBackAllSet ) { m_ipCallBackAllSet = reinterpret_cast<NUM_PTR>( pCallBackAllSet ); };
204 BaseAllSet * getCallBackAllSet() const { return reinterpret_cast<BaseAllSet*>( m_ipCallBackAllSet ); };
205 NUM_PTR getCallBackAllSetAsNUMPTR() const { return m_ipCallBackAllSet; };
206 void setClassID( unsigned long ulClassID ) { m_ulClassID = ulClassID; };
207 unsigned long getClassID() const { return m_ulClassID; };
208 void setIndex( const std::string & rsIndex ) { m_sIndex = rsIndex; };
209 std::string getIndex() const { return m_sIndex; };
210 void setIndexName( const std::string & rsIndexName ) { m_sIndexName = rsIndexName; };
211 std::string getIndexName() const { return m_sIndexName; };
212 void setIndexClassID( unsigned long ulIndexClassID ) { m_ulIndexClassID = ulIndexClassID; };
213 unsigned long getIndexClassID() const { return m_ulIndexClassID; };
215 //-----------------------------------------------------------------------
226 //-----------------------------------------------------------------------
227
228 //============= operators
229 //-----------------------------------------------------------------------
240 {
241 if( this != & rT )
242 {
243 m_ipCallBackAllSet = rT.m_ipCallBackAllSet;
244 m_ulClassID = rT.m_ulClassID;
245 m_sIndex = rT.m_sIndex;
246 m_sIndexName = rT.m_sIndexName;
247 m_ulIndexClassID = rT.m_ulIndexClassID;
248 }
249 return *this;
250 };
251 //-----------------------------------------------------------------------
252 };
253 //---------------------------------------------------------------------------
264 {
265 private:
266 //============== attributes
267 //-----------------------------------------------------------------------
280 //-----------------------------------------------------------------------
281
282 public:
283 //============= ctor
284 //-----------------------------------------------------------------------
294 IndexQueryStruct() : m_eQueryType( eQUERY_DIRECT ){};
295 //-----------------------------------------------------------------------
308 : IndexQueryBaseStruct( rT ),
309 m_eQueryType( rT.m_eQueryType )
310 {};
311 //-----------------------------------------------------------------------
312
313 //============= methods
314 //-----------------------------------------------------------------------
325 void setQueryType( EnQueryType eQueryType ) { m_eQueryType = eQueryType; };
326 EnQueryType getQueryType() const { return m_eQueryType; };
328 //-----------------------------------------------------------------------
329
330 //============= operators
331 //-----------------------------------------------------------------------
341 IndexQueryStruct & operator= ( const IndexQueryStruct & rT )
342 {
343 if( this != & rT )
344 {
345 IndexQueryBaseStruct::operator=( rT );
346 m_eQueryType = rT.m_eQueryType;
347 }
348 return *this;
349 };
350 //-----------------------------------------------------------------------
351 };
352 //---------------------------------------------------------------------------
377 {
378 private:
379 //============== attributes
380 //-----------------------------------------------------------------------
391 //-----------------------------------------------------------------------
392
393 public:
394 //============= ctor
395 //-----------------------------------------------------------------------
405 ComparisionIndexQueryStruct() : m_eComparisionOperator( EQUAL ){};
406 //-----------------------------------------------------------------------
419 : IndexQueryBaseStruct( rT ),
420 m_eComparisionOperator( rT.m_eComparisionOperator )
421 {};
422 //-----------------------------------------------------------------------
423
424 //============= methods
425 //-----------------------------------------------------------------------
436 void setComparisionOperator( EnComparisionOp eComparisionOperator ) { m_eComparisionOperator = eComparisionOperator; };
437 EnComparisionOp getComparisionOperator() const { return m_eComparisionOperator; };
439 //-----------------------------------------------------------------------
440
441 //============= operators
442 //-----------------------------------------------------------------------
453 {
454 if( this != & rT )
455 {
456 IndexQueryBaseStruct::operator=( rT );
457 m_eComparisionOperator = rT.m_eComparisionOperator;
458 }
459 return *this;
460 };
461 //-----------------------------------------------------------------------
462 };
463 //---------------------------------------------------------------------------
488 {
489 private:
490 //============== attributes
491 //-----------------------------------------------------------------------
501 std::string m_sRangeEndIndex;
502 //-----------------------------------------------------------------------
503
504 public:
505 //============= ctor
506 //-----------------------------------------------------------------------
517 //-----------------------------------------------------------------------
530 : IndexQueryBaseStruct( rT ),
531 m_sRangeEndIndex( rT.m_sRangeEndIndex )
532 {};
533 //-----------------------------------------------------------------------
534
535 public:
536 //============= methods
537 //-----------------------------------------------------------------------
548 void setRangeEndIndex( const std::string & rsRangeEndIndex ) { m_sRangeEndIndex = rsRangeEndIndex; };
549 std::string getRangeEndIndex() const { return m_sRangeEndIndex; };
551 //-----------------------------------------------------------------------
552
553 //============= operators
554 //-----------------------------------------------------------------------
565 {
566 if( this != & rT )
567 {
568 IndexQueryBaseStruct::operator=( rT );
569 m_sRangeEndIndex = rT.m_sRangeEndIndex;
570 }
571 return *this;
572 };
573 //-----------------------------------------------------------------------
574 };
575 //---------------------------------------------------------------------------
576 #ifdef _MSC_VER
577 /* 'Bezeichner': Klasse 'Typ' benötigt eine DLL-Schnittstelle, die von... */
578 #pragma warning( default : 4251 )
579 #endif
580 //---------------------------------------------------------------------------
581} // namespace glo
582#endif
long long NUM_PTR
Definition EuDef_NULL_PTR.h:93
Header für StdStringFunctions
Für jede Bibliothek, hier 'GlobalObjects' gibt es eine Typen-Datei.
#define __glo_export_dll
Definition GloTypes.h:63
Ist die Basisklasse von Template-AllSets und dem generischen AllSet.
Definition GloBaseAllSet.h:80
Wird zum Übertragen von IndexAbfrage-Informationen in einer OrderMsg benötigt. Mittels dieser Struk...
Definition GloIndexQueryBaseStruct.h:377
ComparisionIndexQueryStruct(const ComparisionIndexQueryStruct &rT)
Definition GloIndexQueryBaseStruct.h:418
EnComparisionOp getComparisionOperator() const
Definition GloIndexQueryBaseStruct.h:437
EnComparisionOp m_eComparisionOperator
Definition GloIndexQueryBaseStruct.h:390
ComparisionIndexQueryStruct()
Definition GloIndexQueryBaseStruct.h:405
void setComparisionOperator(EnComparisionOp eComparisionOperator)
Definition GloIndexQueryBaseStruct.h:436
Definition GloIndexQueryBaseStruct.h:65
IndexQueryBaseStruct()
Definition GloIndexQueryBaseStruct.h:150
unsigned long getClassID() const
Definition GloIndexQueryBaseStruct.h:207
void setIndexName(const std::string &rsIndexName)
Definition GloIndexQueryBaseStruct.h:210
IndexQueryBaseStruct(const IndexQueryBaseStruct &rT)
Definition GloIndexQueryBaseStruct.h:167
unsigned long m_ulIndexClassID
Definition GloIndexQueryBaseStruct.h:135
void setIndexClassID(unsigned long ulIndexClassID)
Definition GloIndexQueryBaseStruct.h:212
BaseAllSet * getCallBackAllSet() const
Definition GloIndexQueryBaseStruct.h:204
virtual ~IndexQueryBaseStruct()
Definition GloIndexQueryBaseStruct.h:187
void setCallBackAllSet(NUM_PTR ipCallBackAllSet)
Definition GloIndexQueryBaseStruct.h:202
void trimIndex()
Definition GloIndexQueryBaseStruct.h:225
std::string m_sIndex
Definition GloIndexQueryBaseStruct.h:106
std::string m_sIndexName
Definition GloIndexQueryBaseStruct.h:121
void setClassID(unsigned long ulClassID)
Definition GloIndexQueryBaseStruct.h:206
NUM_PTR getCallBackAllSetAsNUMPTR() const
Definition GloIndexQueryBaseStruct.h:205
void setIndex(const std::string &rsIndex)
Definition GloIndexQueryBaseStruct.h:208
NUM_PTR m_ipCallBackAllSet
Definition GloIndexQueryBaseStruct.h:78
unsigned long getIndexClassID() const
Definition GloIndexQueryBaseStruct.h:213
void setCallBackAllSet(BaseAllSet *pCallBackAllSet)
Definition GloIndexQueryBaseStruct.h:203
unsigned long m_ulClassID
Definition GloIndexQueryBaseStruct.h:89
std::string getIndex() const
Definition GloIndexQueryBaseStruct.h:209
std::string getIndexName() const
Definition GloIndexQueryBaseStruct.h:211
Wird zum Übertragen von IndexAbfrage-Informationen in einer OrderMsg benötigt.
Definition GloIndexQueryBaseStruct.h:264
EnQueryType getQueryType() const
Definition GloIndexQueryBaseStruct.h:326
EnQueryType m_eQueryType
Definition GloIndexQueryBaseStruct.h:279
IndexQueryStruct(const IndexQueryStruct &rT)
Definition GloIndexQueryBaseStruct.h:307
void setQueryType(EnQueryType eQueryType)
Definition GloIndexQueryBaseStruct.h:325
IndexQueryStruct()
Definition GloIndexQueryBaseStruct.h:294
Wird zum Übertragen von IndexAbfrage-Informationen in einer OrderMsg benötigt. Mittels dieser Struk...
Definition GloIndexQueryBaseStruct.h:488
std::string getRangeEndIndex() const
Definition GloIndexQueryBaseStruct.h:549
RangeIndexQueryStruct(const RangeIndexQueryStruct &rT)
Definition GloIndexQueryBaseStruct.h:529
void setRangeEndIndex(const std::string &rsRangeEndIndex)
Definition GloIndexQueryBaseStruct.h:548
RangeIndexQueryStruct()
Definition GloIndexQueryBaseStruct.h:516
std::string m_sRangeEndIndex
Definition GloIndexQueryBaseStruct.h:501
@ eBEHIND
Definition EuStdFunctions.h:149
__tool_export_dll void trimString(std::string &rstr, char c=' ', EnStrPos ePos=eBEFORE)
Trim für std::string inspiriert durch:
Definition GloAbstractBaseLot.h:42
EnComparisionOp
Definition GloTypes.h:1583
@ EQUAL
Definition GloTypes.h:1593
EnQueryType
Definition GloTypes.h:1179
@ eQUERY_DIRECT
Definition GloTypes.h:1189