nnl::vector< T > Class Template Reference

Simple vector implementation. More...

#include <vector.hh>

List of all members.

Public Member Functions

void clear ()
 Just set the size to 0.

Public Attributes

T * mpData
size_t mSize
 actual size in elements
size_t mCapacity
 vector's capacity in elements
bool mEmpty
 empty flag

Detailed Description

template<typename T>
class nnl::vector< T >

Simple vector implementation.

Simple vector implementation. clear() does not erase elements, just sets size to 0. The goal is also to have interface same as std::vector<>.

Member Function Documentation

template<typename T>
void nnl::vector< T >::clear (  )  [inline]

Just set the size to 0.

Does not call destructors on contained objects!!!

The documentation for this class was generated from the following file:
Generated on Tue Jun 19 10:31:48 2012 for nnl by  doxygen 1.4.7