Logo Search packages:      
Sourcecode: maude version File versions  Download package

Classes | Public Types | Public Member Functions | Private Attributes | Friends

Vector< T > Class Template Reference

Collaboration diagram for Vector< T >:
Collaboration graph

List of all members.


class  const_iterator
class  iterator

Public Types

typedef const value_type * const_pointer
typedef const value_type & const_reference
typedef ptrdiff_t difference_type
typedef value_type * pointer
typedef value_type & reference
typedef size_t size_type
typedef T value_type

Public Member Functions

void append (const T &item)
iterator begin ()
const_iterator begin () const
size_t bytesAllocated () const
size_type capacity () const
void clear ()
void contractTo (size_type newLength)
bool empty () const
const_iterator end () const
iterator end ()
void expandBy (size_type extra)
void expandTo (size_type newLength)
bool isNull () const
int length () const
Vectoroperator= (const Vector &original)
const T & operator[] (size_type i) const
T & operator[] (size_type i)
void resize (size_type length)
size_type size () const
void swap (Vector &other)
 Vector (size_type length=0)
 Vector (const Vector &original)
 Vector (size_type length, size_type preallocate)

Private Attributes

PreVector pv


class const_iterator
class iterator

Detailed Description

template<class T>
class Vector< T >

Definition at line 31 of file vector.hh.

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index