fix8  version 1.4.0
Open Source C++ FIX Framework
FIX8::filestdin Class Reference

Abstract file or stdin input. More...

#include <f8utils.hpp>

Public Member Functions

 filestdin (std::istream *ifs, bool nodel=false)
 
 ~filestdin ()
 
std::istream & operator() ()
 

Private Attributes

std::istream * ifs_
 
bool nodel_
 

Detailed Description

Abstract file or stdin input.

Definition at line 1250 of file f8utils.hpp.

Constructor & Destructor Documentation

FIX8::filestdin::filestdin ( std::istream *  ifs,
bool  nodel = false 
)
inline

Definition at line 1256 of file f8utils.hpp.

1256 : ifs_(ifs), nodel_(nodel) {}
std::istream * ifs_
Definition: f8utils.hpp:1252
FIX8::filestdin::~filestdin ( )
inline

Definition at line 1257 of file f8utils.hpp.

References ifs_.

1257 { if (!nodel_) delete ifs_; }
std::istream * ifs_
Definition: f8utils.hpp:1252

Member Function Documentation

std::istream& FIX8::filestdin::operator() ( )
inline

Definition at line 1259 of file f8utils.hpp.

References ifs_.

1259 { return *ifs_; }
std::istream * ifs_
Definition: f8utils.hpp:1252

Member Data Documentation

std::istream* FIX8::filestdin::ifs_
private

Definition at line 1252 of file f8utils.hpp.

Referenced by operator()(), and ~filestdin().

bool FIX8::filestdin::nodel_
private

Definition at line 1253 of file f8utils.hpp.


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