comments.h File Reference

More...

#include <iostream>
#include "utilib_dll.h"

Go to the source code of this file.

Namespaces

namespace  std

Functions

UTILIB_API istream & comment_lines (istream &ins, int &line_counter)
 Move the stream counter forward, passing over whitespace and comment lines, which begin with a '#'. More...

UTILIB_API istream & comment_lines (istream &ins)
 Move the stream counter forward, passing over whitespace and comment lines, which begin with a '#'.

UTILIB_API istream & whitespace (istream &ins)
 Move the stream counter forward, passing over whitespace. More...


Detailed Description

Author:
William E. Hart

Function Documentation

UTILIB_API istream& comment_lines istream &    ins,
int &    line_counter
 

Move the stream counter forward, passing over whitespace and comment lines, which begin with a '#'.

The argument line_counter returns the number of lines that were skipped.

UTILIB_API istream& whitespace istream &    ins
 

Move the stream counter forward, passing over whitespace.

This serves the same role as 'ws', but this operator does not work under Solaris 6.0 compilers.