Public Types | Public Member Functions | Protected Attributes

viota_t< S > Struct Template Reference

Inheritance diagram for viota_t< S >:
Inheritance graph

List of all members.

Public Types

typedef Function_v2v< void > category
typedef Function_v2v< void > category
typedef viota_t exact_t
typedef viota_t< S > exact_t
typedef void mutable_result
typedef void mutable_result
typedef unsigned result
typedef unsigned result

Public Member Functions

unsigned operator() (const typename S::psite &p) const
unsigned operator() (const mln::util::vertex< mln::util::graph > &v) const
 viota_t (unsigned size)
 viota_t (unsigned size)

Protected Attributes

std::vector< resultv_

Detailed Description

template<typename S>
struct viota_t< S >

Definition at line 15 of file graph-data.cc.


Member Typedef Documentation

typedef Function_v2v<void> mln::Function_v2v< viota_t >::category [inherited]

Reimplemented from mln::Function< viota_t >.

Definition at line 126 of file function.hh.

typedef Function_v2v<void> mln::Function_v2v< viota_t< S > >::category [inherited]

Reimplemented from mln::Function< viota_t< S > >.

Definition at line 126 of file function.hh.

typedef viota_t mln::Object< viota_t >::exact_t [inherited]

Definition at line 173 of file object.hh.

typedef viota_t< S > mln::Object< viota_t< S > >::exact_t [inherited]

Definition at line 173 of file object.hh.

typedef void mln::Function_v2v< viota_t >::mutable_result [inherited]

Definition at line 127 of file function.hh.

typedef void mln::Function_v2v< viota_t< S > >::mutable_result [inherited]

Definition at line 127 of file function.hh.

template<typename S>
typedef unsigned viota_t< S >::result

Definition at line 10 of file graph-iter.cc.

template<typename S>
typedef unsigned viota_t< S >::result

Definition at line 17 of file graph-data.cc.


Constructor & Destructor Documentation

template<typename S>
viota_t< S >::viota_t ( unsigned  size  )  [inline]

Definition at line 19 of file graph-data.cc.

References viota_t< S >::v_.

template<typename S>
viota_t< S >::viota_t ( unsigned  size  )  [inline]

Definition at line 12 of file graph-iter.cc.

References viota_t< S >::v_.


Member Function Documentation

template<typename S>
unsigned viota_t< S >::operator() ( const typename S::psite &  p  )  const [inline]

Definition at line 27 of file graph-data.cc.

References viota_t< S >::v_.

template<typename S>
unsigned viota_t< S >::operator() ( const mln::util::vertex< mln::util::graph > &  v  )  const [inline]

Definition at line 20 of file graph-iter.cc.

References mln::util::vertex< G >::id(), and viota_t< S >::v_.


Member Data Documentation

template<typename S>
std::vector< result > viota_t< S >::v_ [protected]

Definition at line 33 of file graph-data.cc.

Referenced by viota_t< S >::operator()(), and viota_t< S >::viota_t().