Tools.h++ Class Reference

Table Of Contents
implementation for this class.
Public Typedefs
typedef vector<T*,allocator> container_type;
typedef container_type::iterator iterator;
typedef container_type::const_iterator const_iterator;
typedef container_type::size_type size_type;
typedef container_type::difference_type difference_type;
typedef T* value_type;
typedef T*& reference;
typedef T* const& const_reference;
Public Constructors
RWTPtrOrderedVector<T>();
Constructs an empty vector.
RWTPtrOrderedVector<T>(const RWTPtrOrderedVector<T>& rwvec);
Copy constructor.
RWTPtrOrderedVector<T>(const vector<T*,allocator>& vec);
Constructs an ordered vector by copying all elements of vec.
RWTPtrOrderedVector<T>(size_type n, T* a);
Constructs a vector with n elements, each initialized to a.
RWTPtrOrderedVector<T>(T* const* first,T* const* last);
Constructs a vector by copying elements from the array of T*s pointed to by first, up to,
but not including, the element pointed to by last.
Public Member Operators
RWTPtrOrderedVector<T>&
operator=(const RWTPtrOrderedVector<T>& vec);
RWTPtrOrderedVector<T>&
operator=(const vector<T*,allocator>& vec);
Clears all elements of self and replaces them by copying all elements of vec.
bool
operator<(const RWTPtrOrderedVector<T>& vec) const;
Returns true if self compares lexicographically less than vec, otherwise returns false.
Items in each collection are dereferenced before being compared.
bool