Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

nocommentstream Class Reference

A nocommentstream is an istream that strips '#' comments. More...

#include <nocomment.h>

Collaboration diagram for nocommentstream:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 nocommentstream (std::istream &is)
 Uses open stream.

 ~nocommentstream ()
 Destructor.


Private Attributes

NoCommentFilter filter_

Detailed Description

A nocommentstream is an istream that strips '#' comments.

All characters following (and including) a '#' are ignored up to (but not including) the next newline character.

Definition at line 20 of file nocomment.h.


Constructor & Destructor Documentation

nocommentstream::nocommentstream std::istream &  is  ) 
 

Uses open stream.

Parameters:
is stream from which original input is taken

nocommentstream::~nocommentstream  ) 
 

Destructor.


Member Data Documentation

NoCommentFilter nocommentstream::filter_ [private]
 

Definition at line 51 of file nocomment.h.


The documentation for this class was generated from the following file:
dvutil-0.13.7 [22 June, 2003]