Read a SyntaxSet from a file.
More...
#include <cartobase/object/sreader.h>
Read a SyntaxSet from a file.
Definition at line 57 of file sreader.h.
◆ SyntaxReader()
| carto::SyntaxReader::SyntaxReader |
( |
const std::string & |
filename | ) |
|
◆ ~SyntaxReader()
| virtual carto::SyntaxReader::~SyntaxReader |
( |
| ) |
|
|
virtual |
◆ read()
| void carto::SyntaxReader::read |
( |
SyntaxSet & |
rules | ) |
|
read the referenced attributes from a stream
- Returns
- syntactic attribute / associated rule pairs
◆ readUntil()
| std::string carto::SyntaxReader::readUntil |
( |
const std::string & |
s | ) |
|
|
protected |
read characters not in s
- Parameters
-
| s | continue while characters outside s |
- Returns
- accepted characters
◆ skipWhile()
| void carto::SyntaxReader::skipWhile |
( |
const std::string & |
s | ) |
|
|
protected |
skip characters in s
- Parameters
-
| s | continue while characters in s |
The documentation for this class was generated from the following file: