#include <ogdf/fileformats/DinoLineBuffer.h>
Public Member Functions | |
| DinoLineBuffer (const char *fileName) | |
| ~DinoLineBuffer () | |
| bool | extractString (const DinoLineBufferPosition &startPostion, const DinoLineBufferPosition &endPosition, char *targetString) |
| char | getCurrentCharacter () const |
| DinoLineBufferPosition | getCurrentPosition () const |
| int | getInputFileLineCounter () const |
| char | moveToNextCharacter () |
| bool | setCurrentPosition (const DinoLineBufferPosition &newPosition) |
| void | skipWhitespace () |
Static Public Attributes | |
| static const int | c_maxLineLength |
| static const int | c_maxNoOfLines |
| static const int | c_maxStringLength |
Private Member Functions | |
| char * | getCurrentCharacterPointer () |
| bool | isValidPosition (const DinoLineBufferPosition &position) const |
| void | setCurrentCharacter (char c) |
Private Attributes | |
| DinoLineBufferPosition | m_currentPosition |
| int | m_inputFileLineCounter |
| int * | m_lineUpdateCountArray |
| int | m_numberOfMostRecentlyReadLine |
| istream * | m_pIs |
| char * | m_pLinBuf |
This class maintains the input file and provides a convenient interface to handle it.
Definition at line 135 of file DinoLineBuffer.h.
| ogdf::DinoLineBuffer::DinoLineBuffer | ( | const char * | fileName | ) |
| ogdf::DinoLineBuffer::~DinoLineBuffer | ( | ) |
| bool ogdf::DinoLineBuffer::extractString | ( | const DinoLineBufferPosition & | startPostion, |
| const DinoLineBufferPosition & | endPosition, | ||
| char * | targetString | ||
| ) |
|
inline |
Definition at line 186 of file DinoLineBuffer.h.
|
inlineprivate |
Definition at line 226 of file DinoLineBuffer.h.
|
inline |
Definition at line 181 of file DinoLineBuffer.h.
|
inline |
Definition at line 192 of file DinoLineBuffer.h.
|
private |
| char ogdf::DinoLineBuffer::moveToNextCharacter | ( | ) |
|
inlineprivate |
Definition at line 232 of file DinoLineBuffer.h.
| bool ogdf::DinoLineBuffer::setCurrentPosition | ( | const DinoLineBufferPosition & | newPosition | ) |
| void ogdf::DinoLineBuffer::skipWhitespace | ( | ) |
|
static |
Definition at line 143 of file DinoLineBuffer.h.
|
static |
Definition at line 146 of file DinoLineBuffer.h.
|
static |
Definition at line 140 of file DinoLineBuffer.h.
|
private |
Definition at line 161 of file DinoLineBuffer.h.
|
private |
Definition at line 170 of file DinoLineBuffer.h.
|
private |
Definition at line 155 of file DinoLineBuffer.h.
|
private |
Definition at line 167 of file DinoLineBuffer.h.
|
private |
Definition at line 151 of file DinoLineBuffer.h.
|
private |
Definition at line 158 of file DinoLineBuffer.h.