Tools.h++ Class Reference

Table Of Contents
std();
const multiset<T,C,allocator>&
std() const;
Returns a reference to the underlying C++-standard collection that serves as the
implementation for self. This reference may be used freely, providing access to the
C++-standard interface as well as interoperability with other software components that
make use of the C++-standard collections.
void
symmetricDifference(const RWTValMultiSet<T,C>& s);
void
symmetricDifference(const container_type& s);
Sets self to the symmetric difference of self and s.
void
Union(const RWTValMultiSet<T,C>& s);
void
Union(const container_type& s);
Sets self to the union of self and s. Note the use of the uppercase "U"in Union to avoid
conflict with the C++ reserved word.
Related Global Operators
RWvostream&
operator<<(RWvostream& strm, const RWTValMultiSet<T,C>& coll);
RWFile&
operator<<(RWFile& strm, const RWTValMultiSet<T,C>& coll);
Saves the collection coll onto the output stream strm, or a reference to it if it has already
been saved.
RWvistream&
operator>>(RWvistream& strm, RWTValMultiSet<T,C>& coll);
RWFile&
operator>>(RWFile& strm, RWTValMultiSet<T,C>& coll);
Restores the contents of the collection coll from the input stream strm.
RWvistream&
operator>>(RWvistream& strm, RWTValMultiSet<T,C>*& p);
RWFile&
operator>>(RWFile& strm, RWTValMultiSet<T,C>*& p);
Looks at the next object on the input stream strm and either creates a new collection off
the heap and sets p to point to it, or sets p to point to a previously read instance. If a
collection is created off the heap, then you are responsible for deleting it.