OKlibrary  0.2.1.6
OKlib::GeneralInputOutput::OStreamDescriptor Class Reference

Concrete type for a pair consisting of a label and a string, which describe some output-stream. More...

#include <Multiplexer.hpp>

List of all members.

Classes

struct  EmptyAfterEqDescription
struct  EmptyDescription
struct  EmptyName
struct  NoEqInDescription
struct  NonEmptyName
struct  OStreamDescriptorError
struct  UnknownDescription

Public Types

enum  label_type {
  nullstream = 0, stdcerr = 1, stdcout = 2, stdofstreamappend = 3,
  stdofstreamoverwrite = 4, stdostringstream = 5
}
typedef std::string string_type

Public Member Functions

 OStreamDescriptor (const label_type label, const string_type &name)
 OStreamDescriptor (const string_type &description)

Public Attributes

label_type label
string_type name

Detailed Description

Concrete type for a pair consisting of a label and a string, which describe some output-stream.

Construction from string: Recognised "NULL", "cerr", "cout", "ofstream-app=name", "ofstream-w=name", "ostringstream=name".

Definition at line 51 of file Multiplexer.hpp.


Member Typedef Documentation

Definition at line 55 of file Multiplexer.hpp.


Member Enumeration Documentation

Enumerator:
nullstream 
stdcerr 
stdcout 
stdofstreamappend 
stdofstreamoverwrite 
stdostringstream 

Definition at line 53 of file Multiplexer.hpp.


Constructor & Destructor Documentation

Definition at line 82 of file Multiplexer.hpp.

References name, and stdcout.


Member Data Documentation


The documentation for this class was generated from the following file: