MOOCHO (Single Doxygen Collection) Version of the Day
Public Types | Public Member Functions | Private Attributes
DenseLinAlgPack::VectorSliceTmpl< T > Class Template Reference

More...

#include <DenseLinAlgPack_DVectorClassTmpl.hpp>

Inheritance diagram for DenseLinAlgPack::VectorSliceTmpl< T >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef T value_type
typedef DenseLinAlgPack::size_type size_type
typedef ptrdiff_t difference_type
typedef
StrideIterPack::stride_iter
< value_type *, value_type,
value_type &, value_type
*, difference_type
iterator
typedef
StrideIterPack::stride_iter
< const value_type
*, value_type, const
value_type &, const value_type
*, difference_type
const_iterator
typedef std::reverse_iterator
< iterator
reverse_iterator
typedef std::reverse_iterator
< const_iterator
const_reverse_iterator
typedef value_typereference
typedef const value_typeconst_reference

Public Member Functions

void bind (VectorSliceTmpl< value_type > vs)
 Bind to the view of another VectorSliceTmpl.

Private Attributes

value_typeptr_
size_type size_
difference_type stride_
 VectorSliceTmpl ()
 
 VectorSliceTmpl (value_type *ptr, size_type size, difference_type stride=1)
 
 VectorSliceTmpl (value_type *ptr, size_type size, const Range1D &rng)
 
 VectorSliceTmpl (VectorSliceTmpl< value_type > &vs, const Range1D &rng)
iterator begin ()
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
reverse_iterator rbegin ()
 
reverse_iterator rend ()
 
const_reverse_iterator rbegin () const
 
const_reverse_iterator rend () const
 
reference operator() (size_type i)
 1-based element access (lvalue)
const_reference operator() (size_type i) const
 1-based element access (rvalue)
reference operator[] (size_type i)
 1-based element access (lvalue)
const_reference operator[] (size_type i) const
 0-based element access (rvalue)
VectorSliceTmpl< value_type > * operator& ()
const VectorSliceTmpl
< value_type > * 
operator& () const
 
VectorSliceTmpl< value_type > & operator() ()
const VectorSliceTmpl
< value_type > & 
operator() () const
 Same as above.
VectorSliceTmpl< value_typeoperator() (const Range1D &rng)
const VectorSliceTmpl< value_typeoperator() (const Range1D &rng) const
VectorSliceTmpl< value_typeoperator() (size_type lbound, size_type ubound)
const VectorSliceTmpl< value_typeoperator() (size_type lbound, size_type ubound) const
 Same as above.
VectorSliceTmpl< value_typerev ()
const VectorSliceTmpl< value_typerev () const
 Same as above.
VectorSliceTmpl< value_type > & operator= (value_type alpha)
 
VectorSliceTmpl< value_type > & operator= (const VectorSliceTmpl< value_type > &rhs)
 
size_type dim () const
 Returns the number of elements of the VectorSliceTmpl.
EOverLap overlap (const VectorSliceTmpl< value_type > &vs) const
value_typeraw_ptr ()
 Return a pointer to the address of the first memory location of underlying array.
const value_typeraw_ptr () const
 
value_typestart_ptr ()
 Return a pointer to the conceptual first element in the underlying array.
const value_typestart_ptr () const
 
difference_type stride () const
 Return the distance (+,-) (in units of elements) between adjacent elements in the underlying array.

Detailed Description

template<class T>
class DenseLinAlgPack::VectorSliceTmpl< T >

Definition at line 88 of file DenseLinAlgPack_DVectorClassTmpl.hpp.


Member Typedef Documentation

template<class T>
typedef T DenseLinAlgPack::VectorSliceTmpl< T >::value_type

Definition at line 112 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

Definition at line 113 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T>
typedef ptrdiff_t DenseLinAlgPack::VectorSliceTmpl< T >::difference_type

Definition at line 114 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

Definition at line 117 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

Definition at line 120 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T>
typedef std::reverse_iterator<iterator> DenseLinAlgPack::VectorSliceTmpl< T >::reverse_iterator

