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

FTVector< FT_VECTOR_ITEM_TYPE > Class Template Reference

#include <FTVector.h>

List of all members.


Detailed Description

template<typename FT_VECTOR_ITEM_TYPE>
class FTVector< FT_VECTOR_ITEM_TYPE >

Provides a non-STL alternative to the STL vector

Definition at line 10 of file FTVector.h.


Public Types

typedef const value_type * const_iterator
typedef const value_type & const_reference
typedef value_type * iterator
typedef value_type & reference
typedef size_t size_type
typedef FT_VECTOR_ITEM_TYPE value_type

Public Member Functions

const_iterator begin () const
iterator begin ()
size_type capacity () const
void clear ()
bool empty () const
const_iterator end () const
iterator end ()
FTVectoroperator= (const FTVector &v)
const_reference operator[] (size_type pos) const
reference operator[] (size_type pos)
void push_back (const value_type &x)
void reserve (size_type n)
void resize (size_type n, value_type x)
size_type size () const

Private Member Functions

void expand (size_type capacity_hint=0)

Private Attributes

size_type Capacity
value_type * Items
size_type Size

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

Generated by  Doxygen 1.6.0   Back to index