Public Types | Public Member Functions | Private Attributes

mln::pw::var_< V > Struct Template Reference

#include <var.hh>

Inheritance diagram for mln::pw::var_< V >:
Inheritance graph

List of all members.

Public Types

typedef Function_v2v< void > category
typedef var_< V > exact_t
typedef void mutable_result
typedef V result

Public Member Functions

template<typename P >
const V & operator() (const P &) const
 var_ ()
 var_ (const V &v)

Private Attributes

const V * v_

Detailed Description

template<typename V>
struct mln::pw::var_< V >

Definition at line 46 of file pw/var.hh.


Member Typedef Documentation

typedef Function_v2v<void> mln::Function_v2v< var_< V > >::category [inherited]

Reimplemented from mln::Function< var_< V > >.

Definition at line 126 of file function.hh.

typedef var_< V > mln::Object< var_< V > >::exact_t [inherited]

Definition at line 173 of file object.hh.

typedef void mln::Function_v2v< var_< V > >::mutable_result [inherited]

Definition at line 127 of file function.hh.

template<typename V>
typedef V mln::pw::var_< V >::result

Definition at line 48 of file pw/var.hh.


Constructor & Destructor Documentation

template<typename V >
mln::pw::var_< V >::var_ (  )  [inline]

Definition at line 72 of file pw/var.hh.

template<typename V >
mln::pw::var_< V >::var_ ( const V &  v  )  [inline]

Definition at line 79 of file pw/var.hh.


Member Function Documentation

template<typename V >
template<typename P >
const V & mln::pw::var_< V >::operator() ( const P &   )  const [inline]

Definition at line 88 of file pw/var.hh.

References mln::pw::var_< V >::v_.


Member Data Documentation

template<typename V>
const V* mln::pw::var_< V >::v_ [private]

Definition at line 58 of file pw/var.hh.

Referenced by mln::pw::var_< V >::operator()().