#include <nedfilebuffer.h>
Public Methods | |
| NEDFileBuffer () | |
| ~NEDFileBuffer () | |
| bool | readFile (const char *filename) |
| bool | setData (const char *data) |
| const char* | get (YYLTYPE pos) |
| const char* | getFileComment () |
| const char* | getBannerComment (YYLTYPE pos) |
| const char* | getTrailingComment (YYLTYPE pos) |
|
|
Constructor. |
|
|
Destructor. |
|
|
Returns pointer to a text region defined by (beg-line, beg-col) and (end-line, end-col). The text is NOT copied, only a null character is written temporarily into the stored string at (end-line, end-col) -- this also means you should NOT keep more than one pointer returned by get()! |
|
|
Returns banner comment above text range passed in pos. Uses get()! |
|
|
Returns comment at top of file. Uses get()! |
|
|
Returns trailing comment below text range passed in pos. Uses get()! |
|
|
Reads NED file given with its filename.
|
|
|
Uses literal NED text.
|
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001