Definition at line 169 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 192 of file TXMLEngine.cxx.
|
inlinevirtual |
destructor
Definition at line 226 of file TXMLEngine.cxx.
|
inline |
Add new entity.
Definition at line 247 of file TXMLEngine.cxx.
Check if in current position we see specified string.
Definition at line 390 of file TXMLEngine.cxx.
|
inline |
returns current line number in the input stream
Definition at line 347 of file TXMLEngine.cxx.
Read new data into buffer.
Definition at line 274 of file TXMLEngine.cxx.
|
inline |
return true if end of file is achieved
Definition at line 237 of file TXMLEngine.cxx.
|
inline |
return true if end of file and all data from buffer are processed
Definition at line 242 of file TXMLEngine.cxx.
|
inline |
Allocate more data for the buffer, preserving content.
Definition at line 296 of file TXMLEngine.cxx.
|
inline |
Search for the entity.
Definition at line 257 of file TXMLEngine.cxx.
|
inline |
returns true if symbol can be used as starting in the node name
Definition at line 437 of file TXMLEngine.cxx.
|
inline |
locate node content, returns length (or -1 if fails)
Definition at line 473 of file TXMLEngine.cxx.
|
inline |
locate identifier in the stream, returns length of the identifier (or 0 if fails)
Definition at line 446 of file TXMLEngine.cxx.
locate attribute value, returns length (or 0 if fails)
Definition at line 491 of file TXMLEngine.cxx.
|
inline |
Returns number of entity.
Definition at line 252 of file TXMLEngine.cxx.
Search for specified string in the stream return number of symbols before string was found, -1 if error.
Definition at line 408 of file TXMLEngine.cxx.
shift current position on provided number of symbol
Definition at line 352 of file TXMLEngine.cxx.
|
inline |
read next portion of data from the stream in the buffer
Definition at line 323 of file TXMLEngine.cxx.
Skip spaces at the current position.
Definition at line 371 of file TXMLEngine.cxx.
|
inline |
returns absolute byte position in the stream
Definition at line 342 of file TXMLEngine.cxx.
|
protected |
Definition at line 175 of file TXMLEngine.cxx.
|
protected |
Definition at line 176 of file TXMLEngine.cxx.
char* TXMLInputStream::fCurrent |
array of TXMLEntity
Definition at line 187 of file TXMLEngine.cxx.
|
protected |
Definition at line 182 of file TXMLEngine.cxx.
|
protected |
Definition at line 184 of file TXMLEngine.cxx.
|
protected |
Definition at line 171 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 179 of file TXMLEngine.cxx.
|
protected |
Definition at line 178 of file TXMLEngine.cxx.
|
protected |
Definition at line 181 of file TXMLEngine.cxx.