ReFRACtor
FullPhysics::FilteringIstream Class Reference

This allows filtering stream to created on top of an underlying ifstream. More...

#include <filtering_fstream.h>

+ Inheritance diagram for FullPhysics::FilteringIstream:
+ Collaboration diagram for FullPhysics::FilteringIstream:

Public Member Functions

virtual ~FilteringIstream ()
 

Protected Member Functions

 FilteringIstream (const std::string &Fname)
 Constructor. More...
 

Protected Attributes

std::ifstream f
 Underlying ifstream. More...
 
boost::iostreams::filtering_istreambuf sb
 Filtering streambuf. More...
 

Detailed Description

This allows filtering stream to created on top of an underlying ifstream.

See boost::iostream documentation for details on how to create these. This class is intended to be used as a base class for other classes that assemble the proper filters.

Definition at line 48 of file filtering_fstream.h.

Constructor & Destructor Documentation

◆ ~FilteringIstream()

virtual FullPhysics::FilteringIstream::~FilteringIstream ( )
inlinevirtual

Definition at line 50 of file filtering_fstream.h.

◆ FilteringIstream()

FullPhysics::FilteringIstream::FilteringIstream ( const std::string &  Fname)
inlineprotected

Constructor.

This opens the given file and sets up the stream buffer, but nothing is placed in the filter. The derived class should set up the streambuf.

Definition at line 59 of file filtering_fstream.h.

Member Data Documentation

◆ f

std::ifstream FullPhysics::FilteringIstream::f
protected

Underlying ifstream.

Definition at line 66 of file filtering_fstream.h.

◆ sb

boost::iostreams::filtering_istreambuf FullPhysics::FilteringIstream::sb
protected

Filtering streambuf.

Definition at line 72 of file filtering_fstream.h.


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

Copyright © 2017, California Institute of Technology.
ALL RIGHTS RESERVED.
U.S. Government Sponsorship acknowledged.
Generated Fri Aug 24 2018 15:44:12