GlobalObjects
Loading...
Searching...
No Matches
glo::AllSetStruct Class Reference

Is needed to transfer AllSet information in a OrderMsg More...

#include <GloAllSetStruct.h>

Public Member Functions

 AllSetStruct ()
 
void setCallBackAllSet (NUM_PTR ipCallBackAllSet)
 
void setCallBackAllSet (BaseAllSet *pCallBackAllSet)
 
BaseAllSetgetCallBackAllSet () const
 
NUM_PTR getCallBackAllSetAsNUMPTR () const
 
void setClassID (unsigned long ulClassID)
 
unsigned long getClassID () const
 
void setSeekMode (EnSeekMode eSeekMode)
 
EnSeekMode getSeekMode () const
 
void setWithSubClasses (bool bWithSubClasses)
 
bool isWithSubClasses () const
 
void setIndexName (const std::string &rsIndexName)
 
std::string getIndexName () const
 
void setIndexClassID (unsigned long ulIndexClassID)
 
unsigned long getIndexClassID () const
 

Private Attributes

bool m_bWithSubClasses
 
EnSeekMode m_eSeekMode
 
NUM_PTR m_ipCallBackAllSet
 
std::string m_sIndexName
 
unsigned long m_ulClassID
 
unsigned long m_ulIndexClassID
 

Detailed Description

Is needed to transfer AllSet information in a OrderMsg

Author
Helmut Jakoby

Constructor & Destructor Documentation

◆ AllSetStruct()

glo::AllSetStruct::AllSetStruct ( )
inline

The default constructor to initialize attributes.

Member Function Documentation

◆ getCallBackAllSet()

BaseAllSet * glo::AllSetStruct::getCallBackAllSet ( ) const
inline

Set resp. get method.

◆ getCallBackAllSetAsNUMPTR()

NUM_PTR glo::AllSetStruct::getCallBackAllSetAsNUMPTR ( ) const
inline

Set resp. get method.

◆ getClassID()

unsigned long glo::AllSetStruct::getClassID ( ) const
inline

Set resp. get method.

◆ getIndexClassID()

unsigned long glo::AllSetStruct::getIndexClassID ( ) const
inline

Set resp. get method.

◆ getIndexName()

std::string glo::AllSetStruct::getIndexName ( ) const
inline

Set resp. get method.

◆ getSeekMode()

EnSeekMode glo::AllSetStruct::getSeekMode ( ) const
inline

Set resp. get method.

◆ isWithSubClasses()

bool glo::AllSetStruct::isWithSubClasses ( ) const
inline

Set resp. get method.

◆ setCallBackAllSet() [1/2]

void glo::AllSetStruct::setCallBackAllSet ( BaseAllSet * pCallBackAllSet)
inline

Set resp. get method.

◆ setCallBackAllSet() [2/2]

void glo::AllSetStruct::setCallBackAllSet ( NUM_PTR ipCallBackAllSet)
inline

Set resp. get method.

◆ setClassID()

void glo::AllSetStruct::setClassID ( unsigned long ulClassID)
inline

Set resp. get method.

◆ setIndexClassID()

void glo::AllSetStruct::setIndexClassID ( unsigned long ulIndexClassID)
inline

Set resp. get method.

◆ setIndexName()

void glo::AllSetStruct::setIndexName ( const std::string & rsIndexName)
inline

Set resp. get method.

◆ setSeekMode()

void glo::AllSetStruct::setSeekMode ( EnSeekMode eSeekMode)
inline

Set resp. get method.

◆ setWithSubClasses()

void glo::AllSetStruct::setWithSubClasses ( bool bWithSubClasses)
inline

Set resp. get method.

Member Data Documentation

◆ m_bWithSubClasses

bool glo::AllSetStruct::m_bWithSubClasses
private

Usually, an AllSet contains objects of a class. If there are also objects of a derived class, they are also delivered, for example, when you iterate.
If only objects with the class ID (m_ulClassID) are to be delivered, without objects of derived classes, m_bWithSubClasses must be set to false.

◆ m_eSeekMode

EnSeekMode glo::AllSetStruct::m_eSeekMode
private

Is set and transferred during iteration by AllSet.

◆ m_ipCallBackAllSet

NUM_PTR glo::AllSetStruct::m_ipCallBackAllSet
private

Pointer to AllSets casted to NUM_PTR.

◆ m_sIndexName

std::string glo::AllSetStruct::m_sIndexName
private

If an index name is passed using OrderMsg when an AllSet is opened, it will be sorted by this index.

◆ m_ulClassID

unsigned long glo::AllSetStruct::m_ulClassID
private

The class ID.

◆ m_ulIndexClassID

unsigned long glo::AllSetStruct::m_ulIndexClassID
private

If a m_sIndexName is passed, here is the class ID of the class that will be indexed by the index. This allows a subclass to use an index of its superclass


The documentation for this class was generated from the following file: