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

src/IO/control-device.C File Reference

#include <fstream.h>
#include <string>
#include <strstream.h>
#include "Utility/safe-file.h"
#include "IO/control-device.h"
#include "IO/istream-control-device.h"
#include "IO/multi-istream-control-device.h"
#include "IO/command-line.h"
#include "Utility/pre-post-conditions.h"

Include dependency graph for control-device.C:

Include dependency graph

Go to the source code of this file.

Functions

ControlDevice GetStreamDevice (std::istream *in, const std::string &name)
ControlDevice GetFileControlDevice (const std::string &filename, const std::string &name)
ControlDevice GetFileControlDevice (const char *filename, const std::string &name)
ControlDevice GetDuplexControlDevice (std::istream &in2, const char *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)
ControlDevice GetCommandlineAndFileControlDevice (int argc, char *argv[], const std::string &filename, const std::string &name)


Function Documentation

ControlDevice GetStreamDevice std::istream *    in,
const std::string &    name
 

Definition at line 52 of file control-device.C.

ControlDevice GetFileControlDevice const std::string &    filename,
const std::string &    name
 

Definition at line 55 of file control-device.C.

References GetFileControlDevice.

ControlDevice GetFileControlDevice const char *    filename,
const std::string &    name
 

Definition at line 58 of file control-device.C.

References file_interactive::open.

Referenced by GetFileControlDevice.

ControlDevice GetDuplexControlDevice std::istream &    in2,
const char *    filename,
const std::string &    name
 

Definition at line 67 of file control-device.C.

ControlDevice GetDuplexControlDevice std::istream *    in2,
const char *    filename,
const std::string &    name
 

Definition at line 73 of file control-device.C.

ControlDevice GetDuplexControlDevice std::istream &    in2,
const std::string &    filename,
const std::string &    name
 

Definition at line 79 of file control-device.C.

Referenced by GetCommandlineAndFileControlDevice.

ControlDevice GetCommandlineAndFileControlDevice int    argc,
char *    argv[],
const std::string &    filename,
const std::string &    name
 

Definition at line 84 of file control-device.C.

References Commandline::c_str, and GetDuplexControlDevice.

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:08 2002 for External control by doxygen 1.2.11-20011104 written by Dimitri van Heesch, © 1997-2000