Go to Overview over all GrAL packages.
Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

TypedMutator Class Template Reference

The simplest concrete Mutator. More...

#include <mutator.h>

Inheritance diagram for TypedMutator:

Inheritance graph
[legend]
Collaboration diagram for TypedMutator:

Collaboration graph
[legend]
List of all members.

Public Methods

 TypedMutator (T &vv)
virtual void read (std::istream &in)
virtual void print (std::ostream &out) const
virtual void print (std::ostream &out, const std::string &prefix="") const
virtual std::string vartypename () const

Public Attributes

T & v

Detailed Description

template<class T>
class TypedMutator< T >

The simplest concrete Mutator.

Reads value v from an istream / writes v to an ostream This mutator is ok for reading parameter files or command lines, or even GUI input if it is converted to a string.

Definition at line 31 of file mutator.h.


Constructor & Destructor Documentation

template<class T>
TypedMutator< T >::TypedMutator T &    vv [inline]
 

Definition at line 36 of file mutator.h.


Member Function Documentation

template<class T>
virtual void TypedMutator< T >::read std::istream &    in [inline, virtual]
 

Implements Mutator.

Reimplemented in NotifyOnChangeMutator.

Definition at line 38 of file mutator.h.

template<class T>
virtual void TypedMutator< T >::print std::ostream &    out const [inline, virtual]
 

Implements Mutator.

Reimplemented in SetTrueOnReadMutator.

Definition at line 43 of file mutator.h.

template<class T>
virtual void TypedMutator< T >::print std::ostream &    out,
const std::string &    prefix = ""
const [inline, virtual]
 

Implements Mutator.

Reimplemented in SetTrueOnReadMutator.

Definition at line 45 of file mutator.h.

template<class T>
virtual std::string TypedMutator< T >::vartypename   const [inline, virtual]
 

Implements Mutator.

Definition at line 48 of file mutator.h.


Member Data Documentation

template<class T>
T& TypedMutator::v
 

Definition at line 34 of file mutator.h.

Referenced by TypedMutator< bool >::print, TypedMutator< bool >::read, and TypedMutator< bool >::TypedMutator.


The documentation for this class was generated from the following file:
Copyright (c) Guntram Berti 1997-2002. See the GrAL Homepage for up-to-date information.

Generated at Tue Feb 26 15:57:11 2002 for External control by doxygen 1.2.11-20011104 written by Dimitri van Heesch, © 1997-2000