DenseLinAlgPack::VectorSliceTmpl< T > Class Template Reference

More...

#include <DenseLinAlgPack_DVectorClassTmpl.hpp>

List of all members.
 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 & ()
 Allow the address to be taken of an rvalue of this object.
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.

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_


Detailed Description

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

Definition at line 75 of file DenseLinAlgPack_DVectorClassTmpl.hpp.


Member Typedef Documentation

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

Definition at line 99 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Definition at line 100 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Definition at line 101 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T>
typedef StrideIterPack::stride_iter<value_type* , value_type, value_type&, value_type* , difference_type> DenseLinAlgPack::VectorSliceTmpl< T >::iterator

Definition at line 104 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T>
typedef StrideIterPack::stride_iter<const value_type* , value_type, const value_type&, const value_type* , difference_type> DenseLinAlgPack::VectorSliceTmpl< T >::const_iterator

Definition at line 107 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Definition at line 115 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Definition at line 116 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Definition at line 118 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Definition at line 119 of file DenseLinAlgPack_DVectorClassTmpl.hpp.


Constructor & Destructor Documentation

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

Definition at line 832 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 840 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 848 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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


Member Function Documentation

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

Bind to the view of another VectorSliceTmpl.

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

Definition at line 876 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Definition at line 881 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Definition at line 886 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Definition at line 891 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Definition at line 896 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Definition at line 901 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Definition at line 906 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Definition at line 911 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 917 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 925 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 933 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 941 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 293 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Definition at line 297 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Definition at line 950 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Same as above.

Definition at line 955 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Definition at line 960 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Definition at line 965 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Definition at line 970 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 975 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Definition at line 980 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Same as above.

Definition at line 985 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Definition at line 991 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

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

Returns the number of elements of the VectorSliceTmpl.

Definition at line 1010 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Definition at line 1287 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 1017 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Definition at line 1022 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 1027 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Definition at line 1032 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 1037 of file DenseLinAlgPack_DVectorClassTmpl.hpp.


Member Data Documentation

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

Definition at line 418 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Definition at line 419 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Definition at line 420 of file DenseLinAlgPack_DVectorClassTmpl.hpp.


The documentation for this class was generated from the following file:
Generated on Tue Jul 13 09:35:50 2010 for MOOCHO (Single Doxygen Collection) by  doxygen 1.4.7