Boost.uBlas 1.49
Linear Algebra in C++: matrices, vectors and numeric algorithms

boost::numeric::ublas::array_adaptor< T > Class Template Reference

#include <storage.hpp>

Inheritance diagram for boost::numeric::ublas::array_adaptor< T >:
Collaboration diagram for boost::numeric::ublas::array_adaptor< T >:

List of all members.

Public Types

typedef const_pointer const_iterator
typedef const T * const_pointer
typedef const T & const_reference
typedef std::reverse_iterator
< const_iterator
const_reverse_iterator
typedef std::ptrdiff_t difference_type
typedef pointer iterator
typedef T * pointer
typedef T & reference
typedef std::reverse_iterator
< iterator
reverse_iterator
typedef std::size_t size_type
typedef T value_type

Public Member Functions

BOOST_UBLAS_INLINE array_adaptor ()
BOOST_UBLAS_INLINE array_adaptor (size_type size)
BOOST_UBLAS_INLINE array_adaptor (size_type size, pointer data)
BOOST_UBLAS_INLINE array_adaptor (const array_adaptor &a)
BOOST_UBLAS_INLINE array_adaptor (size_type size, const value_type &init)
BOOST_UBLAS_INLINE ~array_adaptor ()
BOOST_UBLAS_INLINE array_adaptorassign_temporary (array_adaptor &a)
BOOST_UBLAS_INLINE const_iterator begin () const
BOOST_UBLAS_INLINE iterator begin ()
BOOST_UBLAS_INLINE const_iterator end () const
BOOST_UBLAS_INLINE iterator end ()
BOOST_UBLAS_INLINE array_adaptoroperator= (const array_adaptor &a)
BOOST_UBLAS_INLINE const_reference operator[] (size_type i) const
BOOST_UBLAS_INLINE reference operator[] (size_type i)
BOOST_UBLAS_INLINE
const_reverse_iterator 
rbegin () const
BOOST_UBLAS_INLINE reverse_iterator rbegin ()
BOOST_UBLAS_INLINE reverse_iterator rend ()
BOOST_UBLAS_INLINE
const_reverse_iterator 
rend () const
BOOST_UBLAS_INLINE void resize (size_type size, pointer data)
BOOST_UBLAS_INLINE void resize (size_type size, value_type init)
BOOST_UBLAS_INLINE void resize (size_type size, pointer data, value_type init)
BOOST_UBLAS_INLINE void resize (size_type size)
BOOST_UBLAS_INLINE size_type size () const
BOOST_UBLAS_INLINE void swap (array_adaptor &a)

Private Types

typedef array_adaptor< T > self_type

Private Member Functions

BOOST_UBLAS_INLINE void resize_internal (size_type size, value_type init, bool preserve=true)
BOOST_UBLAS_INLINE void resize_internal (size_type size, pointer data, value_type init, bool preserve=true)

Private Attributes

pointer data_
bool own_
size_type size_

Friends

BOOST_UBLAS_INLINE friend void swap (array_adaptor &a1, array_adaptor &a2)

Detailed Description

template<class T>
class boost::numeric::ublas::array_adaptor< T >

Definition at line 478 of file storage.hpp.


Member Typedef Documentation

template<class T >
typedef array_adaptor<T> boost::numeric::ublas::array_adaptor< T >::self_type [private]

Definition at line 481 of file storage.hpp.

template<class T >
typedef std::size_t boost::numeric::ublas::array_adaptor< T >::size_type

Definition at line 483 of file storage.hpp.

template<class T >
typedef std::ptrdiff_t boost::numeric::ublas::array_adaptor< T >::difference_type

Definition at line 484 of file storage.hpp.

template<class T >
typedef T boost::numeric::ublas::array_adaptor< T >::value_type

Definition at line 485 of file storage.hpp.

template<class T >
typedef const T& boost::numeric::ublas::array_adaptor< T >::const_reference

Definition at line 486 of file storage.hpp.

template<class T >
typedef T& boost::numeric::ublas::array_adaptor< T >::reference

Definition at line 487 of file storage.hpp.

template<class T >
typedef const T* boost::numeric::ublas::array_adaptor< T >::const_pointer

Definition at line 488 of file storage.hpp.

template<class T >
typedef T* boost::numeric::ublas::array_adaptor< T >::pointer

Definition at line 489 of file storage.hpp.

Definition at line 624 of file storage.hpp.

template<class T >
typedef pointer boost::numeric::ublas::array_adaptor< T >::iterator

Definition at line 635 of file storage.hpp.

template<class T >
typedef std::reverse_iterator<const_iterator> boost::numeric::ublas::array_adaptor< T >::const_reverse_iterator

Definition at line 647 of file storage.hpp.

template<class T >
typedef std::reverse_iterator<iterator> boost::numeric::ublas::array_adaptor< T >::reverse_iterator

Definition at line 648 of file storage.hpp.


Constructor & Destructor Documentation

template<class T >
BOOST_UBLAS_INLINE boost::numeric::ublas::array_adaptor< T >::array_adaptor ( ) [inline]

Definition at line 493 of file storage.hpp.

template<class T >
BOOST_UBLAS_INLINE boost::numeric::ublas::array_adaptor< T >::array_adaptor ( size_type  size) [inline, explicit]

Definition at line 497 of file storage.hpp.

template<class T >
BOOST_UBLAS_INLINE boost::numeric::ublas::array_adaptor< T >::array_adaptor ( size_type  size,
const value_type init 
) [inline]

Definition at line 501 of file storage.hpp.

