OnixS Xetra MDI Market Data Handler for C++  1.0.0.0
Public Member Functions | Static Public Member Functions | List of all members
TradeConditionSet Struct Reference

Public Member Functions

 TradeConditionSet (TradeCondition::Enum value)
 
bool contain (TradeCondition::Enum value) const
 
bool containExchangeLast () const
 
bool containOpeningPrice () const
 
bool containHighPrice () const
 
bool containLowPrice () const
 
bool containOfficialClosingPrice () const
 
bool containLastAuctionPrice () const
 
bool containFinalPriceOfSession () const
 
bool containBestPrice () const
 
bool containMidpointPrice () const
 
bool containPriceFromSubscriptionPeriod () const
 
std::string toString () const
 

Static Public Member Functions

static bool tryParse (const char *buffer, size_t bufferSize, TradeConditionSet &)
 Attempts to parse value from its string/text presentation. More...
 
static TradeConditionSet parse (const char *buffer, size_t bufferSize)
 Parses value from string presentation. More...
 
static TradeConditionSet parse (const StringRef value)
 Parses value from StringRef presentation. More...
 

Member Function Documentation

static TradeConditionSet parse ( const char *  buffer,
size_t  bufferSize 
)
static

Parses value from string presentation.

Exceptions
std::exceptionon failure.
static TradeConditionSet parse ( const StringRef  value)
static

Parses value from StringRef presentation.

Exceptions
std::exceptionon failure.
static bool tryParse ( const char *  buffer,
size_t  bufferSize,
TradeConditionSet  
)
static

Attempts to parse value from its string/text presentation.

Returns
false on parsing failure.