61 , assets_(other.assets_)
80 return securityGroups_;
86 return securityGroups_;
116 securityIds_.clear();
117 securityGroups_.clear();
139 securityIds_.swap(ids);
140 securityGroups_.swap(groups);
150 SecurityIds securityIds_;
151 SecurityGroups securityGroups_;
166 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
InstrumentSelection & operator=(const InstrumentSelection &other)
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
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
void clear()
Clears selection.
InstrumentSelection(const InstrumentSelection &other)
const SecurityIds & securityIds() const
Securities selected by their identifiers.
Attributes associated with security.
Messaging::StrRef asset() const
Messaging::StrRef group() const
Messaging::StrRef symbol() const
Security name or symbol.
Stores a small number of unique keys in contiguous storage.
bool empty() const noexcept
Checks whether the set contains no keys.
ConstIterator find(const Item &item) const noexcept
Finds a key equal to the requested value.
ConstIterator end() const noexcept
Returns the past-the-end iterator.
Stores unique strings supplied through non-owning Messaging::StrRef views.
bool empty() const noexcept
Checks whether the set contains no strings.
ConstIterator end() const
Returns the past-the-end iterator.
ConstIterator find(Item item) const
Finds a string whose characters equal the supplied view.
std::basic_string_view< Char > StrRef
bool selected(const InstrumentSelection::SecurityIds &ids, SecurityId id)
Messaging::Int32 SecurityId
Identifies a security in CME MDP 3.0 market data.
void toStr(std::string &str, BookState::Enum bookState)
Appends a string representation of a book state.