GlobalObjects
Loading...
Searching...
No Matches
GloAllSetStruct.h
Go to the documentation of this file.
1#ifndef INC_GLOALLSETSTRUCT_H
2#define INC_GLOALLSETSTRUCT_H
3//-----------------------------------------------------------------------------
43//-----------------------------------------------------------------------------
44#ifdef _MSC_VER
45 /* 'Bezeichner': Klasse 'Typ' benötigt eine DLL-Schnittstelle, die von... */
46 #pragma warning( disable : 4251 )
47#endif
48//-----------------------------------------------------------------------------
49// includes
50#include "GloTypes.h"
51//-----------------------------------------------------------------------------
52namespace glo
53{
54 //---------------------------------------------------------------------------
69 {
70 private:
71 //============== Attribute
72 //-----------------------------------------------------------------------
83 //-----------------------------------------------------------------------
93 unsigned long m_ulClassID;
94 //-----------------------------------------------------------------------
105 //-----------------------------------------------------------------------
126 //-----------------------------------------------------------------------
138 std::string m_sIndexName;
139 //-----------------------------------------------------------------------
152 unsigned long m_ulIndexClassID;
153 //-----------------------------------------------------------------------
154
155 public:
156 //============== constructor
157 //-----------------------------------------------------------------------
167 AllSetStruct():m_ipCallBackAllSet(0), m_ulClassID(0), m_eSeekMode(START), m_bWithSubClasses(false), m_ulIndexClassID(0){};
168 //-------------------------------------------------------------------------
169
170 //============== methods
171 //-----------------------------------------------------------------------
173
182 void setCallBackAllSet( NUM_PTR ipCallBackAllSet ) { m_ipCallBackAllSet = ipCallBackAllSet; };
183 void setCallBackAllSet( BaseAllSet * pCallBackAllSet ) { m_ipCallBackAllSet = reinterpret_cast<NUM_PTR>( pCallBackAllSet ); };
184 BaseAllSet * getCallBackAllSet() const { return reinterpret_cast<BaseAllSet*>( m_ipCallBackAllSet ); };
185 NUM_PTR getCallBackAllSetAsNUMPTR() const { return m_ipCallBackAllSet; };
186 void setClassID( unsigned long ulClassID ) { m_ulClassID = ulClassID; };
187 unsigned long getClassID() const { return m_ulClassID; };
188 void setSeekMode( EnSeekMode eSeekMode ) { m_eSeekMode = eSeekMode; };
189 EnSeekMode getSeekMode() const { return m_eSeekMode; };
190 void setWithSubClasses( bool bWithSubClasses ) { m_bWithSubClasses = bWithSubClasses; };
191 bool isWithSubClasses() const { return m_bWithSubClasses; };
192 void setIndexName( const std::string & rsIndexName ) { m_sIndexName = rsIndexName; };
193 std::string getIndexName() const { return m_sIndexName; };
194 void setIndexClassID( unsigned long ulIndexClassID ) { m_ulIndexClassID = ulIndexClassID; };
195 unsigned long getIndexClassID() const { return m_ulIndexClassID; };
197 //-----------------------------------------------------------------------
198 };
199 //---------------------------------------------------------------------------
200 #ifdef _MSC_VER
201 /* 'Bezeichner': Klasse 'Typ' benötigt eine DLL-Schnittstelle, die von... */
202 #pragma warning( default : 4251 )
203 #endif
204 //---------------------------------------------------------------------------
205} // namespace glo
206#endif
For each library, here 'GlobalObjects' there is a type file.
#define __glo_export_dll
Definition GloTypes.h:70
Is needed to transfer AllSet information in a OrderMsg
Definition GloAllSetStruct.h:69
BaseAllSet * getCallBackAllSet() const
Set or get method.
Definition GloAllSetStruct.h:184
unsigned long getClassID() const
Set or get method.
Definition GloAllSetStruct.h:187
bool isWithSubClasses() const
Set or get method.
Definition GloAllSetStruct.h:191
bool m_bWithSubClasses
Definition GloAllSetStruct.h:125
void setClassID(unsigned long ulClassID)
Set or get method.
Definition GloAllSetStruct.h:186
unsigned long m_ulClassID
Definition GloAllSetStruct.h:93
std::string m_sIndexName
Definition GloAllSetStruct.h:138
void setWithSubClasses(bool bWithSubClasses)
Set or get method.
Definition GloAllSetStruct.h:190
unsigned long m_ulIndexClassID
Definition GloAllSetStruct.h:152
void setIndexName(const std::string &rsIndexName)
Set or get method.
Definition GloAllSetStruct.h:192
AllSetStruct()
Definition GloAllSetStruct.h:167
void setCallBackAllSet(BaseAllSet *pCallBackAllSet)
Set or get method.
Definition GloAllSetStruct.h:183
void setSeekMode(EnSeekMode eSeekMode)
Set or get method.
Definition GloAllSetStruct.h:188
unsigned long getIndexClassID() const
Set or get method.
Definition GloAllSetStruct.h:195
std::string getIndexName() const
Set or get method.
Definition GloAllSetStruct.h:193
EnSeekMode m_eSeekMode
Definition GloAllSetStruct.h:104
void setCallBackAllSet(NUM_PTR ipCallBackAllSet)
Set or get method.
Definition GloAllSetStruct.h:182
EnSeekMode getSeekMode() const
Set or get method.
Definition GloAllSetStruct.h:189
NUM_PTR m_ipCallBackAllSet
Definition GloAllSetStruct.h:82
void setIndexClassID(unsigned long ulIndexClassID)
Set or get method.
Definition GloAllSetStruct.h:194
NUM_PTR getCallBackAllSetAsNUMPTR() const
Set or get method.
Definition GloAllSetStruct.h:185
Is the base class of template AllSets and the generic AllSet.
Definition GloBaseAllSet.h:87
Definition GloAbstractBaseLot.h:49
EnSeekMode
Definition GloTypes.h:173