Anti-Grain Geometry - AGG (libagg)  2.5
Public Types | Public Member Functions
agg::pod_vector< T > Class Template Reference

#include <agg_array.h>

List of all members.

Public Types

typedef T value_type

Public Member Functions

 ~pod_vector ()
 pod_vector ()
 pod_vector (unsigned cap, unsigned extra_tail=0)
 pod_vector (const pod_vector< T > &)
const pod_vector< T > & operator= (const pod_vector< T > &)
void capacity (unsigned cap, unsigned extra_tail=0)
unsigned capacity () const
void allocate (unsigned size, unsigned extra_tail=0)
void resize (unsigned new_size)
void zero ()
void add (const T &v)
void push_back (const T &v)
void insert_at (unsigned pos, const T &val)
void inc_size (unsigned size)
unsigned size () const
unsigned byte_size () const
void serialize (int8u *ptr) const
void deserialize (const int8u *data, unsigned byte_size)
const T & operator[] (unsigned i) const
T & operator[] (unsigned i)
const T & at (unsigned i) const
T & at (unsigned i)
value_at (unsigned i) const
const T * data () const
T * data ()
void remove_all ()
void clear ()
void cut_at (unsigned num)

template<class T>
class agg::pod_vector< T >


Member Typedef Documentation

template<class T>
typedef T agg::pod_vector< T >::value_type

Constructor & Destructor Documentation

template<class T>
agg::pod_vector< T >::~pod_vector ( ) [inline]
template<class T>
agg::pod_vector< T >::pod_vector ( ) [inline]
template<class T >
agg::pod_vector< T >::pod_vector ( unsigned  cap,
unsigned  extra_tail = 0 
)
template<class T>
agg::pod_vector< T >::pod_vector ( const pod_vector< T > &  v)

Member Function Documentation

template<class T>
void agg::pod_vector< T >::add ( const T &  v) [inline]
template<class T >
void agg::pod_vector< T >::allocate ( unsigned  size,
unsigned  extra_tail = 0 
)
template<class T>
const T& agg::pod_vector< T >::at ( unsigned  i) const [inline]
template<class T>
T& agg::pod_vector< T >::at ( unsigned  i) [inline]
template<class T>
unsigned agg::pod_vector< T >::byte_size ( ) const [inline]
template<class T >
void agg::pod_vector< T >::capacity ( unsigned  cap,
unsigned  extra_tail = 0 
)
template<class T>
unsigned agg::pod_vector< T >::capacity ( ) const [inline]
template<class T>
void agg::pod_vector< T >::clear ( ) [inline]
template<class T>
void agg::pod_vector< T >::cut_at ( unsigned  num) [inline]
template<class T>
const T* agg::pod_vector< T >::data ( ) const [inline]
template<class T>
T* agg::pod_vector< T >::data ( ) [inline]
template<class T >
void agg::pod_vector< T >::deserialize ( const int8u data,
unsigned  byte_size 
)
template<class T>
void agg::pod_vector< T >::inc_size ( unsigned  size) [inline]
template<class T>
void agg::pod_vector< T >::insert_at ( unsigned  pos,
const T &  val 
)
template<class T>
const pod_vector< T > & agg::pod_vector< T >::operator= ( const pod_vector< T > &  v)
template<class T>
const T& agg::pod_vector< T >::operator[] ( unsigned  i) const [inline]
template<class T>
T& agg::pod_vector< T >::operator[] ( unsigned  i) [inline]
template<class T>
void agg::pod_vector< T >::push_back ( const T &  v) [inline]
template<class T>
void agg::pod_vector< T >::remove_all ( ) [inline]
template<class T >
void agg::pod_vector< T >::resize ( unsigned  new_size)
template<class T >
void agg::pod_vector< T >::serialize ( int8u ptr) const
template<class T>
unsigned agg::pod_vector< T >::size ( ) const [inline]
template<class T>
T agg::pod_vector< T >::value_at ( unsigned  i) const [inline]
template<class T>
void agg::pod_vector< T >::zero ( ) [inline]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines