CrawlVector Class Reference

#include <store.h>

List of all members.

Public Types

typedef std::vector
< CrawlStoreValue
vector_type
typedef vector_type::iterator iterator
typedef vector_type::const_iterator const_iterator

Public Member Functions

 CrawlVector ()
 CrawlVector (store_flags flags, vec_size max_size=VEC_MAX_SIZE)
 CrawlVector (store_val_type type, store_flags flags=0, vec_size max_size=VEC_MAX_SIZE)
 ~CrawlVector ()
void write (writer &) const
void read (reader &)
store_flags get_default_flags () const
store_flags set_default_flags (store_flags flags)
store_flags unset_default_flags (store_flags flags)
store_val_type get_type () const
void assert_validity () const
void set_max_size (vec_size size)
vec_size get_max_size () const
const CrawlStoreValueget_value (const vec_size &index) const
const CrawlStoreValueoperator[] (const vec_size &index) const
CrawlStoreValueget_value (const vec_size &index)
CrawlStoreValueoperator[] (const vec_size &index)
vec_size size () const
bool empty () const
CrawlStoreValuepop_back ()
void push_back (CrawlStoreValue val)
void insert (const vec_size index, CrawlStoreValue val)
void resize (const vec_size size)
void erase (const vec_size index)
void clear ()
const_iterator begin () const
const_iterator end () const
iterator begin ()
iterator end ()

Protected Attributes

store_val_type type
store_flags default_flags
vec_size max_size
vector_type vector

Friends

class CrawlStoreValue


Member Typedef Documentation

typedef vector_type::iterator CrawlVector::iterator

typedef vector_type::const_iterator CrawlVector::const_iterator


Constructor & Destructor Documentation

CrawlVector::CrawlVector (  ) 

CrawlVector::CrawlVector ( store_flags  flags,
vec_size  max_size = VEC_MAX_SIZE 
)

CrawlVector::CrawlVector ( store_val_type  type,
store_flags  flags = 0,
vec_size  max_size = VEC_MAX_SIZE 
)

CrawlVector::~CrawlVector (  ) 

Here is the call graph for this function:


Member Function Documentation

void CrawlVector::write ( writer th  )  const

Here is the call graph for this function:

void CrawlVector::read ( reader th  ) 

Here is the call graph for this function:

store_flags CrawlVector::get_default_flags (  )  const

Here is the call graph for this function:

store_flags CrawlVector::set_default_flags ( store_flags  flags  ) 

Here is the call graph for this function:

store_flags CrawlVector::unset_default_flags ( store_flags  flags  ) 

Here is the call graph for this function:

store_val_type CrawlVector::get_type (  )  const

Here is the call graph for this function:

void CrawlVector::assert_validity (  )  const

Here is the call graph for this function:

void CrawlVector::set_max_size ( vec_size  size  ) 

vec_size CrawlVector::get_max_size (  )  const

const CrawlStoreValue & CrawlVector::get_value ( const vec_size index  )  const

Here is the call graph for this function:

const CrawlStoreValue & CrawlVector::operator[] ( const vec_size index  )  const

Here is the call graph for this function:

CrawlStoreValue & CrawlVector::get_value ( const vec_size index  ) 

Here is the call graph for this function:

CrawlStoreValue & CrawlVector::operator[] ( const vec_size index  ) 

Here is the call graph for this function:

vec_size CrawlVector::size (  )  const

bool CrawlVector::empty (  )  const

CrawlStoreValue & CrawlVector::pop_back (  ) 

Here is the call graph for this function:

void CrawlVector::push_back ( CrawlStoreValue  val  ) 

Here is the call graph for this function:

void CrawlVector::insert ( const vec_size  index,
CrawlStoreValue  val 
)

Here is the call graph for this function:

void CrawlVector::resize ( const vec_size  size  ) 

Here is the call graph for this function:

void CrawlVector::erase ( const vec_size  index  ) 

Here is the call graph for this function:

void CrawlVector::clear (  ) 

Here is the call graph for this function:

CrawlVector::const_iterator CrawlVector::begin (  )  const

Here is the call graph for this function:

CrawlVector::const_iterator CrawlVector::end (  )  const

Here is the call graph for this function:

CrawlVector::iterator CrawlVector::begin (  ) 

Here is the call graph for this function:

CrawlVector::iterator CrawlVector::end (  ) 

Here is the call graph for this function:


Friends And Related Function Documentation

friend class CrawlStoreValue [friend]


Member Data Documentation


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

Generated on Thu Jan 13 13:32:49 2011 by  doxygen 1.5.6