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

IO/mutator.h File Reference

#include <iostream.h>
#include <stdlib.h>
#include "Config/compiler-config.h"
#include "IO/mutator-base.h"
#include "Utility/pre-post-conditions.h"
#include "Utility/type-name-traits.h"

Include dependency graph for mutator.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Compounds

class  TypedMutator
 The simplest concrete Mutator. More...

class  NotifyOnChangeMutator
 Notify controlee, if variable changes. More...

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

class  SetFalseOnReadMutator
 Sets value to false, if name is read. More...

class  FlipOnReadMutator
 toggles the boolean value of v. More...

class  SetOnReadMutator
 Set v2 to deflt, if read occurs. More...

class  CommentedMutator
 Prints an additional comment when written. More...

class  MessageOnReadMutator
 Prints a message to an ostream if read. More...


Functions

template<class T> TypedMutator< T > * GetMutator (T &t)
template<class T> CommentedMutator< T > * GetMutator (T &t, std::string const &comment)
template<class T> CommentedMutator< T > * GetMutator (T &t, const char *comment)
template<class T> NotifyOnChangeMutator< T > * GetNotifyingMutator (T &t, controlable &observ)
SetTrueOnReadMutatorGetTrueOnReadMutator (bool &t)
SetFalseOnReadMutatorGetFalseOnReadMutator (bool &t)
FlipOnReadMutatorGetFlipOnReadMutator (bool &t)
template<class T, class TObs> SetOnReadMutator< T, TObs > * GetSetOnReadMutator (T &t, TObs &obs, TObs deflt)
template<class T> CommentedMutator< T > * GetCommentedMutator (T &t, std::string const &comment)
template<class T> CommentedMutator< T > * GetCommentedMutator (T &t, const char *comment)


Function Documentation

template<class T>
TypedMutator<T>* GetMutator T &    t [inline]
 

Definition at line 179 of file mutator.h.

template<class T>
CommentedMutator<T>* GetMutator T &    t,
std::string const &    comment
[inline]
 

Definition at line 182 of file mutator.h.

template<class T>
CommentedMutator<T>* GetMutator T &    t,
const char *    comment
[inline]
 

Definition at line 186 of file mutator.h.

Referenced by AddVar, istream_control_device_impl::get_sub_device, main, and istream_control_device_impl::register_at.

template<class T>
NotifyOnChangeMutator<T>* GetNotifyingMutator T &    t,
controlable   observ
[inline]
 

Definition at line 191 of file mutator.h.

SetTrueOnReadMutator* GetTrueOnReadMutator bool &    t [inline]
 

Definition at line 195 of file mutator.h.

Referenced by main.

SetFalseOnReadMutator* GetFalseOnReadMutator bool &    t [inline]
 

Definition at line 199 of file mutator.h.

Referenced by main.

FlipOnReadMutator* GetFlipOnReadMutator bool &    t [inline]
 

Definition at line 203 of file mutator.h.

template<class T, class TObs>
SetOnReadMutator<T,TObs>* GetSetOnReadMutator T &    t,
TObs &    obs,
TObs    deflt
[inline]
 

Definition at line 208 of file mutator.h.

template<class T>
CommentedMutator<T>* GetCommentedMutator T &    t,
std::string const &    comment
[inline]
 

Definition at line 213 of file mutator.h.

template<class T>
CommentedMutator<T>* GetCommentedMutator T &    t,
const char *    comment
[inline]
 

Definition at line 217 of file mutator.h.

Referenced by main.


Copyright (c) Guntram Berti 1997-2002. See the GrAL Homepage for up-to-date information.

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