OpenMAMA
Wombat::MamdaOrderImbalanceType Class Reference

#include <MamdaOrderImbalanceType.h>

Public Types

enum  OrderImbalanceType_ {
  MARKET_IMBALANCE_BUY_VALUE = 16, MARKET_IMBALANCE_SELL_VALUE, NO_MARKET_IMBALANCE_VALUE, MOC_IMBALANCE_BUY_VALUE,
  MOC_IMBALANCE_SELL_VALUE, NO_MOC_IMBALANCE_VALUE, ORDER_IMB_VALUE, ORDER_INF_VALUE,
  ORDER_IMBALANCE_BUY_VALUE, ORDER_IMBALANCE_SELL_VALUE, NO_ORDER_IMBALANCE_VALUE, UNKNOWN = -99
}
 
typedef enum Wombat::MamdaOrderImbalanceType::OrderImbalanceType_ OrderImbalanceType
 

Static Public Member Functions

static const char * valueToString (const int value)
 
static const int stringToValue (const char *type)
 
static bool isMamdaOrderImbalanceType (const int value)
 Determines if the value is of type order imbalance. More...
 
static bool isMamdaImbalanceOrder (const int value)
 Determines if the value is of an order imbalance. More...
 

Member Typedef Documentation

◆ OrderImbalanceType

Member Enumeration Documentation

◆ OrderImbalanceType_

Enumerator
MARKET_IMBALANCE_BUY_VALUE 

MARKET_IMBALANCE_BUY.

MARKET_IMBALANCE_SELL_VALUE 

MARKET_IMBALANCE_SELL.

NO_MARKET_IMBALANCE_VALUE 

NO_MARKET_IMBALANCE.

MOC_IMBALANCE_BUY_VALUE 

MOC_IMBALANCE_BUY.

MOC_IMBALANCE_SELL_VALUE 

MOC_IMBALANCE_SELL.

NO_MOC_IMBALANCE_VALUE 

NO_MOC_IMBALANCE.

ORDER_IMB_VALUE 

ORDER_IMB.

ORDER_INF_VALUE 

ORDER_INF.

ORDER_IMBALANCE_BUY_VALUE 

ORDER_IMBALANCE_BUY_VALUE.

ORDER_IMBALANCE_SELL_VALUE 

ORDER_IMBALANCE_SELL_VALUE.

NO_ORDER_IMBALANCE_VALUE 

NO_ORDER_IMBALANCE.

UNKNOWN 

UKNOWN.

51  {
54 
57 
60 
63 
66 
69 
72 
75 
78 
81 
84 
86  UNKNOWN = -99
87 
NO_ORDER_IMBALANCE.
Definition: MamdaOrderImbalanceType.h:83
ORDER_IMB.
Definition: MamdaOrderImbalanceType.h:71
MARKET_IMBALANCE_BUY.
Definition: MamdaOrderImbalanceType.h:53
MARKET_IMBALANCE_SELL.
Definition: MamdaOrderImbalanceType.h:56
ORDER_IMBALANCE_BUY_VALUE.
Definition: MamdaOrderImbalanceType.h:77
ORDER_INF.
Definition: MamdaOrderImbalanceType.h:74
NO_MARKET_IMBALANCE.
Definition: MamdaOrderImbalanceType.h:59
NO_MOC_IMBALANCE.
Definition: MamdaOrderImbalanceType.h:68
UKNOWN.
Definition: MamdaOrderImbalanceType.h:86
MOC_IMBALANCE_BUY.
Definition: MamdaOrderImbalanceType.h:62
enum Wombat::MamdaOrderImbalanceType::OrderImbalanceType_ OrderImbalanceType
ORDER_IMBALANCE_SELL_VALUE.
Definition: MamdaOrderImbalanceType.h:80
MOC_IMBALANCE_SELL.
Definition: MamdaOrderImbalanceType.h:65

Member Function Documentation

◆ valueToString()

static const char* Wombat::MamdaOrderImbalanceType::valueToString ( const int  value)
static

◆ stringToValue()

static const int Wombat::MamdaOrderImbalanceType::stringToValue ( const char *  type)
static

◆ isMamdaOrderImbalanceType()

static bool Wombat::MamdaOrderImbalanceType::isMamdaOrderImbalanceType ( const int  value)
static

Determines if the value is of type order imbalance.

Parameters
value
Returns
bool

◆ isMamdaImbalanceOrder()

static bool Wombat::MamdaOrderImbalanceType::isMamdaImbalanceOrder ( const int  value)
static

Determines if the value is of an order imbalance.

Parameters
value
Returns
bool

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


© 2012 Linux Foundation