72 : items_(other.items_)
84 return items_.empty();
99 items_.reserve(capacity);
106 return items_.begin();
119 const Item& item)
const 136 if (end() == find(item))
138 items_.push_back(item);
162 if (items_.end() == found)
213 std::vector<std::string>
218 Items::const_iterator
229 : iterator_(other.iterator_)
237 : iterator_(iterator)
259 return iterator_ == other.iterator_;
268 return iterator_ != other.iterator_;
277 iterator_ = other.iterator_;
330 : items_(other.items_)
342 return items_.empty();
348 return items_.size();
357 items_.reserve(capacity);
381 const Item& item)
const 402 if (end() == find(item))
404 items_.push_back(
toStr(item));
426 if (items_.end() == found)
455 std::vector<std::string>
459 Items::const_iterator
480 std::string& other)
const 482 return sought_ == other;
#define ONIXS_CMEMDH_LTWT_CLASS
bool operator!=(const FixedPointDecimal< Mantissa, Exponent > &left, const FixedPointDecimal< Mantissa, Exponent > &right)
Compares two fixed-point decimals.
TinySet(const TinySet &other)
Initializes set as copy of other one.
size_t size() const
Number of items in the set.
Key Item
Aliases set item type.
size_t size() const
Returns number of items in the set.
bool erase(const Item &item)
bool empty() const
Indicates whether set is empty.
void swap(TinySet &other)
Swaps content with the other instance.
TinyStrSet(size_t capacity)
ConstIterator end() const
Provides iterating facilities.
void clear()
Brings set to blank/empty state.
TinyStrSet()
Initializes empty set.
std::vector< Item > Items
Aliases internal representation.
~TinyStrSet()
Performs clean-up.
Items::const_iterator ItemIterator
Aliases iterator over internal store.
ConstIterator end() const
Provides iterating facilities.
TinySet()
Initializes empty set.
void clear()
Brings set to blank state.
void swap(TinyStrSet &other)
Exchanges content with the other instance.
~TinySet()
Cleans everything up.
bool insert(const Item &item)
bool erase(const Item &item)
TinyStrSet(const TinyStrSet &other)
Initializes as copy of other instance.
ConstIterator find(const Item &item) const
Tells whether set contains given item.
ConstIterator find(const Item &item) const
Tells whether set contains given item.
void reserve(size_t capacity)
Provides efficient way of accessing text-based FIX field values.
Items::const_iterator ConstIterator
Aliases iterator over set items.
#define ONIXS_CMEMDH_NAMESPACE_BEGIN
bool empty() const
Indicates whether set is empty.
StrRef Item
Items of collection.
TinyStrSetIterator(const ItemIterator &iterator)
Initializes from iterator over internal store.
TinyStrSetIterator()
Initializes iterator pointing to nowhere.
Implements iterator for TinyStrSet class.
StrRef toStrRef(const std::string &str)
Constructs StrRef instance over std::string content.
bool operator==(const FixedPointDecimal< Mantissa, Exponent > &left, const FixedPointDecimal< Mantissa, Exponent > &right)
Compares two fixed-point decimals.
~TinyStrSetIterator()
Cleans everything up.
ConstIterator begin() const
Provides iterating facilities.
void copy(MboBook &target, const MboBook &source)
Copies content of MBO book to the other one.
void reserve(size_t capacity)
ConstIterator begin() const
Provides iterating facilities.
bool insert(const Item &item)
std::vector< std::string > Items
Aliases internal representation.
TinyStrSetIterator(const TinyStrSetIterator &other)
Initializes instance as copy of the other one.
ONIXS_CMEMDH_EXPORTED void toStr(std::string &, BookState::Enum)
Serializes book state value into a string.
TinyStrSetIterator ConstIterator
Aliases iterator type.
#define ONIXS_CMEMDH_NAMESPACE_END