Seg3D  2.4
Seg3D is a free volume segmentation and processing tool developed by the NIH Center for Integrative Biomedical Computing at the University of Utah Scientific Computing and Imaging (SCI) Institute.
All Classes Namespaces Functions Variables Typedefs Enumerator Friends
Public Member Functions | Protected Attributes | List of all members
the_dynamic_array_t< T > Class Template Reference

Public Member Functions

 the_dynamic_array_t (const size_t &init_size)
 
 the_dynamic_array_t (const size_t &init_size, const size_t &page_size, const T &init_value)
 
 the_dynamic_array_t (const the_dynamic_array_t< T > &a)
 
void clear ()
 
the_dynamic_array_t< T > & operator= (const the_dynamic_array_t< T > &array)
 
void resize (const size_t &new_size)
 
const size_t & size () const
 
const size_t & page_size () const
 
size_t max_size () const
 
size_t num_pages () const
 
const T * page (const size_t &page_index) const
 
T * page (const size_t &page_index)
 
size_t end_index (bool last) const
 
const T & end_elem (bool last) const
 
T & end_elem (bool last)
 
const T & front () const
 
T & front ()
 
const T & back () const
 
T & back ()
 
T & elem (const size_t i)
 
T & operator[] (const size_t &i)
 
const T & elem (const size_t &i) const
 
const T & operator[] (const size_t &i) const
 
the_dynamic_array_ref_t< T > operator<< (const T &elem)
 
void push_back (const T &elem)
 
void append (const T &elem)
 
size_t index_of (const T &element) const
 
bool has (const T &element) const
 
bool remove (const T &element)
 
void assign (const size_t &size, const T &element)
 
void dump (std::ostream &strm) const
 

Protected Attributes

std::vector< std::vector< T > * > * array_
 
size_t page_size_
 
size_t size_
 
init_value_
 

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