Definition at line 170 of file TXMLEngine.cxx.
Public Member Functions | |
TXMLInputStream (Bool_t isfilename, const char *filename, Int_t ibufsize) | |
constructor | |
virtual | ~TXMLInputStream () |
destructor | |
void | AddEntity (TXMLEntity *ent) |
Add new entity. | |
Bool_t | CheckFor (const char *str) |
Check if in current position we see specified string. | |
Int_t | CurrentLine () |
returns current line number in the input stream | |
int | DoRead (char *buf, int maxsize) |
Read new data into buffer. | |
Bool_t | EndOfFile () |
return true if end of file is achieved | |
Bool_t | EndOfStream () |
return true if end of file and all data from buffer are processed | |
Bool_t | ExpandStream (char *&curr) |
Allocate more data for the buffer, preserving content. | |
TXMLEntity * | FindEntity (const char *beg, Int_t len) |
Search for the entity. | |
Bool_t | GoodStartSymbol (unsigned char symb) |
returns true if symbol can be used as starting in the node name | |
Int_t | LocateContent () |
locate node content, returns length (or -1 if fails) | |
Int_t | LocateIdentifier () |
locate identifier in the stream, returns length of the identifier (or 0 if fails) | |
Int_t | LocateValue (unsigned curr_offset, bool withequalsign=true) |
locate attribute value, returns length (or 0 if fails) | |
Int_t | NumEntities () const |
Returns number of entity. | |
Int_t | SearchFor (const char *str) |
Search for specified string in the stream return number of symbols before string was found, -1 if error. | |
Bool_t | ShiftCurrent (Int_t sz=1) |
shift current position on provided number of symbol | |
Bool_t | ShiftStream () |
read next portion of data from the stream in the buffer | |
Bool_t | SkipSpaces (Bool_t tillendl=kFALSE) |
Skip spaces at the current position. | |
Int_t | TotalPos () |
returns absolute byte position in the stream | |
Public Attributes | |
char * | fCurrent |
array of TXMLEntity | |
Protected Attributes | |
char * | fBuf |
Int_t | fBufSize |
Int_t | fCurrentLine |
TObjArray | fEntities |
std::istream * | fInp |
const char * | fInpStr |
Int_t | fInpStrLen |
char * | fLimitAddr |
char * | fMaxAddr |
Int_t | fTotalPos |
|
inline |
constructor
Definition at line 193 of file TXMLEngine.cxx.
|
inlinevirtual |
destructor
Definition at line 227 of file TXMLEngine.cxx.
|
inline |
Add new entity.
Definition at line 248 of file TXMLEngine.cxx.
|
inline |
Check if in current position we see specified string.
Definition at line 391 of file TXMLEngine.cxx.
|
inline |
returns current line number in the input stream
Definition at line 348 of file TXMLEngine.cxx.
Read new data into buffer.
Definition at line 275 of file TXMLEngine.cxx.
|
inline |
return true if end of file is achieved
Definition at line 238 of file TXMLEngine.cxx.
|
inline |
return true if end of file and all data from buffer are processed
Definition at line 243 of file TXMLEngine.cxx.
|
inline |
Allocate more data for the buffer, preserving content.
Definition at line 297 of file TXMLEngine.cxx.
|
inline |
Search for the entity.
Definition at line 258 of file TXMLEngine.cxx.
|
inline |
returns true if symbol can be used as starting in the node name
Definition at line 438 of file TXMLEngine.cxx.
|
inline |
locate node content, returns length (or -1 if fails)
Definition at line 474 of file TXMLEngine.cxx.
|
inline |
locate identifier in the stream, returns length of the identifier (or 0 if fails)
Definition at line 447 of file TXMLEngine.cxx.
locate attribute value, returns length (or 0 if fails)
Definition at line 492 of file TXMLEngine.cxx.
|
inline |
Returns number of entity.
Definition at line 253 of file TXMLEngine.cxx.
|
inline |
Search for specified string in the stream return number of symbols before string was found, -1 if error.
Definition at line 409 of file TXMLEngine.cxx.
shift current position on provided number of symbol
Definition at line 353 of file TXMLEngine.cxx.
|
inline |
read next portion of data from the stream in the buffer
Definition at line 324 of file TXMLEngine.cxx.
Skip spaces at the current position.
Definition at line 372 of file TXMLEngine.cxx.
|
inline |
returns absolute byte position in the stream
Definition at line 343 of file TXMLEngine.cxx.
|
protected |
Definition at line 176 of file TXMLEngine.cxx.
|
protected |
Definition at line 177 of file TXMLEngine.cxx.
char* TXMLInputStream::fCurrent |
array of TXMLEntity
Definition at line 188 of file TXMLEngine.cxx.
|
protected |
Definition at line 183 of file TXMLEngine.cxx.
|
protected |
Definition at line 185 of file TXMLEngine.cxx.
|
protected |
Definition at line 172 of file TXMLEngine.cxx.
|
protected |
Definition at line 173 of file TXMLEngine.cxx.
|
protected |
Definition at line 174 of file TXMLEngine.cxx.
|
protected |
Definition at line 180 of file TXMLEngine.cxx.
|
protected |
Definition at line 179 of file TXMLEngine.cxx.
|
protected |
Definition at line 182 of file TXMLEngine.cxx.