Read parameters from a file. More...
#include "mutator.h"#include <iosfwd>#include <string>#include <iostream>Go to the source code of this file.
Classes | |
| class | control_device_impl |
| Abstract interface for controlling parameters. More... | |
| class | ControlDevice |
| Envelope class for control_device_impl. More... | |
Functions | |
| template<class T > | |
| void | RegisterAt (ControlDevice &Ctrl, const std::string &name, T &t) |
| template<class T > | |
| void | RegisterAt (ControlDevice &Ctrl, const char *name, T &t) |
| ControlDevice | GetStreamDevice (std::istream *in, const std::string &name="") |
| ControlDevice | GetFileControlDevice (const char *filename, const std::string &name) |
| ControlDevice | GetCommandlineAndFileControlDevice (int argc, char *argv[], const std::string &filename, const std::string &name) |
| ControlDevice | GetDuplexControlDevice (std::istream &in2, const char *filename, const std::string &name) |
| ControlDevice | GetDuplexControlDevice (std::istream &in2, const std::string &filename, const std::string &name) |
Read parameters from a file.
| ControlDevice GetCommandlineAndFileControlDevice | ( | int | argc, | |
| char * | argv[], | |||
| const std::string & | filename, | |||
| const std::string & | name | |||
| ) |
References Commandline::get(), and GetDuplexControlDevice().
| ControlDevice GetDuplexControlDevice | ( | std::istream & | in2, | |
| const std::string & | filename, | |||
| const std::string & | name | |||
| ) |
References GetDuplexControlDevice().
| ControlDevice GetDuplexControlDevice | ( | std::istream & | in2, | |
| const char * | filename, | |||
| const std::string & | name | |||
| ) |
Referenced by GetCommandlineAndFileControlDevice(), and GetDuplexControlDevice().
| ControlDevice GetFileControlDevice | ( | const char * | filename, | |
| const std::string & | name | |||
| ) |
Referenced by GetFileControlDevice().
| ControlDevice GetStreamDevice | ( | std::istream * | in, | |
| const std::string & | name = "" | |||
| ) |
| void RegisterAt | ( | ControlDevice & | Ctrl, | |
| const char * | name, | |||
| T & | t | |||
| ) | [inline] |
References ControlDevice::add().
| void RegisterAt | ( | ControlDevice & | Ctrl, | |
| const std::string & | name, | |||
| T & | t | |||
| ) | [inline] |
References ControlDevice::add().
1.6.3