Xpetra Version of the Day
Loading...
Searching...
No Matches
Xpetra::BlockedVector::Xpetra::ArrayView< class T > Class Template Reference

Public Types

typedef Teuchos_Ordinal Ordinal
 
typedef Teuchos_Ordinal Ordinal
 
typedef Ordinal size_type
 
typedef Ordinal size_type
 
typedef Ordinal difference_type
 
typedef Ordinal difference_type
 
typedef T value_type
 
typedef T value_type
 
typedef T * pointer
 
typedef T * pointer
 
typedef const T * const_pointer
 
typedef const T * const_pointer
 
typedef T & reference
 
typedef T & reference
 
typedef const T & const_reference
 
typedef const T & const_reference
 
typedef pointer iterator
 
typedef pointer iterator
 
typedef const_pointer const_iterator
 
typedef const_pointer const_iterator
 

Public Member Functions

 ArrayView (ENull null_arg=null)
 
 ArrayView (T *p, size_type size, const ERCPNodeLookup rcpNodeLookup=RCP_ENABLE_NODE_LOOKUP)
 
 ArrayView (const ArrayView< T > &array)
 
 ArrayView (std::vector< typename ConstTypeTraits< T >::NonConstType > &vec)
 
 ArrayView (const std::vector< typename ConstTypeTraits< T >::NonConstType > &vec)
 
 ArrayView (ENull null_arg=null)
 
 ArrayView (T *p, size_type size, const ERCPNodeLookup rcpNodeLookup=RCP_ENABLE_NODE_LOOKUP)
 
 ArrayView (const ArrayView< T > &array)
 
 ArrayView (std::vector< typename ConstTypeTraits< T >::NonConstType > &vec)
 
 ArrayView (const std::vector< typename ConstTypeTraits< T >::NonConstType > &vec)
 
ArrayView< T > & operator= (const ArrayView< T > &array)
 
ArrayView< T > & operator= (const ArrayView< T > &array)
 
 ~ArrayView ()
 
 ~ArrayView ()
 
bool is_null () const
 
bool is_null (const ArrayView< T > &av)
 
bool is_null () const
 
size_type size () const
 
size_type size () const
 
std::string toString () const
 
std::string toString () const
 
T * getRawPtr () const
 
T * getRawPtr () const
 
T * data () const
 
T * data () const
 
T & operator[] (size_type i) const
 
T & operator[] (size_type i) const
 
T & front () const
 
T & front () const
 
T & back () const
 
T & back () const
 
ArrayView< T > view (size_type offset, size_type size) const
 
ArrayView< T > view (size_type offset, size_type size) const
 
ArrayView< T > operator() (size_type offset, size_type size) const
 
const ArrayView< T > & operator() () const
 
ArrayView< T > operator() (size_type offset, size_type size) const
 
const ArrayView< T > & operator() () const
 
ArrayView< const T > getConst () const
 
ArrayView< const T > getConst () const
 
 operator ArrayView< const T > () const
 
 operator ArrayView< const T > () const
 
void assign (const ArrayView< const T > &array) const
 
void assign (const ArrayView< const T > &array) const
 
iterator begin () const
 
iterator begin () const
 
iterator end () const
 
iterator end () const
 
ArrayView< T > arrayView (T *p, typename ArrayView< T >::size_type size)
 
ArrayView< T > arrayViewFromVector (std::vector< T > &vec)
 
ArrayView< const T > arrayViewFromVector (const std::vector< T > &vec)
 
std::vector< T > createVector (const ArrayView< T > &av)
 
std::vector< T > createVector (const ArrayView< const T > &av)
 
bool nonnull (const ArrayView< T > &av)
 
std::ostream & operator<< (std::ostream &out, const ArrayView< T > &av)
 
ArrayView< T2 > av_const_cast (const ArrayView< T1 > &p1)
 
ArrayView< T2 > av_reinterpret_cast (const ArrayView< T1 > &p1)
 
const ArrayView< T > & assert_not_null () const
 
const ArrayView< T > & assert_in_range (size_type offset, size_type size) const
 

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