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

boost::numeric::ublas::unbounded_array< T, ALLOC > Class Template Reference

#include <storage.hpp>

Inheritance diagram for boost::numeric::ublas::unbounded_array< T, ALLOC >:
Collaboration diagram for boost::numeric::ublas::unbounded_array< T, ALLOC >:

List of all members.

Public Types

typedef ALLOC allocator_type
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 ALLOC::difference_type difference_type
typedef pointer iterator
typedef T * pointer
typedef T & reference
typedef std::reverse_iterator
< iterator
reverse_iterator
typedef ALLOC::size_type size_type
typedef T value_type

Public Member Functions

BOOST_UBLAS_INLINE unbounded_array (const ALLOC &a=ALLOC())
BOOST_UBLAS_INLINE unbounded_array (size_type size, const ALLOC &a=ALLOC())
BOOST_UBLAS_INLINE unbounded_array (const unbounded_array &c)
BOOST_UBLAS_INLINE unbounded_array (size_type size, const value_type &init, const ALLOC &a=ALLOC())
BOOST_UBLAS_INLINE ~unbounded_array ()
BOOST_UBLAS_INLINE
unbounded_array
assign_temporary (unbounded_array &a)
BOOST_UBLAS_INLINE const_iterator begin () const
BOOST_UBLAS_INLINE iterator begin ()
BOOST_UBLAS_INLINE bool empty () const
BOOST_UBLAS_INLINE const_iterator end () const
BOOST_UBLAS_INLINE iterator end ()
allocator_type get_allocator ()
BOOST_UBLAS_INLINE size_type max_size () const
BOOST_UBLAS_INLINE
unbounded_array
operator= (const unbounded_array &a)
BOOST_UBLAS_INLINE const_reference operator[] (size_type i) const
BOOST_UBLAS_INLINE reference operator[] (size_type i)
BOOST_UBLAS_INLINE reverse_iterator rbegin ()
BOOST_UBLAS_INLINE
const_reverse_iterator 
rbegin () const
BOOST_UBLAS_INLINE
const_reverse_iterator 
rend () const
BOOST_UBLAS_INLINE reverse_iterator rend ()
BOOST_UBLAS_INLINE void resize (size_type size)
BOOST_UBLAS_INLINE void resize (size_type size, value_type init)
BOOST_UBLAS_INLINE size_type size () const
BOOST_UBLAS_INLINE void swap (unbounded_array &a)

Private Types

typedef unbounded_array< T, ALLOC > self_type

Private Member Functions

BOOST_UBLAS_INLINE void resize_internal (const size_type size, const value_type init, const bool preserve)
template<class Archive >
void serialize (Archive &ar, const unsigned int version)

Static Private Member Functions

static BOOST_UBLAS_INLINE void iterator_destroy (iterator &i)

Private Attributes

ALLOC alloc_
pointer data_
size_type size_

Friends

class boost::serialization::access
BOOST_UBLAS_INLINE friend void swap (unbounded_array &a1, unbounded_array &a2)

Detailed Description

template<class T, class ALLOC>
class boost::numeric::ublas::unbounded_array< T, ALLOC >

Definition at line 42 of file storage.hpp.


Member Typedef Documentation

template<class T , class ALLOC >
typedef unbounded_array<T, ALLOC> boost::numeric::ublas::unbounded_array< T, ALLOC >::self_type [private]

Definition at line 45 of file storage.hpp.

template<class T , class ALLOC >
typedef ALLOC boost::numeric::ublas::unbounded_array< T, ALLOC >::allocator_type

Definition at line 47 of file storage.hpp.

template<class T , class ALLOC >
typedef ALLOC::size_type boost::numeric::ublas::unbounded_array< T, ALLOC >::size_type

Definition at line 48 of file storage.hpp.

template<class T , class ALLOC >
typedef ALLOC::difference_type boost::numeric::ublas::unbounded_array< T, ALLOC >::difference_type

Definition at line 49 of file storage.hpp.

template<class T , class ALLOC >
typedef T boost::numeric::ublas::unbounded_array< T, ALLOC >::value_type

Definition at line 50 of file storage.hpp.

template<class T , class ALLOC >
typedef const T& boost::numeric::ublas::unbounded_array< T, ALLOC >::const_reference

Definition at line 51 of file storage.hpp.

template<class T , class ALLOC >
typedef T& boost::numeric::ublas::unbounded_array< T, ALLOC >::reference

Definition at line 52 of file storage.hpp.

template<class T , class ALLOC >
typedef const T* boost::numeric::ublas::unbounded_array< T, ALLOC >::const_pointer

Definition at line 53 of file storage.hpp.

template<class T , class ALLOC >
typedef T* boost::numeric::ublas::unbounded_array< T, ALLOC >::pointer

