|
Teuchos Package Browser (Single Doxygen Collection)
Version of the Day
|
Partial specialization of ArrayView for const T. More...
#include <Teuchos_ArrayViewDecl.hpp>
Public Types | |
| typedef Teuchos_Ordinal | Ordinal |
| typedef Ordinal | size_type |
| typedef Ordinal | difference_type |
| typedef const T | value_type |
| typedef const T * | pointer |
| typedef const T * | const_pointer |
| typedef const T & | reference |
| typedef const T & | const_reference |
| typedef pointer | iterator |
| typedef const_pointer | const_iterator |
Public Member Functions | |
| ArrayView (ENull null_arg=null) | |
| ArrayView (const T *p, size_type size, const ERCPNodeLookup rcpNodeLookup=RCP_ENABLE_NODE_LOOKUP) | |
| ArrayView (const ArrayView< const T > &array) | |
| ArrayView (std::vector< typename ConstTypeTraits< T >::NonConstType > &vec) | |
| ArrayView (const std::vector< typename ConstTypeTraits< T >::NonConstType > &vec) | |
| ArrayView< const T > & | operator= (const ArrayView< const T > &array) |
| ~ArrayView () | |
| bool | is_null () const |
| size_type | size () const |
| std::string | toString () const |
| const T * | getRawPtr () const |
| const T & | operator[] (size_type i) const |
| const T & | front () const |
| const T & | back () const |
| ArrayView< const T > | view (size_type offset, size_type size) const |
| ArrayView< const T > | operator() (size_type offset, size_type size) const |
| const ArrayView< const T > & | operator() () const |
| ArrayView< const T > | getConst () const |
| Return a const view of *this. | |
| iterator | begin () const |
| iterator | end () const |
| const ArrayView< const T > & | assert_not_null () const |
| const ArrayView< const T > & | assert_in_range (size_type offset, size_type size) const |
| const T * | access_private_ptr () const |
Private Member Functions | |
| void | setUpIterators (const ERCPNodeLookup rcpNodeLookup=RCP_ENABLE_NODE_LOOKUP) |
| void | debug_assert_not_null () const |
| void | debug_assert_in_range (size_type offset, size_type size_in) const |
| void | debug_assert_valid_ptr () const |
Private Attributes | |
| const T * | ptr_ |
| int | size_ |
Partial specialization of ArrayView for const T.
The main documentation for ArrayView explains why this class needs a partial specialization for const types.
Definition at line 428 of file Teuchos_ArrayViewDecl.hpp.
| typedef Teuchos_Ordinal Teuchos::ArrayView< const T >::Ordinal |
Definition at line 430 of file Teuchos_ArrayViewDecl.hpp.
| typedef Ordinal Teuchos::ArrayView< const T >::size_type |
Definition at line 431 of file Teuchos_ArrayViewDecl.hpp.
| typedef Ordinal Teuchos::ArrayView< const T >::difference_type |
Definition at line 432 of file Teuchos_ArrayViewDecl.hpp.
| typedef const T Teuchos::ArrayView< const T >::value_type |
Definition at line 433 of file Teuchos_ArrayViewDecl.hpp.
| typedef const T* Teuchos::ArrayView< const T >::pointer |
Definition at line 434 of file Teuchos_ArrayViewDecl.hpp.
| typedef const T* Teuchos::ArrayView< const T >::const_pointer |
Definition at line 435 of file Teuchos_ArrayViewDecl.hpp.
| typedef const T& Teuchos::ArrayView< const T >::reference |
Definition at line 436 of file Teuchos_ArrayViewDecl.hpp.
| typedef const T& Teuchos::ArrayView< const T >::const_reference |
Definition at line 437 of file Teuchos_ArrayViewDecl.hpp.
| typedef pointer Teuchos::ArrayView< const T >::iterator |
Definition at line 443 of file Teuchos_ArrayViewDecl.hpp.
| typedef const_pointer Teuchos::ArrayView< const T >::const_iterator |
Definition at line 444 of file Teuchos_ArrayViewDecl.hpp.
| Teuchos::ArrayView< const T >::ArrayView | ( | ENull | null_arg = null | ) | [inline] |
Definition at line 65 of file Teuchos_ArrayView.hpp.
| Teuchos::ArrayView< const T >::ArrayView | ( | const T * | p, |
| size_type | size, | ||
| const ERCPNodeLookup | rcpNodeLookup = RCP_ENABLE_NODE_LOOKUP |
||
| ) | [inline] |
Definition at line 88 of file Teuchos_ArrayView.hpp.
| Teuchos::ArrayView< const T >::ArrayView | ( | const ArrayView< const T > & | array | ) | [inline] |
Definition at line 111 of file Teuchos_ArrayView.hpp.
| Teuchos::ArrayView< const T >::ArrayView | ( | std::vector< typename ConstTypeTraits< T >::NonConstType > & | vec | ) | [inline] |
Definition at line 129 of file Teuchos_ArrayView.hpp.
| Teuchos::ArrayView< const T >::ArrayView | ( | const std::vector< typename ConstTypeTraits< T >::NonConstType > & | vec | ) | [inline] |
Definition at line 148 of file Teuchos_ArrayView.hpp.
| Teuchos::ArrayView< const T >::~ArrayView | ( | ) | [inline] |
Definition at line 185 of file Teuchos_ArrayView.hpp.
| ArrayView< const T > & Teuchos::ArrayView< const T >::operator= | ( | const ArrayView< const T > & | array | ) | [inline] |
Definition at line 169 of file Teuchos_ArrayView.hpp.
| bool Teuchos::ArrayView< const T >::is_null | ( | ) | const [inline] |
Definition at line 201 of file Teuchos_ArrayView.hpp.
| ArrayView< const T >::size_type Teuchos::ArrayView< const T >::size | ( | ) | const [inline] |
Definition at line 215 of file Teuchos_ArrayView.hpp.
| std::string Teuchos::ArrayView< const T >::toString | ( | ) | const |
Definition at line 243 of file Teuchos_ArrayView.hpp.
| const T * Teuchos::ArrayView< const T >::getRawPtr | ( | ) | const [inline] |
Definition at line 299 of file Teuchos_ArrayView.hpp.
| const T & Teuchos::ArrayView< const T >::operator[] | ( | size_type | i | ) | const [inline] |
Definition at line 315 of file Teuchos_ArrayView.hpp.
| const T & Teuchos::ArrayView< const T >::front | ( | ) | const [inline] |
Definition at line 332 of file Teuchos_ArrayView.hpp.
| const T & Teuchos::ArrayView< const T >::back | ( | ) | const [inline] |
Definition at line 348 of file Teuchos_ArrayView.hpp.
| ArrayView< const T > Teuchos::ArrayView< const T >::view | ( | size_type | offset, |
| size_type | size | ||
| ) | const [inline] |
Definition at line 376 of file Teuchos_ArrayView.hpp.
| ArrayView< const T > Teuchos::ArrayView< const T >::operator() | ( | size_type | offset, |
| size_type | size | ||
| ) | const [inline] |
Definition at line 399 of file Teuchos_ArrayView.hpp.
| const ArrayView< const T > & Teuchos::ArrayView< const T >::operator() | ( | ) | const [inline] |
Definition at line 413 of file Teuchos_ArrayView.hpp.
| ArrayView< const T > Teuchos::ArrayView< const T >::getConst | ( | ) | const [inline] |
Return a const view of *this.
This object is already const (this is a specialization for const T), so this method is trivial; it just returns *this.
Definition at line 431 of file Teuchos_ArrayView.hpp.
| ArrayView< const T >::iterator Teuchos::ArrayView< const T >::begin | ( | ) | const |
Definition at line 475 of file Teuchos_ArrayView.hpp.
| ArrayView< const T >::iterator Teuchos::ArrayView< const T >::end | ( | ) | const |
Definition at line 498 of file Teuchos_ArrayView.hpp.
| const ArrayView< const T > & Teuchos::ArrayView< const T >::assert_not_null | ( | ) | const |
Definition at line 521 of file Teuchos_ArrayView.hpp.
| const ArrayView< const T > & Teuchos::ArrayView< const T >::assert_in_range | ( | size_type | offset, |
| size_type | size | ||
| ) | const |
Definition at line 552 of file Teuchos_ArrayView.hpp.
| void Teuchos::ArrayView< const T >::setUpIterators | ( | const ERCPNodeLookup | rcpNodeLookup = RCP_ENABLE_NODE_LOOKUP | ) | [private] |
Definition at line 615 of file Teuchos_ArrayView.hpp.
| void Teuchos::ArrayView< const T >::debug_assert_not_null | ( | ) | const [inline, private] |
Definition at line 518 of file Teuchos_ArrayViewDecl.hpp.
| void Teuchos::ArrayView< const T >::debug_assert_in_range | ( | size_type | offset, |
| size_type | size_in | ||
| ) | const [inline, private] |
Definition at line 524 of file Teuchos_ArrayViewDecl.hpp.
| void Teuchos::ArrayView< const T >::debug_assert_valid_ptr | ( | ) | const [inline, private] |
Definition at line 531 of file Teuchos_ArrayViewDecl.hpp.
| const T* Teuchos::ArrayView< const T >::access_private_ptr | ( | ) | const [inline] |
Definition at line 541 of file Teuchos_ArrayViewDecl.hpp.
const T* Teuchos::ArrayView< const T >::ptr_ [private] |
Definition at line 510 of file Teuchos_ArrayViewDecl.hpp.
int Teuchos::ArrayView< const T >::size_ [private] |
Definition at line 511 of file Teuchos_ArrayViewDecl.hpp.
1.7.6.1