Open
Graph Drawing
Framework

 v. snapshot-2017-02-16
 

ogdf::XmlScanner Class Reference

This class scans the characters of the input file and provides the detected token. More...

#include <ogdf/fileformats/XmlScanner.h>

Public Member Functions

 XmlScanner (istream &is)
 
 ~XmlScanner ()
 Destruction: destroys the parse tree. More...
 
const string getCurrentToken ()
 
int getInputFileLineCounter () const
 
XmlToken getNextToken ()
 
bool readStringUntil (char searchCharacter, bool includeSearchCharacter=false)
 
bool skipUntil (char searchCharacter, bool skipOverSearchCharacter=true)
 
bool skipUntilMatchingClosingBracket ()
 
void test ()
 
XmlToken testNextNextToken ()
 
XmlToken testNextToken ()
 

Private Attributes

string m_currentToken
 
LineBuffer * m_pLineBuffer
 

Detailed Description

This class scans the characters of the input file and provides the detected token.

Definition at line 62 of file XmlScanner.h.

Constructor & Destructor Documentation

◆ XmlScanner()

ogdf::XmlScanner::XmlScanner ( istream &  is)
explicit

◆ ~XmlScanner()

ogdf::XmlScanner::~XmlScanner ( )

Destruction: destroys the parse tree.

Member Function Documentation

◆ getCurrentToken()

const string ogdf::XmlScanner::getCurrentToken ( )
inline

Definition at line 88 of file XmlScanner.h.

◆ getInputFileLineCounter()

int ogdf::XmlScanner::getInputFileLineCounter ( ) const
inline

Definition at line 127 of file XmlScanner.h.

◆ getNextToken()

XmlToken ogdf::XmlScanner::getNextToken ( )

◆ readStringUntil()

bool ogdf::XmlScanner::readStringUntil ( char  searchCharacter,
bool  includeSearchCharacter = false 
)

◆ skipUntil()

bool ogdf::XmlScanner::skipUntil ( char  searchCharacter,
bool  skipOverSearchCharacter = true 
)

◆ skipUntilMatchingClosingBracket()

bool ogdf::XmlScanner::skipUntilMatchingClosingBracket ( )

◆ test()

void ogdf::XmlScanner::test ( )

◆ testNextNextToken()

XmlToken ogdf::XmlScanner::testNextNextToken ( )

◆ testNextToken()

XmlToken ogdf::XmlScanner::testNextToken ( )

Member Data Documentation

◆ m_currentToken

string ogdf::XmlScanner::m_currentToken
private

Definition at line 70 of file XmlScanner.h.

◆ m_pLineBuffer

LineBuffer* ogdf::XmlScanner::m_pLineBuffer
private

Definition at line 67 of file XmlScanner.h.


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