Definition at line 128 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T>
typedef std::reverse_iterator<const_iterator> DenseLinAlgPack::VectorSliceTmpl< T >::const_reverse_iterator

Definition at line 129 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T>
typedef value_type& DenseLinAlgPack::VectorSliceTmpl< T >::reference

Definition at line 131 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T>
typedef const value_type& DenseLinAlgPack::VectorSliceTmpl< T >::const_reference

Definition at line 132 of file DenseLinAlgPack_DVectorClassTmpl.hpp.


Constructor & Destructor Documentation

template<class T >
DenseLinAlgPack::VectorSliceTmpl< T >::VectorSliceTmpl ( ) [inline]

Definition at line 845 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
DenseLinAlgPack::VectorSliceTmpl< T >::VectorSliceTmpl ( value_type ptr,
size_type  size,
difference_type  stride = 1 
) [inline]

Definition at line 853 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
DenseLinAlgPack::VectorSliceTmpl< T >::VectorSliceTmpl ( value_type ptr,
size_type  size,
const Range1D rng 
) [inline]

Definition at line 861 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
DenseLinAlgPack::VectorSliceTmpl< T >::VectorSliceTmpl ( VectorSliceTmpl< value_type > &  vs,
const Range1D rng 
) [inline]

Definition at line 871 of file DenseLinAlgPack_DVectorClassTmpl.hpp.


Member Function Documentation

template<class T >
void DenseLinAlgPack::VectorSliceTmpl< T >::bind ( VectorSliceTmpl< value_type vs) [inline]

Bind to the view of another VectorSliceTmpl.

Definition at line 879 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
VectorSliceTmpl< T >::iterator DenseLinAlgPack::VectorSliceTmpl< T >::begin ( ) [inline]

Definition at line 889 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
VectorSliceTmpl< T >::iterator DenseLinAlgPack::VectorSliceTmpl< T >::end ( ) [inline]

Definition at line 894 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
VectorSliceTmpl< T >::const_iterator DenseLinAlgPack::VectorSliceTmpl< T >::begin ( ) const [inline]

Definition at line 899 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
VectorSliceTmpl< T >::const_iterator DenseLinAlgPack::VectorSliceTmpl< T >::end ( ) const [inline]

Definition at line 904 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
VectorSliceTmpl< T >::reverse_iterator DenseLinAlgPack::VectorSliceTmpl< T >::rbegin ( ) [inline]

Definition at line 909 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
VectorSliceTmpl< T >::reverse_iterator DenseLinAlgPack::VectorSliceTmpl< T >::rend ( ) [inline]

Definition at line 914 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
VectorSliceTmpl< T >::const_reverse_iterator DenseLinAlgPack::VectorSliceTmpl< T >::rbegin ( ) const [inline]

Definition at line 919 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
VectorSliceTmpl< T >::const_reverse_iterator DenseLinAlgPack::VectorSliceTmpl< T >::rend ( ) const [inline]

Definition at line 924 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
VectorSliceTmpl< T >::reference DenseLinAlgPack::VectorSliceTmpl< T >::operator() ( size_type  i) [inline]

1-based element access (lvalue)

Definition at line 930 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
VectorSliceTmpl< T >::const_reference DenseLinAlgPack::VectorSliceTmpl< T >::operator() ( size_type  i) const [inline]

1-based element access (rvalue)

Definition at line 938 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
VectorSliceTmpl< T >::reference DenseLinAlgPack::VectorSliceTmpl< T >::operator[] ( size_type  i) [inline]

1-based element access (lvalue)

Definition at line 946 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
VectorSliceTmpl< T >::const_reference DenseLinAlgPack::VectorSliceTmpl< T >::operator[] ( size_type  i) const [inline]

0-based element access (rvalue)

Definition at line 954 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T>
VectorSliceTmpl<value_type>* DenseLinAlgPack::VectorSliceTmpl< T >::operator& ( ) [inline]

