Public Types | Public Member Functions | Private Member Functions

mln::internal::subject_impl< util::array< T > &, E > Struct Template Reference

#include <array.hh>

Inheritance diagram for mln::internal::subject_impl< util::array< T > &, E >:
Inheritance graph

List of all members.

Public Types

typedef util::array< T >
::mutable_result 
mutable_result
typedef util::array< T >::ro_result ro_result

Public Member Functions

util::array< T > & append (const T &elt)
template<typename U >
util::array< T > & append (const util::array< U > &other)
void clear ()
void fill (const T &value)
std::vector< T > & hook_std_vector_ ()
bool is_empty () const
unsigned nelements () const
mutable_result operator() (unsigned i)
ro_result operator() (unsigned i) const
ro_result operator[] (unsigned i) const
mutable_result operator[] (unsigned i)
void reserve (unsigned n)
void resize (unsigned n)
void resize (unsigned n, const T &value)
unsigned size () const
const std::vector< T > & std_vector () const

Private Member Functions

E & exact_ ()

Detailed Description

template<typename T, typename E>
struct mln::internal::subject_impl< util::array< T > &, E >

Definition at line 351 of file util/array.hh.


Member Typedef Documentation

template<typename T , typename E >
typedef util::array<T>::mutable_result mln::internal::subject_impl< util::array< T > &, E >::mutable_result

Definition at line 354 of file util/array.hh.

template<typename T , typename E >
typedef util::array<T>::ro_result mln::internal::subject_impl< const util::array< T > &, E >::ro_result [inherited]

Definition at line 336 of file util/array.hh.


Member Function Documentation

template<typename T , typename E >
util::array< T > & mln::internal::subject_impl< util::array< T > &, E >::append ( const T &  elt  )  [inline]

Definition at line 854 of file util/array.hh.

template<typename T , typename E >
template<typename U >
util::array< T > & mln::internal::subject_impl< util::array< T > &, E >::append ( const util::array< U > &  other  )  [inline]

Definition at line 863 of file util/array.hh.

References mln::value::other().

template<typename T , typename E >
void mln::internal::subject_impl< util::array< T > &, E >::clear (  )  [inline]

Definition at line 887 of file util/array.hh.

template<typename T , typename E >
E & mln::internal::subject_impl< util::array< T > &, E >::exact_ (  )  [inline, private]

Definition at line 911 of file util/array.hh.

template<typename T , typename E >
void mln::internal::subject_impl< util::array< T > &, E >::fill ( const T &  value  )  [inline]

Definition at line 895 of file util/array.hh.

template<typename T , typename E >
std::vector< T > & mln::internal::subject_impl< util::array< T > &, E >::hook_std_vector_ (  )  [inline]

Definition at line 903 of file util/array.hh.

template<typename T , typename E >
bool mln::internal::subject_impl< const util::array< T > &, E >::is_empty (  )  const [inline, inherited]

Definition at line 936 of file util/array.hh.

template<typename T , typename E >
unsigned mln::internal::subject_impl< const util::array< T > &, E >::nelements (  )  const [inline, inherited]

Definition at line 928 of file util/array.hh.

template<typename T , typename E >
subject_impl< const util::array< T > &, E >::ro_result mln::internal::subject_impl< const util::array< T > &, E >::operator() ( unsigned  i  )  const [inline, inherited]

Definition at line 944 of file util/array.hh.

template<typename T , typename E >
subject_impl< util::array< T > &, E >::mutable_result mln::internal::subject_impl< util::array< T > &, E >::operator() ( unsigned  i  )  [inline]

Definition at line 871 of file util/array.hh.

template<typename T , typename E >
subject_impl< const util::array< T > &, E >::ro_result mln::internal::subject_impl< const util::array< T > &, E >::operator[] ( unsigned  i  )  const [inline, inherited]

Definition at line 952 of file util/array.hh.

template<typename T , typename E >
subject_impl< util::array< T > &, E >::mutable_result mln::internal::subject_impl< util::array< T > &, E >::operator[] ( unsigned  i  )  [inline]

Definition at line 879 of file util/array.hh.

template<typename T , typename E >
void mln::internal::subject_impl< util::array< T > &, E >::reserve ( unsigned  n  )  [inline]

Definition at line 830 of file util/array.hh.

template<typename T , typename E >
void mln::internal::subject_impl< util::array< T > &, E >::resize ( unsigned  n,
const T &  value 
) [inline]

Definition at line 846 of file util/array.hh.

template<typename T , typename E >
void mln::internal::subject_impl< util::array< T > &, E >::resize ( unsigned  n  )  [inline]

Definition at line 838 of file util/array.hh.

template<typename T , typename E >
unsigned mln::internal::subject_impl< const util::array< T > &, E >::size (  )  const [inline, inherited]

Definition at line 920 of file util/array.hh.

template<typename T , typename E >
const std::vector< T > & mln::internal::subject_impl< const util::array< T > &, E >::std_vector (  )  const [inline, inherited]

Definition at line 960 of file util/array.hh.