dune-fem
2.4.1-rc
|
#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/storage/stlarray.hh>
Public Types | |
typedef ElementImp | ElementType |
typedef STLArrayTraits< ElementType > | Traits |
typedef Traits::IteratorType | IteratorType |
typedef Traits::ConstIteratorType | ConstIteratorType |
typedef Traits::ArrayType | ArrayType |
type of the implementation (Barton-Nackman) More... | |
typedef ThisType | ArrayInterfaceType |
type of this interface More... | |
typedef ElementType | value_type |
make consistent with std::vector More... | |
typedef ConstIteratorType | const_iterator |
type of constant iterator More... | |
typedef IteratorType | iterator |
type of (non-constant) iterator More... | |
typedef unsigned int | size_type |
type of unsigned integral type of indexing More... | |
Public Member Functions | |
STLArray (unsigned int size=0) | |
STLArray (unsigned int size, const ElementType &element) | |
STLArray (const ThisType &other) | |
const ElementType & | operator[] (unsigned int index) const |
ElementType & | operator[] (unsigned int index) |
ThisType & | assign (const ElementType &element) |
fill the array with copies of an element More... | |
template<class T > | |
ThisType & | assign (const ArrayInterface< T > &other) |
copy another array to this one More... | |
void | append (const ElementType &element) |
template<class T > | |
void | append (const ArrayInterface< T > &array) |
void | resize (unsigned int newSize) |
ConstIteratorType | begin () const |
obtain begin iterator More... | |
IteratorType | begin () |
obtain begin iterator More... | |
ConstIteratorType | end () const |
obtain end iterator More... | |
IteratorType | end () |
obtain end iterator More... | |
unsigned int | size () const |
Protected Member Functions | |
const STLArrayTraits< ElementImp >::ArrayType & | asImp () const |
STLArrayTraits< ElementImp >::ArrayType & | asImp () |
Static Protected Member Functions | |
static const STLArrayTraits< ElementImp >::ArrayType & | asImp (const ThisType &other) |
static STLArrayTraits< ElementImp >::ArrayType & | asImp (ThisType &other) |
Protected Attributes | |
stdVectorType | vector_ |
|
inherited |
type of this interface
|
inherited |
type of the implementation (Barton-Nackman)
|
inherited |
type of constant iterator
typedef Traits :: ConstIteratorType Dune::Fem::STLArray< ElementImp >::ConstIteratorType |
typedef ElementImp Dune::Fem::STLArray< ElementImp >::ElementType |
|
inherited |
type of (non-constant) iterator
typedef Traits :: IteratorType Dune::Fem::STLArray< ElementImp >::IteratorType |
|
inherited |
type of unsigned integral type of indexing
typedef STLArrayTraits< ElementType > Dune::Fem::STLArray< ElementImp >::Traits |
|
inherited |
make consistent with std::vector
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
References Dune::Fem::ArrayInterface< AT >::size().
|
inlinestaticprotectedinherited |
|
inlinestaticprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inline |
fill the array with copies of an element
References Dune::Fem::STLArray< ElementImp >::assign().
Referenced by Dune::Fem::STLArray< ElementImp >::assign().
|
inline |
copy another array to this one
References Dune::Fem::ArrayInterface< AT >::size().
|
inline |
obtain begin iterator
|
inline |
obtain begin iterator
|
inline |
obtain end iterator
|
inline |
obtain end iterator
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |