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

#include <agg_array.h>

Inheritance diagram for agg::pod_bvector< T, S >:
agg::vertex_sequence< T, S >

List of all members.

Public Types

enum  block_scale_e { block_shift = S, block_size = 1 << block_shift, block_mask = block_size - 1 }
typedef T value_type

Public Member Functions

 ~pod_bvector ()
 pod_bvector ()
 pod_bvector (unsigned block_ptr_inc)
 pod_bvector (const pod_bvector< T, S > &v)
const pod_bvector< T, S > & operator= (const pod_bvector< T, S > &v)
void remove_all ()
void clear ()
void free_all ()
void free_tail (unsigned size)
void add (const T &val)
void push_back (const T &val)
void modify_last (const T &val)
void remove_last ()
int allocate_continuous_block (unsigned num_elements)
void add_array (const T *ptr, unsigned num_elem)
template<class DataAccessor >
void add_data (DataAccessor &data)
void cut_at (unsigned size)
unsigned size () const
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 & curr (unsigned idx) const
T & curr (unsigned idx)
const T & prev (unsigned idx) const
T & prev (unsigned idx)
const T & next (unsigned idx) const
T & next (unsigned idx)
const T & last () const
T & last ()
unsigned byte_size () const
void serialize (int8u *ptr) const
void deserialize (const int8u *data, unsigned byte_size)
void deserialize (unsigned start, const T &empty_val, const int8u *data, unsigned byte_size)
template<class ByteAccessor >
void deserialize (ByteAccessor data)
template<class ByteAccessor >
void deserialize (unsigned start, const T &empty_val, ByteAccessor data)
const T * block (unsigned nb) const

template<class T, unsigned S = 6>
class agg::pod_bvector< T, S >


Member Typedef Documentation

template<class T, unsigned S = 6>
typedef T agg::pod_bvector< T, S >::value_type

Member Enumeration Documentation

template<class T, unsigned S = 6>
enum agg::pod_bvector::block_scale_e
Enumerator:
block_shift 
block_size 
block_mask 

Constructor & Destructor Documentation

template<class T , unsigned S>
agg::pod_bvector< T, S >::~pod_bvector ( )
template<class T , unsigned S>
agg::pod_bvector< T, S >::pod_bvector ( )
template<class T , unsigned S>
agg::pod_bvector< T, S >::pod_bvector ( unsigned  block_ptr_inc)
template<class T, unsigned S>
agg::pod_bvector< T, S >::pod_bvector ( const pod_bvector< T, S > &  v)

Member Function Documentation

template<class T, unsigned S>
void agg::pod_bvector< T, S >::add ( const T &  val) [inline]
template<class T, unsigned S = 6>
void agg::pod_bvector< T, S >::add_array ( const T *  ptr,
unsigned  num_elem 
) [inline]
template<class T, unsigned S = 6>
template<class DataAccessor >
void agg::pod_bvector< T, S >::add_data ( DataAccessor &  data) [inline]
template<class T , unsigned S>
int agg::pod_bvector< T, S >::allocate_continuous_block ( unsigned  num_elements)
template<class T, unsigned S = 6>
const T& agg::pod_bvector< T, S >::at ( unsigned  i) const [inline]
template<class T, unsigned S = 6>
T& agg::pod_bvector< T, S >::at ( unsigned  i) [inline]
template<class T, unsigned S = 6>
const T* agg::pod_bvector< T, S >::block ( unsigned  nb) const [inline]
template<class T , unsigned S>
unsigned agg::pod_bvector< T, S >::byte_size ( ) const
template<class T, unsigned S = 6>
void agg::pod_bvector< T, S >::clear ( ) [inline]
template<class T, unsigned S = 6>
const T& agg::pod_bvector< T, S >::curr ( unsigned  idx) const [inline]
template<class T, unsigned S = 6>
T& agg::pod_bvector< T, S >::curr ( unsigned  idx) [inline]
template<class T, unsigned S = 6>
void agg::pod_bvector< T, S >::cut_at ( unsigned  size) [inline]
template<class T , unsigned S>
void agg::pod_bvector< T, S >::deserialize ( const int8u data,
unsigned  byte_size 
)
template<class T, unsigned S>
void agg::pod_bvector< T, S >::deserialize ( unsigned  start,
const T &  empty_val,
const int8u data,
unsigned  byte_size 
)
template<class T, unsigned S = 6>
template<class ByteAccessor >
void agg::pod_bvector< T, S >::deserialize ( ByteAccessor  data) [inline]
template<class T, unsigned S = 6>
template<class ByteAccessor >
void agg::pod_bvector< T, S >::deserialize ( unsigned  start,
const T &  empty_val,
ByteAccessor  data 
) [inline]
template<class T, unsigned S = 6>
void agg::pod_bvector< T, S >::free_all ( ) [inline]
template<class T , unsigned S>
void agg::pod_bvector< T, S >::free_tail ( unsigned  size)
template<class T, unsigned S = 6>
const T& agg::pod_bvector< T, S >::last ( ) const [inline]
template<class T, unsigned S = 6>
T& agg::pod_bvector< T, S >::last ( ) [inline]
template<class T, unsigned S>
void agg::pod_bvector< T, S >::modify_last ( const T &  val)
template<class T, unsigned S = 6>
const T& agg::pod_bvector< T, S >::next ( unsigned  idx) const [inline]
template<class T, unsigned S = 6>
T& agg::pod_bvector< T, S >::next ( unsigned  idx) [inline]
template<class T, unsigned S>
const pod_bvector< T, S > & agg::pod_bvector< T, S >::operator= ( const pod_bvector< T, S > &  v)
template<class T, unsigned S = 6>
const T& agg::pod_bvector< T, S >::operator[] ( unsigned  i) const [inline]
template<class T, unsigned S = 6>
T& agg::pod_bvector< T, S >::operator[] ( unsigned  i) [inline]
template<class T, unsigned S = 6>
const T& agg::pod_bvector< T, S >::prev ( unsigned  idx) const [inline]
template<class T, unsigned S = 6>
T& agg::pod_bvector< T, S >::prev ( unsigned  idx) [inline]
template<class T, unsigned S = 6>
void agg::pod_bvector< T, S >::push_back ( const T &  val) [inline]
template<class T, unsigned S = 6>
void agg::pod_bvector< T, S >::remove_all ( ) [inline]
template<class T , unsigned S>
void agg::pod_bvector< T, S >::remove_last ( ) [inline]
template<class T , unsigned S>
void agg::pod_bvector< T, S >::serialize ( int8u ptr) const
template<class T, unsigned S = 6>
unsigned agg::pod_bvector< T, S >::size ( ) const [inline]
template<class T, unsigned S = 6>
T agg::pod_bvector< T, S >::value_at ( unsigned  i) const [inline]

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