Filtering ifstream - counts lines and skips comments.
More...
#include <cartobase/stream/cuifstream.h>
|
| typedef std::ios_base::openmode | openmode |
| | open modes are not a standard type in C++, they changed from int in g++ 2.9x to std::ios_base::openmode in gcc 3.x More...
|
| |
Filtering ifstream - counts lines and skips comments.
Definition at line 63 of file cuifstream.h.
◆ openmode
open modes are not a standard type in C++, they changed from int in g++ 2.9x to std::ios_base::openmode in gcc 3.x
Definition at line 72 of file cuifstream.h.
◆ cuifstream() [1/2]
| carto::cuifstream::cuifstream |
( |
| ) |
|
◆ cuifstream() [2/2]
| carto::cuifstream::cuifstream |
( |
const char * |
name, |
|
|
openmode |
mode = in |
|
) |
| |
◆ ~cuifstream()
| virtual carto::cuifstream::~cuifstream |
( |
| ) |
|
|
virtual |
◆ close()
| virtual void carto::cuifstream::close |
( |
| ) |
|
|
virtual |
◆ destroy_buffers()
| virtual void carto::cuifstream::destroy_buffers |
( |
| ) |
|
|
protectedvirtual |
◆ enableUncomment()
| void carto::cuifstream::enableUncomment |
( |
bool |
| ) |
|
◆ eof()
| virtual bool carto::cuifstream::eof |
( |
| ) |
const |
|
virtual |
◆ init_buffers()
| virtual void carto::cuifstream::init_buffers |
( |
| ) |
|
|
protectedvirtual |
◆ is_open()
| virtual bool carto::cuifstream::is_open |
( |
| ) |
const |
|
virtual |
◆ line()
| int carto::cuifstream::line |
( |
| ) |
const |
|
inline |
Get the current line number.
- Returns
- current line number
Definition at line 160 of file cuifstream.h.
◆ open()
| virtual void carto::cuifstream::open |
( |
const char * |
name, |
|
|
openmode |
mode = in |
|
) |
| |
|
virtual |
◆ operator!()
| virtual bool carto::cuifstream::operator! |
( |
| ) |
const |
|
virtual |
◆ uncommentEnabled()
| bool carto::cuifstream::uncommentEnabled |
( |
| ) |
const |
|
inline |
◆ _base
| std::ifstream carto::cuifstream::_base |
|
mutableprotected |
◆ _counter
◆ _enableuncomment
| bool carto::cuifstream::_enableuncomment |
|
protected |
◆ _uncomment
The documentation for this class was generated from the following file: