39 typedef typename std::vector<value_type>
list_t;
40 typedef typename std::vector<value_type>::iterator
iterator;
83 while (
it !=
end ()) {
A wrapper class to provide AutoPtr with reference semantics.
std::vector< value_type >::const_iterator const_iterator
iterator begin()
Get iterator to the first element of the repository.
bool erase(const value_type &x_)
Remove element.
void clear()
Empty repository.
std::vector< value_type > list_t
void erase(iterator position_)
Remove element at the position_ iterator.
virtual ~Repository()
Destructor.
size_type size() const
Return number of elements in the repository.
bool empty() const
Return true if repository is empty.
std::vector< value_type >::iterator iterator
const_iterator begin() const
Get constant iterator to the first element of the repository.
void push_back(const value_type &x_)
Add new element to the repository.
iterator end()
Get iterator to the end of the repository.
const_iterator end() const
Get constant iterator to the end of the repository.