Allow the address to be taken of an rvalue of this object.

Definition at line 306 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T>
const VectorSliceTmpl<value_type>* DenseLinAlgPack::VectorSliceTmpl< T >::operator& ( ) const [inline]

Definition at line 310 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
VectorSliceTmpl< T > & DenseLinAlgPack::VectorSliceTmpl< T >::operator() ( ) [inline]

Definition at line 963 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
const VectorSliceTmpl< T > & DenseLinAlgPack::VectorSliceTmpl< T >::operator() ( ) const [inline]

Same as above.

Definition at line 968 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
VectorSliceTmpl< T > DenseLinAlgPack::VectorSliceTmpl< T >::operator() ( const Range1D rng) [inline]

Definition at line 973 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
const VectorSliceTmpl< T > DenseLinAlgPack::VectorSliceTmpl< T >::operator() ( const Range1D rng) const [inline]

Definition at line 978 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
VectorSliceTmpl< T > DenseLinAlgPack::VectorSliceTmpl< T >::operator() ( size_type  lbound,
size_type  ubound 
) [inline]

Definition at line 983 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
const VectorSliceTmpl< T > DenseLinAlgPack::VectorSliceTmpl< T >::operator() ( size_type  lbound,
size_type  ubound 
) const [inline]

Same as above.

Definition at line 988 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
VectorSliceTmpl< T > DenseLinAlgPack::VectorSliceTmpl< T >::rev ( ) [inline]

Definition at line 993 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
const VectorSliceTmpl< T > DenseLinAlgPack::VectorSliceTmpl< T >::rev ( ) const [inline]

Same as above.

Definition at line 998 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
VectorSliceTmpl< T > & DenseLinAlgPack::VectorSliceTmpl< T >::operator= ( value_type  alpha) [inline]

Definition at line 1004 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
VectorSliceTmpl< T > & DenseLinAlgPack::VectorSliceTmpl< T >::operator= ( const VectorSliceTmpl< value_type > &  rhs) [inline]

Definition at line 1012 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
VectorSliceTmpl< T >::size_type DenseLinAlgPack::VectorSliceTmpl< T >::dim ( ) const [inline]

Returns the number of elements of the VectorSliceTmpl.

Definition at line 1023 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
EOverLap DenseLinAlgPack::VectorSliceTmpl< T >::overlap ( const VectorSliceTmpl< value_type > &  vs) const

Definition at line 1300 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
VectorSliceTmpl< T >::value_type * DenseLinAlgPack::VectorSliceTmpl< T >::raw_ptr ( ) [inline]

Return a pointer to the address of the first memory location of underlying array.

Definition at line 1030 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
const VectorSliceTmpl< T >::value_type * DenseLinAlgPack::VectorSliceTmpl< T >::raw_ptr ( ) const [inline]

Definition at line 1035 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
VectorSliceTmpl< T >::value_type * DenseLinAlgPack::VectorSliceTmpl< T >::start_ptr ( ) [inline]

Return a pointer to the conceptual first element in the underlying array.

Definition at line 1040 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
const VectorSliceTmpl< T >::value_type * DenseLinAlgPack::VectorSliceTmpl< T >::start_ptr ( ) const [inline]

Definition at line 1045 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
VectorSliceTmpl< T >::difference_type DenseLinAlgPack::VectorSliceTmpl< T >::stride ( ) const [inline]

Return the distance (+,-) (in units of elements) between adjacent elements in the underlying array.

Definition at line 1050 of file DenseLinAlgPack_DVectorClassTmpl.hpp.


Member Data Documentation

template<class T>
value_type* DenseLinAlgPack::VectorSliceTmpl< T >::ptr_ [private]

Definition at line 431 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T>
size_type DenseLinAlgPack::VectorSliceTmpl< T >::size_ [private]

Definition at line 432 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T>
difference_type DenseLinAlgPack::VectorSliceTmpl< T >::stride_ [private]

Definition at line 433 of file DenseLinAlgPack_DVectorClassTmpl.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines