|
Teuchos Package Browser (Single Doxygen Collection) Version of the Day
|
Partial specialization of ArrayView for const T. More...
#include <Teuchos_ArrayViewDecl.hpp>
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_ |
| size_type | 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 433 of file Teuchos_ArrayViewDecl.hpp.
| typedef Teuchos_Ordinal Teuchos::ArrayView< const T >::Ordinal |
Definition at line 435 of file Teuchos_ArrayViewDecl.hpp.
Definition at line 436 of file Teuchos_ArrayViewDecl.hpp.
Definition at line 437 of file Teuchos_ArrayViewDecl.hpp.
Definition at line 438 of file Teuchos_ArrayViewDecl.hpp.
Definition at line 439 of file Teuchos_ArrayViewDecl.hpp.
Definition at line 440 of file Teuchos_ArrayViewDecl.hpp.
Definition at line 441 of file Teuchos_ArrayViewDecl.hpp.
Definition at line 442 of file Teuchos_ArrayViewDecl.hpp.
Definition at line 448 of file Teuchos_ArrayViewDecl.hpp.
| typedef const_pointer Teuchos::ArrayView< const T >::const_iterator |
Definition at line 449 of file Teuchos_ArrayViewDecl.hpp.
| Teuchos::ArrayView< const T >::ArrayView | ( | const T * | p, |
| size_type | size, | ||
| const ERCPNodeLookup | rcpNodeLookup = RCP_ENABLE_NODE_LOOKUP ) |
| Teuchos::ArrayView< const T >::ArrayView | ( | std::vector< typename ConstTypeTraits< T >::NonConstType > & | vec | ) |
| Teuchos::ArrayView< const T >::ArrayView | ( | const std::vector< typename ConstTypeTraits< T >::NonConstType > & | vec | ) |
| ArrayView< const T > & Teuchos::ArrayView< const T >::operator= | ( | const ArrayView< const T > & | array | ) |
| std::string Teuchos::ArrayView< const T >::toString | ( | ) | const |
| ArrayView< const T > Teuchos::ArrayView< const T >::operator() | ( | size_type | offset, |
| size_type | size ) const |
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.
| const ArrayView< const T > & Teuchos::ArrayView< const T >::assert_in_range | ( | size_type | offset, |
| size_type | size ) const |
|
private |
|
inlineprivate |
Definition at line 525 of file Teuchos_ArrayViewDecl.hpp.
|
inlineprivate |
Definition at line 531 of file Teuchos_ArrayViewDecl.hpp.
|
inlineprivate |
Definition at line 538 of file Teuchos_ArrayViewDecl.hpp.
Definition at line 548 of file Teuchos_ArrayViewDecl.hpp.
Definition at line 517 of file Teuchos_ArrayViewDecl.hpp.
Definition at line 518 of file Teuchos_ArrayViewDecl.hpp.