template<class T >
BOOST_UBLAS_INLINE boost::numeric::ublas::array_adaptor< T >::array_adaptor ( size_type  size,
pointer  data 
) [inline]

Definition at line 506 of file storage.hpp.

template<class T >
BOOST_UBLAS_INLINE boost::numeric::ublas::array_adaptor< T >::array_adaptor ( const array_adaptor< T > &  a) [inline]

Definition at line 509 of file storage.hpp.

template<class T >
BOOST_UBLAS_INLINE boost::numeric::ublas::array_adaptor< T >::~array_adaptor ( ) [inline]

Definition at line 515 of file storage.hpp.


Member Function Documentation

template<class T >
BOOST_UBLAS_INLINE void boost::numeric::ublas::array_adaptor< T >::resize_internal ( size_type  size,
value_type  init,
bool  preserve = true 
) [inline, private]

Definition at line 524 of file storage.hpp.

template<class T >
BOOST_UBLAS_INLINE void boost::numeric::ublas::array_adaptor< T >::resize_internal ( size_type  size,
pointer  data,
value_type  init,
bool  preserve = true 
) [inline, private]

Definition at line 539 of file storage.hpp.

template<class T >
BOOST_UBLAS_INLINE void boost::numeric::ublas::array_adaptor< T >::resize ( size_type  size) [inline]

Definition at line 557 of file storage.hpp.

template<class T >
BOOST_UBLAS_INLINE void boost::numeric::ublas::array_adaptor< T >::resize ( size_type  size,
value_type  init 
) [inline]

Definition at line 561 of file storage.hpp.

template<class T >
BOOST_UBLAS_INLINE void boost::numeric::ublas::array_adaptor< T >::resize ( size_type  size,
pointer  data 
) [inline]

Definition at line 565 of file storage.hpp.

template<class T >
BOOST_UBLAS_INLINE void boost::numeric::ublas::array_adaptor< T >::resize ( size_type  size,
pointer  data,
value_type  init 
) [inline]

Definition at line 569 of file storage.hpp.

template<class T >
BOOST_UBLAS_INLINE size_type boost::numeric::ublas::array_adaptor< T >::size ( ) const [inline]

Definition at line 574 of file storage.hpp.

template<class T >
BOOST_UBLAS_INLINE const_reference boost::numeric::ublas::array_adaptor< T >::operator[] ( size_type  i) const [inline]

Definition at line 580 of file storage.hpp.

template<class T >
BOOST_UBLAS_INLINE reference boost::numeric::ublas::array_adaptor< T >::operator[] ( size_type  i) [inline]

Definition at line 585 of file storage.hpp.

template<class T >
BOOST_UBLAS_INLINE array_adaptor& boost::numeric::ublas::array_adaptor< T >::operator= ( const array_adaptor< T > &  a) [inline]

Definition at line 592 of file storage.hpp.

template<class T >
BOOST_UBLAS_INLINE array_adaptor& boost::numeric::ublas::array_adaptor< T >::assign_temporary ( array_adaptor< T > &  a) [inline]

Definition at line 600 of file storage.hpp.

template<class T >
BOOST_UBLAS_INLINE void boost::numeric::ublas::array_adaptor< T >::swap ( array_adaptor< T > &  a) [inline]

Definition at line 610 of file storage.hpp.

template<class T >
BOOST_UBLAS_INLINE const_iterator boost::numeric::ublas::array_adaptor< T >::begin ( ) const [inline]

Definition at line 627 of file storage.hpp.

template<class T >
BOOST_UBLAS_INLINE const_iterator boost::numeric::ublas::array_adaptor< T >::end ( ) const [inline]

Definition at line 631 of file storage.hpp.

template<class T >
BOOST_UBLAS_INLINE iterator boost::numeric::ublas::array_adaptor< T >::begin ( ) [inline]

Definition at line 638 of file storage.hpp.

template<class T >
BOOST_UBLAS_INLINE iterator boost::numeric::ublas::array_adaptor< T >::end ( ) [inline]

Definition at line 642 of file storage.hpp.

template<class T >
BOOST_UBLAS_INLINE const_reverse_iterator boost::numeric::ublas::array_adaptor< T >::rbegin ( ) const [inline]

Definition at line 651 of file storage.hpp.

template<class T >
BOOST_UBLAS_INLINE const_reverse_iterator boost::numeric::ublas::array_adaptor< T >::rend ( ) const [inline]

Definition at line 655 of file storage.hpp.

template<class T >
BOOST_UBLAS_INLINE reverse_iterator boost::numeric::ublas::array_adaptor< T >::rbegin ( ) [inline]

Definition at line 659 of file storage.hpp.

template<class T >
BOOST_UBLAS_INLINE reverse_iterator boost::numeric::ublas::array_adaptor< T >::rend ( ) [inline]

Definition at line 663 of file storage.hpp.


Friends And Related Function Documentation

template<class T >
BOOST_UBLAS_INLINE friend void swap ( array_adaptor< T > &  a1,
array_adaptor< T > &  a2 
) [friend]

Definition at line 618 of file storage.hpp.


Member Data Documentation

template<class T >
size_type boost::numeric::ublas::array_adaptor< T >::size_ [private]

Definition at line 668 of file storage.hpp.

template<class T >
bool boost::numeric::ublas::array_adaptor< T >::own_ [private]

Definition at line 669 of file storage.hpp.

template<class T >
pointer boost::numeric::ublas::array_adaptor< T >::data_ [private]

Definition at line 670 of file storage.hpp.


The documentation for this class was generated from the following file: