Teuchos Package Browser (Single Doxygen Collection)
Version of the Day
|
Partial specialization of ArrayRCP for const T. More...
#include <Teuchos_ArrayRCPDecl.hpp>
Public Types | |
typedef Teuchos_Ordinal | Ordinal |
typedef Ordinal | size_type |
typedef Ordinal | difference_type |
typedef std::random_access_iterator_tag | iterator_category |
typedef const T * | iterator_type |
typedef const T | value_type |
typedef const T & | reference |
typedef const T & | const_reference |
typedef const T * | pointer |
typedef const T * | const_pointer |
typedef const T | element_type |
typedef const T * | iterator |
typedef const T * | const_iterator |
Public Member Functions | |
ArrayRCP (ENull null_arg=null) | |
ArrayRCP (const T *p, size_type lowerOffset, size_type size, bool has_ownership, const ERCPNodeLookup rcpNodeLookup=RCP_ENABLE_NODE_LOOKUP) | |
template<class Dealloc_T > | |
ArrayRCP (const T *p, size_type lowerOffset, size_type size, Dealloc_T dealloc, bool has_ownership) | |
ArrayRCP (size_type size, const T &val=T()) | |
ArrayRCP (const ArrayRCP< const T > &r_ptr) | |
~ArrayRCP () | |
ArrayRCP< const T > & | operator= (const ArrayRCP< const T > &r_ptr) |
bool | is_null () const |
const T * | operator-> () const |
const T & | operator* () const |
const T * | get () const |
const T * | getRawPtr () const |
const T & | operator[] (size_type offset) const |
ArrayRCP< const T > & | operator++ () |
ArrayRCP< const T > | operator++ (int) |
ArrayRCP< const T > & | operator-- () |
ArrayRCP< const T > | operator-- (int) |
ArrayRCP< const T > & | operator+= (size_type offset) |
ArrayRCP< const T > & | operator-= (size_type offset) |
ArrayRCP< const T > | operator+ (size_type offset) const |
ArrayRCP< const T > | operator- (size_type offset) const |
iterator | begin () const |
iterator | end () const |
ArrayRCP< const T > | getConst () const |
Return const reference to the array. More... | |
ArrayRCP< const T > | persistingView (size_type lowerOffset, size_type size) const |
size_type | lowerOffset () const |
size_type | upperOffset () const |
size_type | size () const |
ArrayView< const T > | view (size_type lowerOffset, size_type size) const |
ArrayView< const T > | operator() (size_type lowerOffset, size_type size) const |
ArrayView< const T > | operator() () const |
void | resize (const size_type n, const T &val=T()) |
void | clear () |
ERCPStrength | strength () const |
bool | is_valid_ptr () const |
int | strong_count () const |
int | weak_count () const |
int | total_count () const |
void | set_has_ownership () |
bool | has_ownership () const |
const T * | release () |
ArrayRCP< const T > | create_weak () const |
ArrayRCP< const T > | create_strong () const |
template<class T2 > | |
bool | shares_resource (const ArrayRCP< T2 > &r_ptr) const |
const ArrayRCP< const T > & | assert_not_null () const |
const ArrayRCP< const T > & | assert_in_range (size_type lowerOffset, size_type size) const |
const ArrayRCP< const T > & | assert_valid_ptr () const |
template<class T > | |
ArrayRCP (const T *p, size_type lowerOffset_in, size_type size_in, const RCPNodeHandle &node) | |
Private Member Functions | |
void | debug_assert_not_null () const |
void | debug_assert_in_range (size_type lowerOffset_in, size_type size_in) const |
void | debug_assert_valid_ptr () const |
Private Attributes | |
const T * | ptr_ |
RCPNodeHandle | node_ |
size_type | lowerOffset_ |
size_type | upperOffset_ |
Partial specialization of ArrayRCP for const T.
The main documentation for ArrayRCP explains why this class needs a partial specialization for const types.
Definition at line 805 of file Teuchos_ArrayRCPDecl.hpp.
typedef Teuchos_Ordinal Teuchos::ArrayRCP< const T >::Ordinal |
Definition at line 807 of file Teuchos_ArrayRCPDecl.hpp.
typedef Ordinal Teuchos::ArrayRCP< const T >::size_type |
Definition at line 808 of file Teuchos_ArrayRCPDecl.hpp.
typedef Ordinal Teuchos::ArrayRCP< const T >::difference_type |
Definition at line 809 of file Teuchos_ArrayRCPDecl.hpp.
typedef std::random_access_iterator_tag Teuchos::ArrayRCP< const T >::iterator_category |
Definition at line 810 of file Teuchos_ArrayRCPDecl.hpp.
typedef const T* Teuchos::ArrayRCP< const T >::iterator_type |
Definition at line 811 of file Teuchos_ArrayRCPDecl.hpp.
typedef const T Teuchos::ArrayRCP< const T >::value_type |
Definition at line 812 of file Teuchos_ArrayRCPDecl.hpp.
typedef const T& Teuchos::ArrayRCP< const T >::reference |
Definition at line 813 of file Teuchos_ArrayRCPDecl.hpp.
typedef const T& Teuchos::ArrayRCP< const T >::const_reference |
Definition at line 814 of file Teuchos_ArrayRCPDecl.hpp.
typedef const T* Teuchos::ArrayRCP< const T >::pointer |
Definition at line 815 of file Teuchos_ArrayRCPDecl.hpp.
typedef const T* Teuchos::ArrayRCP< const T >::const_pointer |
Definition at line 816 of file Teuchos_ArrayRCPDecl.hpp.
typedef const T Teuchos::ArrayRCP< const T >::element_type |
Definition at line 817 of file Teuchos_ArrayRCPDecl.hpp.
typedef const T* Teuchos::ArrayRCP< const T >::iterator |
Definition at line 823 of file Teuchos_ArrayRCPDecl.hpp.
typedef const T* Teuchos::ArrayRCP< const T >::const_iterator |
Definition at line 824 of file Teuchos_ArrayRCPDecl.hpp.
|
inline |
Definition at line 91 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 155 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 220 of file Teuchos_ArrayRCP.hpp.
|
inlineexplicit |
Definition at line 105 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 253 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 265 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 1164 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 284 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 308 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 322 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 339 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 358 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 374 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 388 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 410 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 430 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 450 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 470 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 490 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 511 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 530 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 547 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 570 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 593 of file Teuchos_ArrayRCP.hpp.
|
inline |
Return const reference to the array.
This method has a trivial implementation for the const T
specialization of ArrayRCP.
Definition at line 619 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 643 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 671 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 688 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 705 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 733 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 757 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 773 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 849 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 884 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 912 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 926 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 941 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 954 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 967 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 980 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 993 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 1008 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 1023 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 1036 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 1056 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 1079 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 1130 of file Teuchos_ArrayRCP.hpp.
|
inline |
Definition at line 1098 of file Teuchos_ArrayRCP.hpp.
|
inlineprivate |
Definition at line 901 of file Teuchos_ArrayRCPDecl.hpp.
|
inlineprivate |
Definition at line 908 of file Teuchos_ArrayRCPDecl.hpp.
|
inlineprivate |
Definition at line 917 of file Teuchos_ArrayRCPDecl.hpp.
|
private |
Definition at line 896 of file Teuchos_ArrayRCPDecl.hpp.
|
private |
Definition at line 897 of file Teuchos_ArrayRCPDecl.hpp.
|
private |
Definition at line 898 of file Teuchos_ArrayRCPDecl.hpp.
|
private |
Definition at line 899 of file Teuchos_ArrayRCPDecl.hpp.