Modules Namespace List Class Hierarchy Alphabetical List Compound List Namespace Members Compound Members Related Pages
acdk::cfgscript::ScriptSource Class Reference
#include <ScriptSource.h>
Inheritance diagram for acdk::cfgscript::ScriptSource:
List of all members.
Detailed Description
Source for scripts.
Constructor & Destructor Documentation
acdk::cfgscript::ScriptSource::ScriptSource |
( |
IN(RString) |
name, |
|
|
IN(RString) |
sourcetext |
|
) |
[inline] |
|
Member Function Documentation
bool acdk::cfgscript::ScriptSource::_fetchNextLine |
( |
int |
lineNo |
) |
[protected] |
|
void acdk::cfgscript::ScriptSource::_incrementReaded |
( |
IN(RString) |
str |
) |
[protected] |
|
void acdk::cfgscript::ScriptSource::_setCharPos |
( |
int |
newCharPos |
) |
[protected] |
|
int acdk::cfgscript::ScriptSource::charPos |
( |
|
) |
[inline] |
|
virtual void acdk::cfgscript::ScriptSource::close |
( |
|
) |
[inline, virtual] |
|
virtual int acdk::cfgscript::ScriptSource::getCharPos |
( |
|
) |
[inline, virtual] |
|
int acdk::cfgscript::ScriptSource::getColumnNumber |
( |
|
) |
[inline, virtual] |
|
RString acdk::cfgscript::ScriptSource::getLine |
( |
int |
line |
) |
|
|
|
get a line of code, relative to current line 0 return the current line < -1 return lines before current line If line not exists return Nil
|
int acdk::cfgscript::ScriptSource::getLineNumber |
( |
|
) |
[inline, virtual] |
|
|
returns the underlying reader
- Parameters:
-
encoder | uses to write characters. If Nil uses the system encoding |
Reimplemented from acdk::io::CharReader. |
bool acdk::cfgscript::ScriptSource::isEof |
( |
|
) |
|
|
virtual int acdk::cfgscript::ScriptSource::readChar |
( |
|
) |
[virtual] |
|
RString acdk::cfgscript::ScriptSource::readLine |
( |
|
) |
[virtual] |
|
virtual RString acdk::cfgscript::ScriptSource::readString |
( |
|
) |
[virtual] |
|
void acdk::cfgscript::ScriptSource::resetPushbackBuffer |
( |
|
) |
[virtual] |
|
int acdk::cfgscript::ScriptSource::seekCharBack |
( |
|
) |
|
|
virtual void acdk::cfgscript::ScriptSource::setCharPos |
( |
int |
ch |
) |
[inline, virtual] |
|
void acdk::cfgscript::ScriptSource::setColumnNumber |
( |
int |
columnNo |
) |
[inline, virtual] |
|
void acdk::cfgscript::ScriptSource::setLineNumber |
( |
int |
lineno |
) |
[inline, virtual] |
|
void acdk::cfgscript::ScriptSource::unread |
( |
IN(RString) |
str |
) |
[virtual] |
|
void acdk::cfgscript::ScriptSource::unread |
( |
ucchar |
ch |
) |
[virtual] |
|
Member Data Documentation
|
each entry is the character position of begining of the line
|