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

SetTrueOnReadMutator Class Reference

Sets value to true, if name is read. More...

#include <mutator.h>

Inheritance diagram for SetTrueOnReadMutator:

Inheritance graph
[legend]
Collaboration diagram for SetTrueOnReadMutator:

Collaboration graph
[legend]
List of all members.

Public Methods

 SetTrueOnReadMutator (bool &flag)
virtual void read (std::istream &)
virtual void print (std::ostream &out) const
virtual void print (std::ostream &out, const std::string &name) const

Detailed Description

Sets value to true, if name is read.

examples:

  Ctrl.add("show", new SetTrueOnReadMutator(show));
  will set show to true if read,

Definition at line 76 of file mutator.h.


Constructor & Destructor Documentation

SetTrueOnReadMutator::SetTrueOnReadMutator bool &    flag [inline]
 

Definition at line 79 of file mutator.h.


Member Function Documentation

virtual void SetTrueOnReadMutator::read std::istream &    [inline, virtual]
 

Reimplemented from TypedMutator< bool >.

Definition at line 80 of file mutator.h.

References TypedMutator< bool >::v.

virtual void SetTrueOnReadMutator::print std::ostream &    out const [inline, virtual]
 

Reimplemented from TypedMutator< bool >.

Definition at line 81 of file mutator.h.

References TypedMutator< bool >::v.

virtual void SetTrueOnReadMutator::print std::ostream &    out,
const std::string &    name
const [inline, virtual]
 

Reimplemented from TypedMutator< bool >.

Definition at line 82 of file mutator.h.


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