template<class T> class adevs::Bag
The Bag class is (almost) a model of a STL Multiple Associative Container
This implementation is optimized for use by the simulation engine
It does not satisfy the STL complexity requirements.
Public Methods
-
Bag()
-
Bag(const Bag<T>& src)
-
const Bag<T> & operator=(const Bag<T>& src)
-
unsigned count(const T& a) const
-
unsigned size() const
-
bool empty() const
-
iterator begin() const
-
iterator end() const
-
void erase(const T& k)
-
void erase(iterator p)
-
void clear()
-
iterator find(const T& k) const
-
void insert(const T& t)
-
~Bag()
Public Members
-
class iterator
-
typedef iterator const_iterator
Documentation
The Bag class is (almost) a model of a STL Multiple Associative Container
This implementation is optimized for use by the simulation engine
It does not satisfy the STL complexity requirements. Neither does it implement
the full set of required methods, but those methods that are implemented
conform to the standard (sans the complexity requirement).
typedef iterator const_iterator
Bag()
Bag(const Bag<T>& src)
const Bag<T> & operator=(const Bag<T>& src)
unsigned count(const T& a) const
unsigned size() const
bool empty() const
iterator begin() const
iterator end() const
void erase(const T& k)
void erase(iterator p)
void clear()
iterator find(const T& k) const
void insert(const T& t)
~Bag()
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.