eepgwde::detail::loader::Impl Struct Reference
[Input/Output Facilities]

List of all members.

Public Member Functions

void init0 ()
 Sets the filter chain to be the newline filter on the line counter one the file_source.
 Impl (const std::string &n) throw (std::exception)
 This constructor is specifically for files.
 ~Impl () throw ()
 The destructor closes the file in buf.

Public Attributes

char buffer [256]
 The buffer is the largest size for a line.
const std::string & n
std::ifstream fin
io::file_source buf
io::filtering_istream in_
io::counter lcounter
io::newline_filter lfilter

Friends

class loader


Detailed Description

The implementation of loader.

This class does all the work for the loader class. It hides the use of boost::iostreams.

Definition at line 31 of file loader0.cpp.


Constructor & Destructor Documentation

eepgwde::detail::loader::Impl::Impl ( const std::string &  n  )  throw (std::exception) [inline, explicit]

This constructor is specifically for files.

Definition at line 52 of file loader0.cpp.

References init0().

eepgwde::detail::loader::Impl::~Impl (  )  throw () [inline]

The destructor closes the file in buf.

Definition at line 61 of file loader0.cpp.

References buf.


Member Function Documentation

void eepgwde::detail::loader::Impl::init0 (  )  [inline]

Sets the filter chain to be the newline filter on the line counter one the file_source.

Definition at line 45 of file loader0.cpp.

References buf, in_, lcounter, and lfilter.

Referenced by Impl().


Friends And Related Function Documentation

friend class loader [friend]

Definition at line 32 of file loader0.cpp.


Member Data Documentation

The buffer is the largest size for a line.

Definition at line 35 of file loader0.cpp.

Definition at line 37 of file loader0.cpp.

Definition at line 38 of file loader0.cpp.

Definition at line 39 of file loader0.cpp.

Referenced by init0(), and ~Impl().

io::filtering_istream eepgwde::detail::loader::Impl::in_

Definition at line 40 of file loader0.cpp.

Referenced by init0().

Definition at line 41 of file loader0.cpp.

Referenced by init0().

Definition at line 42 of file loader0.cpp.

Referenced by init0().


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

Generated on Thu Feb 18 21:30:12 2010 for eleve by  doxygen 1.5.6