Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

array_vector< _T > Class Template Reference
[Classes and types for external use]

STL vector wrapper for C array. More...

#include <array_vector.h>

List of all members.

Public Methods

 array_vector ()
 array_vector (_T *__a, int n)
 ~array_vector ()
void assignvector (_T *__a, int n)


Detailed Description

template<class _T>
class array_vector< _T >

This class is a wrapper class, which builds a STL vector around a C array. Afterwards, this array_vector can be used lika a const std::vector of the same type.

Definition at line 40 of file array_vector.h.


Constructor & Destructor Documentation

template<class _T>
array_vector< _T >::array_vector   [inline]
 

standard constructor

Definition at line 46 of file array_vector.h.

template<class _T>
array_vector< _T >::array_vector _T *    __a,
int    n
[inline]
 

constructor building an array_vector from pointer __a with size n

Definition at line 51 of file array_vector.h.

template<class _T>
array_vector< _T >::~array_vector   [inline]
 

standard destructor

Definition at line 60 of file array_vector.h.


Member Function Documentation

template<class _T>
void array_vector< _T >::assignvector _T *    __a,
int    n
[inline]
 

assign an array (__a) of length n to this array_vector.

Definition at line 65 of file array_vector.h.


The documentation for this class was generated from the following file:
Generated on Tue Nov 4 01:41:43 2003 for Vienna Graph Template Library by doxygen1.2.18