72 : items_(other.items_)
84 return items_.empty();
99 items_.reserve(capacity);
106 return items_.begin();
119 const Item& item)
const 137 if (end() == find(item))
139 items_.push_back(item);
164 if (items_.end() == found)
216 std::vector<std::string>
221 Items::const_iterator
232 : iterator_(other.iterator_)
240 : iterator_(iterator)
262 return iterator_ == other.iterator_;
271 return iterator_ != other.iterator_;
280 iterator_ = other.iterator_;
310 std::vector<std::string>
314 Items::const_iterator
335 std::string& other)
const 337 return sought_ == other;
369 : items_(other.items_)
381 return items_.empty();
387 return items_.size();
396 items_.reserve(capacity);
421 const Item& item)
const 443 if (end() == find(item))
445 items_.push_back(
toStr(item));
468 if (items_.end() == found)
std::vector< std::string > Items
Aliases for internal representation.
ConstIterator end() const
Provides iterating facilities.
Items::const_iterator ItemIterator
Aliases iterator over the internal store.
StrRef Item
Items of collection.
void reserve(size_t capacity)
Implements iterator for the TinyStrSet class.
void clear()
Brings the set to the blank state.
ConstIterator begin() const
Provides iterating facilities.
TinyStrSet()
Initializes the empty set.
TinyStrSetIterator(const TinyStrSetIterator &other)
Initializes the instance as a copy of the other one.
std::vector< Item > Items
Aliases internal representation.
ConstIterator find(const Item &item) const
Tells whether the set contains given item.
void toStr(std::string &str, const Message &message)
Serializes FIX message into tag=value format.
TinyStrSet(size_t capacity)
~TinyStrSet()
Destructs the internal storage.
void swap(TinyStrSet &other)
Exchanges content with the other instance.
TinySet(const TinySet &other)
Initializes the set as a copy of the other one.
TinyStrSetIterator()
Initializes the iterator pointing to nowhere.
void clear()
Brings the set to the blank (empty) state.
TinyStrSetIterator(const ItemIterator &iterator)
Initializes from iterator over the internal storage.
bool erase(const Item &item)
bool empty() const
Indicates whether the set is empty.
void reserve(size_t capacity)
~TinySet()
Cleans everything up.
bool erase(const Item &item)
void swap(TinySet &other)
Swaps content with the other instance.
bool insert(const Item &item)
~TinyStrSetIterator()
Cleans everything up.
void copy(MbpBook< TargetPriceLevel, Depth > &target, const MbpBook< SourcePriceLevel, Depth > &source, Depth maxDepth=static_cast< Depth >(-1))
#define ONIXS_CONFLATEDUDP_NAMESPACE_END
ConstIterator find(const Item &item) const
ConstIterator end() const
Provides iterating facilities.
TinySet()
Initializes the empty set.
bool insert(const Item &item)
bool empty() const
Indicates whether the set is empty.
StrRef toStrRef(const std::string &str)
Constructs StrRef instance over std::string content.
Key Item
Aliases set item type.
TinyStrSet(const TinyStrSet &other)
Initializes as a copy of the other instance.
Items::const_iterator ConstIterator
Aliases iterator over set items.
bool operator!=(const FixedPointDecimal< Mantissa, Exponent > &left, const FixedPointDecimal< Mantissa, Exponent > &right)
Compares two fixed-point decimals.
#define ONIXS_CONFLATEDUDP_LTWT_CLASS
bool operator==(const FixedPointDecimal< Mantissa, Exponent > &left, const FixedPointDecimal< Mantissa, Exponent > &right)
Compares two fixed-point decimals.
TinyStrSetIterator ConstIterator
Aliases iterator type.
ConstIterator begin() const
Provides iterating facilities.
size_t size() const
Returns the number of items in the set.
#define ONIXS_CONFLATEDUDP_NAMESPACE_BEGIN
size_t size() const
Returns the number of items in the set.