OKlibrary  0.2.1.6
OKlib::Refactoring::StreamExtractor_by_istream_iterator Class Reference

Functor class for extracting include directives from input streams, using multipass-iterator-wrappers around istream-iterators. More...

#include <IncludeHandling.hpp>

List of all members.

Public Member Functions

 StreamExtractor_by_istream_iterator (std::istream &in)
 ~StreamExtractor_by_istream_iterator ()
template<typename charT , class traits , class Allocator >
std::istream & operator() (ProgramRepresentationIncludes< charT, traits, Allocator > &pr)

Public Attributes

std::istream & in
const bool skipws

Detailed Description

Functor class for extracting include directives from input streams, using multipass-iterator-wrappers around istream-iterators.

Todo:

Extended explanation should mention the other implementation.

Management of stream-formatflags-resources should be handled by (RAII) object.

Write a test for it.

Create a concept.

Definition at line 361 of file IncludeHandling.hpp.


Constructor & Destructor Documentation

Definition at line 366 of file IncludeHandling.hpp.

References skipws.


Member Function Documentation

template<typename charT , class traits , class Allocator >
std::istream& OKlib::Refactoring::StreamExtractor_by_istream_iterator::operator() ( ProgramRepresentationIncludes< charT, traits, Allocator > &  pr) [inline]

Definition at line 376 of file IncludeHandling.hpp.

References Latex_Handler::begin(), end, and in.


Member Data Documentation


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