59 , assets_(other.assets_)
78 return securityGroups_;
84 return securityGroups_;
114 securityIds_.clear();
115 securityGroups_.clear();
137 securityIds_.swap(ids);
138 securityGroups_.swap(groups);
148 SecurityIds securityIds_;
149 SecurityGroups securityGroups_;
164 toStr(str, selection);
182 return (value.empty() || selection.
empty() || (selection.
end() != selection.
find(value)));
#define ONIXS_CMEMDH_NAMESPACE_BEGIN
#define ONIXS_CMEMDH_LTWT
#define ONIXS_CMEMDH_NAMESPACE_END
#define ONIXS_CMEMDH_EXPORTED
Represents selection of instruments whose market data is to be processed by the Handler.
InstrumentSelection & operator=(const InstrumentSelection &other)
Re-initializes selection as copy of the other instance.
Assets & assets()
Securities selected by their assets.
const SecurityGroups & securityGroups() const
Securities selected by their groups.
InstrumentSelection()
Initializes empty selection.
SecurityGroups & securityGroups()
Securities selected by their groups.
const Symbols & symbols() const
Securities selected by their symbols.
TinyStrSet SecurityGroups
Collection of security groups specified for given instrument selection.
const Assets & assets() const
Securities selected by their assets.
SecurityIds & securityIds()
Securities selected by their identifiers.
Symbols & symbols()
Securities selected by their symbols.
TinySet< SecurityId > SecurityIds
Collection of security ids specified for given instrument selection.
TinyStrSet Assets
Collection of assets specified for given instrument selection.
void clear()
Clears selection.
TinyStrSet Symbols
Collection of symbols specified for given instrument selection.
InstrumentSelection(const InstrumentSelection &other)
Initializes selection as copy of the other instance.
const SecurityIds & securityIds() const
Securities selected by their identifiers.
Attributes associated with security.
StrRef asset() const
String field that indicates the underlying asset code (Product Code).
SecurityId id() const
Unique security identifier.
StrRef group() const
Security group code.
StrRef symbol() const
Security name or symbol.
Provides efficient way of accessing text-based values without copying content of the text being refer...
Class implementing set optimized for storing small number of items.
bool empty() const
Indicates whether the set is empty.
ConstIterator end() const
Provides iterating facilities.
ConstIterator find(const Item &item) const
Tells whether the set contains given item.
Implements TinySet for StrRef class.
bool empty() const
Indicates whether the set is empty.
ConstIterator end() const
Provides iterating facilities.
ConstIterator find(const Item &item) const
Looks for the given item and returns iterator pointing to the found entry or to nowhere.
bool selected(const InstrumentSelection::SecurityIds &ids, SecurityId id)
Checks whether security with given identifier belongs to given selection.
void toStr(std::string &, BookState::Enum)
Serializes book state value into a string.
Int32 SecurityId
Unique security identifier.