GlobalObjects
Lade ...
Suche ...
Keine Treffer
GloAllSetStruct.h
gehe zur Dokumentation dieser Datei
1#ifndef INC_GLOALLSETSTRUCT_H
2#define INC_GLOALLSETSTRUCT_H
3//-----------------------------------------------------------------------------
36//-----------------------------------------------------------------------------
37#ifdef _MSC_VER
38 /* 'Bezeichner': Klasse 'Typ' benötigt eine DLL-Schnittstelle, die von... */
39 #pragma warning( disable : 4251 )
40#endif
41//-----------------------------------------------------------------------------
42// includes
43#include "GloTypes.h"
44//-----------------------------------------------------------------------------
45namespace glo
46{
47 //---------------------------------------------------------------------------
62 {
63 private:
64 //============== Attribute
65 //-----------------------------------------------------------------------
76 //-----------------------------------------------------------------------
86 unsigned long m_ulClassID;
87 //-----------------------------------------------------------------------
98 //-----------------------------------------------------------------------
119 //-----------------------------------------------------------------------
131 std::string m_sIndexName;
132 //-----------------------------------------------------------------------
145 unsigned long m_ulIndexClassID;
146 //-----------------------------------------------------------------------
147
148 public:
149 //============== constructor
150 //-----------------------------------------------------------------------
160 AllSetStruct():m_ipCallBackAllSet(0), m_ulClassID(0), m_eSeekMode(START), m_bWithSubClasses(false), m_ulIndexClassID(0){};
161 //-------------------------------------------------------------------------
162
163 //============== methods
164 //-----------------------------------------------------------------------
175 void setCallBackAllSet( NUM_PTR ipCallBackAllSet ) { m_ipCallBackAllSet = ipCallBackAllSet; };
176 void setCallBackAllSet( BaseAllSet * pCallBackAllSet ) { m_ipCallBackAllSet = reinterpret_cast<NUM_PTR>( pCallBackAllSet ); };
177 BaseAllSet * getCallBackAllSet() const { return reinterpret_cast<BaseAllSet*>( m_ipCallBackAllSet ); };
178 NUM_PTR getCallBackAllSetAsNUMPTR() const { return m_ipCallBackAllSet; };
179 void setClassID( unsigned long ulClassID ) { m_ulClassID = ulClassID; };
180 unsigned long getClassID() const { return m_ulClassID; };
181 void setSeekMode( EnSeekMode eSeekMode ) { m_eSeekMode = eSeekMode; };
182 EnSeekMode getSeekMode() const { return m_eSeekMode; };
183 void setWithSubClasses( bool bWithSubClasses ) { m_bWithSubClasses = bWithSubClasses; };
184 bool isWithSubClasses() const { return m_bWithSubClasses; };
185 void setIndexName( const std::string & rsIndexName ) { m_sIndexName = rsIndexName; };
186 std::string getIndexName() const { return m_sIndexName; };
187 void setIndexClassID( unsigned long ulIndexClassID ) { m_ulIndexClassID = ulIndexClassID; };
188 unsigned long getIndexClassID() const { return m_ulIndexClassID; };
190 //-----------------------------------------------------------------------
191 };
192 //---------------------------------------------------------------------------
193 #ifdef _MSC_VER
194 /* 'Bezeichner': Klasse 'Typ' benötigt eine DLL-Schnittstelle, die von... */
195 #pragma warning( default : 4251 )
196 #endif
197 //---------------------------------------------------------------------------
198} // namespace glo
199#endif
long long NUM_PTR
Definition EuDef_NULL_PTR.h:93
Für jede Bibliothek, hier 'GlobalObjects' gibt es eine Typen-Datei.
#define __glo_export_dll
Definition GloTypes.h:63
Wird zum Übertragen von AllSet-Informationen in einer OrderMsg benötigt.
Definition GloAllSetStruct.h:62
BaseAllSet * getCallBackAllSet() const
Definition GloAllSetStruct.h:177
unsigned long getClassID() const
Definition GloAllSetStruct.h:180
bool isWithSubClasses() const
Definition GloAllSetStruct.h:184
bool m_bWithSubClasses
Definition GloAllSetStruct.h:118
void setClassID(unsigned long ulClassID)
Definition GloAllSetStruct.h:179
unsigned long m_ulClassID
Definition GloAllSetStruct.h:86
std::string m_sIndexName
Definition GloAllSetStruct.h:131
void setWithSubClasses(bool bWithSubClasses)
Definition GloAllSetStruct.h:183
unsigned long m_ulIndexClassID
Definition GloAllSetStruct.h:145
void setIndexName(const std::string &rsIndexName)
Definition GloAllSetStruct.h:185
AllSetStruct()
Definition GloAllSetStruct.h:160
void setCallBackAllSet(BaseAllSet *pCallBackAllSet)
Definition GloAllSetStruct.h:176
void setSeekMode(EnSeekMode eSeekMode)
Definition GloAllSetStruct.h:181
unsigned long getIndexClassID() const
Definition GloAllSetStruct.h:188
std::string getIndexName() const
Definition GloAllSetStruct.h:186
EnSeekMode m_eSeekMode
Definition GloAllSetStruct.h:97
void setCallBackAllSet(NUM_PTR ipCallBackAllSet)
Definition GloAllSetStruct.h:175
EnSeekMode getSeekMode() const
Definition GloAllSetStruct.h:182
NUM_PTR m_ipCallBackAllSet
Definition GloAllSetStruct.h:75
void setIndexClassID(unsigned long ulIndexClassID)
Definition GloAllSetStruct.h:187
NUM_PTR getCallBackAllSetAsNUMPTR() const
Definition GloAllSetStruct.h:178
Ist die Basisklasse von Template-AllSets und dem generischen AllSet.
Definition GloBaseAllSet.h:80
Definition GloAbstractBaseLot.h:42
EnSeekMode
Definition GloTypes.h:166