Definition at line 54 of file storage.hpp.

template<class T , class ALLOC >
typedef const_pointer boost::numeric::ublas::unbounded_array< T, ALLOC >::const_iterator

Definition at line 55 of file storage.hpp.

template<class T , class ALLOC >
typedef pointer boost::numeric::ublas::unbounded_array< T, ALLOC >::iterator

Definition at line 56 of file storage.hpp.

template<class T , class ALLOC >
typedef std::reverse_iterator<const_iterator> boost::numeric::ublas::unbounded_array< T, ALLOC >::const_reverse_iterator

Definition at line 246 of file storage.hpp.

template<class T , class ALLOC >
typedef std::reverse_iterator<iterator> boost::numeric::ublas::unbounded_array< T, ALLOC >::reverse_iterator

Definition at line 247 of file storage.hpp.


Constructor & Destructor Documentation

template<class T , class ALLOC >
BOOST_UBLAS_INLINE boost::numeric::ublas::unbounded_array< T, ALLOC >::unbounded_array ( const ALLOC &  a = ALLOC()) [inline, explicit]

Definition at line 60 of file storage.hpp.

template<class T , class ALLOC >
BOOST_UBLAS_INLINE boost::numeric::ublas::unbounded_array< T, ALLOC >::unbounded_array ( size_type  size,
const ALLOC &  a = ALLOC() 
) [inline, explicit]

Definition at line 65 of file storage.hpp.

template<class T , class ALLOC >
BOOST_UBLAS_INLINE boost::numeric::ublas::unbounded_array< T, ALLOC >::unbounded_array ( size_type  size,
const value_type init,
const ALLOC &  a = ALLOC() 
) [inline]

Definition at line 79 of file storage.hpp.

template<class T , class ALLOC >
BOOST_UBLAS_INLINE boost::numeric::ublas::unbounded_array< T, ALLOC >::unbounded_array ( const unbounded_array< T, ALLOC > &  c) [inline]

Definition at line 89 of file storage.hpp.

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

Definition at line 100 of file storage.hpp.


Member Function Documentation

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

Definition at line 116 of file storage.hpp.

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

Definition at line 163 of file storage.hpp.

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

Definition at line 167 of file storage.hpp.

template<class T , class ALLOC >
BOOST_UBLAS_INLINE size_type boost::numeric::ublas::unbounded_array< T, ALLOC >::max_size ( ) const [inline]

Definition at line 173 of file storage.hpp.

template<class T , class ALLOC >
BOOST_UBLAS_INLINE bool boost::numeric::ublas::unbounded_array< T, ALLOC >::empty ( ) const [inline]

Definition at line 178 of file storage.hpp.

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

Definition at line 183 of file storage.hpp.

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

Definition at line 189 of file storage.hpp.

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

Definition at line 194 of file storage.hpp.

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

Definition at line 201 of file storage.hpp.

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

Definition at line 209 of file storage.hpp.

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

Definition at line 216 of file storage.hpp.

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

Definition at line 228 of file storage.hpp.

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

Definition at line 232 of file storage.hpp.

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

Definition at line 237 of file storage.hpp.

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

Definition at line 241 of file storage.hpp.

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

Definition at line 250 of file storage.hpp.

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

Definition at line 254 of file storage.hpp.

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

Definition at line 258 of file storage.hpp.

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

Definition at line 262 of file storage.hpp.

template<class T , class ALLOC >
allocator_type boost::numeric::ublas::unbounded_array< T, ALLOC >::get_allocator ( ) [inline]

Definition at line 267 of file storage.hpp.

template<class T , class ALLOC >
template<class Archive >
void boost::numeric::ublas::unbounded_array< T, ALLOC >::serialize ( Archive &  ar,
const unsigned int  version 
) [inline, private]

Definition at line 276 of file storage.hpp.

template<class T , class ALLOC >
static BOOST_UBLAS_INLINE void boost::numeric::ublas::unbounded_array< T, ALLOC >::iterator_destroy ( iterator i) [inline, static, private]

Definition at line 289 of file storage.hpp.


Friends And Related Function Documentation

template<class T , class ALLOC >
friend class boost::serialization::access [friend]

Definition at line 272 of file storage.hpp.

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

Definition at line 223 of file storage.hpp.


Member Data Documentation

template<class T , class ALLOC >
ALLOC boost::numeric::ublas::unbounded_array< T, ALLOC >::alloc_ [private]

Definition at line 292 of file storage.hpp.

template<class T , class ALLOC >
size_type boost::numeric::ublas::unbounded_array< T, ALLOC >::size_ [private]

Definition at line 293 of file storage.hpp.

template<class T , class ALLOC >
pointer boost::numeric::ublas::unbounded_array< T, ALLOC >::data_ [private]

Definition at line 294 of file storage.hpp.


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