cloudy
trunk
|
#include <container_classes.h>
Public Types | |
typedef random_access_iterator_tag | iterator_category |
typedef T | value_type |
typedef T & | reference |
typedef const T & | const_reference |
typedef T * | pointer |
typedef const T * | const_pointer |
typedef long | size_type |
typedef ptrdiff_t | difference_type |
typedef pntr< T, lgBC > | iterator |
typedef const_pntr< T, lgBC > | const_iterator |
Public Member Functions | |
flex_arr () | |
flex_arr (size_type begin, size_type end) | |
flex_arr (const flex_arr &f) | |
~flex_arr () | |
const flex_arr & | operator= (const flex_arr &f) |
void | clear () |
void | zero () |
void | invalidate () |
void | state_do (FILE *out, bool lgGet) |
void | dump_state (FILE *out) const |
void | restore_state (FILE *in) |
void | reserve (size_type size) |
void | alloc (size_type begin, size_type end) |
void | realloc (size_type end) |
reference | operator[] (size_type i) |
const_reference | operator[] (size_type i) const |
reference | at (size_type i) |
const_reference | at (size_type i) const |
iterator | ptr (size_type i) |
const_iterator | ptr (size_type i) const |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
reference | front () |
const_reference | front () const |
reference | back () |
const_reference | back () const |
size_type | size () const |
size_type | capacity () const |
bool | empty () const |
pointer | data () |
const_pointer | data () const |
pointer | ptr0 () |
const_pointer | ptr0 () const |
Private Member Functions | |
void | p_clear0 () |
void | p_clear1 () |
T * | p_alloc (size_t size) const |
void | p_free (T *p) const |
pointer | p_pointer (size_type i) const |
iterator | p_iterator (size_type i) const |
bool | p_lgInbounds (size_type i) const |
reference | p_index (size_type i) const |
Private Attributes | |
size_t | p_size |
long | p_begin |
long | p_end |
bool | p_init |
T * | p_ptr_alloc |
T * | p_ptr |
Definition at line 1845 of file container_classes.h.
typedef const_pntr<T,lgBC> flex_arr< T, lgBC >::const_iterator |
Definition at line 1865 of file container_classes.h.
typedef const T* flex_arr< T, lgBC >::const_pointer |
Definition at line 1861 of file container_classes.h.
typedef const T& flex_arr< T, lgBC >::const_reference |
Definition at line 1859 of file container_classes.h.
typedef ptrdiff_t flex_arr< T, lgBC >::difference_type |
Definition at line 1863 of file container_classes.h.
Definition at line 1864 of file container_classes.h.
typedef random_access_iterator_tag flex_arr< T, lgBC >::iterator_category |
Definition at line 1856 of file container_classes.h.
Definition at line 1860 of file container_classes.h.
Definition at line 1858 of file container_classes.h.
Definition at line 1862 of file container_classes.h.
typedef T flex_arr< T, lgBC >::value_type |
Definition at line 1857 of file container_classes.h.
Definition at line 1892 of file container_classes.h.
|
inline |
Definition at line 1896 of file container_classes.h.
|
inline |
Definition at line 1901 of file container_classes.h.
Definition at line 1906 of file container_classes.h.
|
inline |
Definition at line 1981 of file container_classes.h.
Referenced by flex_arr< double >::flex_arr().
|
inline |
Definition at line 2075 of file container_classes.h.
|
inline |
Definition at line 2081 of file container_classes.h.
Definition at line 2126 of file container_classes.h.
|
inline |
Definition at line 2130 of file container_classes.h.
Definition at line 2099 of file container_classes.h.
Referenced by flex_arr< double >::alloc(), and flex_arr< double >::front().
|
inline |
Definition at line 2103 of file container_classes.h.
|
inline |
Definition at line 2139 of file container_classes.h.
|
inline |
Definition at line 1931 of file container_classes.h.
Referenced by flex_arr< double >::alloc(), InitBinAugerData(), flex_arr< double >::operator=(), ShellData::p_clear0(), ChargeBin::p_clear0(), and flex_arr< double >::reserve().
Definition at line 2148 of file container_classes.h.
|
inline |
Definition at line 2152 of file container_classes.h.
|
inline |
Definition at line 1953 of file container_classes.h.
Referenced by flex_arr< double >::state_do().
|
inline |
Definition at line 2143 of file container_classes.h.
Definition at line 2108 of file container_classes.h.
Referenced by flex_arr< double >::alloc(), flex_arr< double >::back(), and flex_arr< double >::realloc().
|
inline |
Definition at line 2112 of file container_classes.h.
Definition at line 2117 of file container_classes.h.
|
inline |
Definition at line 2121 of file container_classes.h.
|
inline |
Definition at line 1941 of file container_classes.h.
|
inline |
Definition at line 1910 of file container_classes.h.
|
inline |
Definition at line 2066 of file container_classes.h.
|
inline |
Definition at line 2070 of file container_classes.h.
|
inlineprivate |
Definition at line 1882 of file container_classes.h.
Referenced by flex_arr< double >::alloc(), flex_arr< double >::operator=(), flex_arr< double >::realloc(), and flex_arr< double >::reserve().
|
inlineprivate |
Definition at line 1868 of file container_classes.h.
Referenced by flex_arr< double >::clear(), and flex_arr< double >::~flex_arr().
|
inlineprivate |
Definition at line 1873 of file container_classes.h.
Referenced by flex_arr< double >::clear(), and flex_arr< double >::flex_arr().
|
inlineprivate |
Definition at line 1886 of file container_classes.h.
Referenced by flex_arr< double >::p_clear0(), and flex_arr< double >::realloc().
|
inlineprivate |
Definition at line 2051 of file container_classes.h.
Referenced by flex_arr< double >::operator[]().
|
inlineprivate |
Definition at line 2034 of file container_classes.h.
Referenced by flex_arr< double >::ptr().
|
inlineprivate |
Definition at line 2046 of file container_classes.h.
Referenced by flex_arr< double >::at(), and flex_arr< double >::p_index().
|
inlineprivate |
Definition at line 2029 of file container_classes.h.
Referenced by flex_arr< double >::p_index(), and flex_arr< double >::p_iterator().
|
inline |
Definition at line 2088 of file container_classes.h.
Referenced by flex_arr< double >::begin(), and flex_arr< double >::end().
|
inline |
Definition at line 2092 of file container_classes.h.
Definition at line 2157 of file container_classes.h.
Referenced by GrainElecEmis1(), GrainTemperature(), and UpdatePot1().
|
inline |
Definition at line 2161 of file container_classes.h.
|
inline |
Definition at line 2002 of file container_classes.h.
Referenced by InitBinAugerData().
|
inline |
Definition at line 1964 of file container_classes.h.
|
inline |
Definition at line 1958 of file container_classes.h.
Referenced by flex_arr< double >::state_do().
|
inline |
Definition at line 2135 of file container_classes.h.
Referenced by flex_arr< double >::empty(), and flex_arr< double >::p_alloc().
|
inline |
Definition at line 1945 of file container_classes.h.
|
inline |
Definition at line 1936 of file container_classes.h.
Referenced by InitBinAugerData().
|
private |
Definition at line 1848 of file container_classes.h.
Referenced by flex_arr< double >::alloc(), flex_arr< double >::begin(), flex_arr< double >::operator=(), flex_arr< double >::p_clear1(), flex_arr< double >::p_iterator(), flex_arr< double >::p_lgInbounds(), flex_arr< double >::realloc(), and flex_arr< double >::size().
|
private |
Definition at line 1849 of file container_classes.h.
Referenced by flex_arr< double >::alloc(), flex_arr< double >::end(), flex_arr< double >::operator=(), flex_arr< double >::p_clear1(), flex_arr< double >::p_iterator(), flex_arr< double >::p_lgInbounds(), flex_arr< double >::realloc(), and flex_arr< double >::size().
|
private |
Definition at line 1850 of file container_classes.h.
Referenced by flex_arr< double >::alloc(), flex_arr< double >::operator=(), flex_arr< double >::p_clear1(), and flex_arr< double >::realloc().
|
private |
Definition at line 1853 of file container_classes.h.
Referenced by flex_arr< double >::alloc(), flex_arr< double >::operator=(), flex_arr< double >::p_clear1(), flex_arr< double >::p_pointer(), flex_arr< double >::ptr0(), and flex_arr< double >::realloc().
|
private |
Definition at line 1852 of file container_classes.h.
Referenced by flex_arr< double >::alloc(), flex_arr< double >::data(), flex_arr< double >::dump_state(), flex_arr< double >::invalidate(), flex_arr< double >::operator=(), flex_arr< double >::p_clear0(), flex_arr< double >::p_clear1(), flex_arr< double >::realloc(), flex_arr< double >::reserve(), flex_arr< double >::restore_state(), and flex_arr< double >::zero().
|
private |
Definition at line 1847 of file container_classes.h.
Referenced by flex_arr< double >::alloc(), flex_arr< double >::capacity(), flex_arr< double >::dump_state(), flex_arr< double >::invalidate(), flex_arr< double >::operator=(), flex_arr< double >::p_clear1(), flex_arr< double >::realloc(), flex_arr< double >::reserve(), flex_arr< double >::restore_state(), and flex_arr< double >::zero().