IT_Bus::DeletingVector< T > Class Template Reference

#include <it_bus/deleting_vector.h>

List of all members.


Detailed Description

template<class T>
class IT_Bus::DeletingVector< T >

Simple vector of pointers that deletes each pointer when the vector is destroyed.

NOTE: There is no other memory management, for example, the class does not insure that pointers are 0 initialized, nor does it delete the old pointer when a new pointer is assigned to an element.

Definition at line 21 of file deleting_vector.h.

Public Types

typedef IT_TYPENAME IT_Vector<
T * >::iterator 
iterator
typedef IT_TYPENAME IT_Vector<
T * >::const_iterator 
const_iterator
typedef IT_TYPENAME IT_Vector<
T * >::reverse_iterator 
reverse_iterator
typedef IT_TYPENAME IT_Vector<
T * >::const_reverse_iterator 
const_reverse_iterator
typedef IT_TYPENAME IT_Vector<
T * >::reference 
reference
typedef IT_TYPENAME IT_Vector<
T * >::const_reference 
const_reference
typedef IT_TYPENAME IT_Vector<
T * >::size_type 
size_type
typedef IT_TYPENAME IT_Vector<
T * >::difference_type 
difference_type
typedef IT_TYPENAME IT_Vector<
T * >::value_type 
value_type

Public Member Functions

 DeletingVector ()
 No argument constructor.
IT_EXPLICIT DeletingVector (size_t n, T *init_val=0)
 Constructor.
 ~DeletingVector ()
 Destructor.


Generated on Tue Mar 20 15:28:00 2007 for Artix by  doxygen 1.5.1-p1