TXMLInputStream Class Reference

List of all members.

Public Member Functions

 TXMLInputStream (bool isfilename, const char *filename, Int_t ibufsize)
virtual ~TXMLInputStream ()
Bool_t EndOfFile ()
Bool_t EndOfStream ()
int DoRead (char *buf, int maxsize)
Bool_t ExpandStream ()
Bool_t ShiftStream ()
Int_t TotalPos ()
Int_t CurrentLine ()
Bool_t ShiftCurrent (Int_t sz=1)
Bool_t SkipSpaces (Bool_t tillendl=kFALSE)
Bool_t CheckFor (const char *str)
Int_t SearchFor (const char *str)
Int_t LocateIdentifier ()
Int_t LocateContent ()
Int_t LocateAttributeValue (char *start)

Public Attributes

char * fCurrent

Protected Attributes

std::istream * fInp
const char * fInpStr
Int_t fInpStrLen
char * fBuf
Int_t fBufSize
char * fMaxAddr
char * fLimitAddr
Int_t fTotalPos
Int_t fCurrentLine

Detailed Description

Definition at line 153 of file TXMLEngine.cxx.


Constructor & Destructor Documentation

TXMLInputStream::TXMLInputStream ( bool  isfilename,
const char *  filename,
Int_t  ibufsize 
) [inline]

Definition at line 173 of file TXMLEngine.cxx.

References DoRead(), fBuf, fBufSize, fCurrent, fCurrentLine, fInp, fInpStr, fInpStrLen, fLimitAddr, fMaxAddr, fTotalPos, int, len, and malloc().

virtual TXMLInputStream::~TXMLInputStream (  )  [inline, virtual]

Definition at line 200 of file TXMLEngine.cxx.

References fBuf, fInp, and free().


Member Function Documentation

Bool_t TXMLInputStream::EndOfFile (  )  [inline]

Definition at line 206 of file TXMLEngine.cxx.

References fInp, and fInpStrLen.

Referenced by DoRead(), EndOfStream(), ExpandStream(), and ShiftStream().

Bool_t TXMLInputStream::EndOfStream (  )  [inline]

Definition at line 208 of file TXMLEngine.cxx.

References EndOfFile(), fCurrent, and fMaxAddr.

Referenced by TXMLEngine::ParseStream().

int TXMLInputStream::DoRead ( char *  buf,
int  maxsize 
) [inline]

Definition at line 210 of file TXMLEngine.cxx.

References EndOfFile(), fInp, fInpStr, and fInpStrLen.

Referenced by ExpandStream(), ShiftStream(), and TXMLInputStream().

Bool_t TXMLInputStream::ExpandStream (  )  [inline]

Definition at line 225 of file TXMLEngine.cxx.

References DoRead(), EndOfFile(), fBuf, fBufSize, fCurrent, fLimitAddr, fMaxAddr, int, kFALSE, kTRUE, len, and realloc().

Referenced by CheckFor(), LocateAttributeValue(), LocateContent(), LocateIdentifier(), and SearchFor().

Bool_t TXMLInputStream::ShiftStream (  )  [inline]

Definition at line 245 of file TXMLEngine.cxx.

References DoRead(), EndOfFile(), fBuf, fBufSize, fCurrent, fLimitAddr, fMaxAddr, int, kTRUE, and memmove.

Referenced by ShiftCurrent().

Int_t TXMLInputStream::TotalPos (  )  [inline]

Definition at line 259 of file TXMLEngine.cxx.

References fTotalPos.

Int_t TXMLInputStream::CurrentLine (  )  [inline]

Definition at line 261 of file TXMLEngine.cxx.

References fCurrentLine.

Referenced by TXMLEngine::ParseStream(), and TXMLEngine::ReadSingleNode().

Bool_t TXMLInputStream::ShiftCurrent ( Int_t  sz = 1  )  [inline]

Definition at line 263 of file TXMLEngine.cxx.

References fCurrent, fCurrentLine, fLimitAddr, fMaxAddr, fTotalPos, kFALSE, kTRUE, n, and ShiftStream().

Referenced by CheckFor(), TXMLEngine::ReadNode(), and SkipSpaces().

Bool_t TXMLInputStream::SkipSpaces ( Bool_t  tillendl = kFALSE  )  [inline]

Definition at line 277 of file TXMLEngine.cxx.

References fCurrent, fMaxAddr, kFALSE, kTRUE, and ShiftCurrent().

Referenced by TXMLEngine::ParseStream(), and TXMLEngine::ReadNode().

Bool_t TXMLInputStream::CheckFor ( const char *  str  )  [inline]

Definition at line 290 of file TXMLEngine.cxx.

References ExpandStream(), fCurrent, fMaxAddr, kFALSE, len, and ShiftCurrent().

Referenced by TXMLEngine::ReadNode().

Int_t TXMLInputStream::SearchFor ( const char *  str  )  [inline]

Definition at line 302 of file TXMLEngine.cxx.

References ExpandStream(), fCurrent, fMaxAddr, kFALSE, kTRUE, and len.

Referenced by TXMLEngine::ReadNode().

Int_t TXMLInputStream::LocateIdentifier (  )  [inline]

Definition at line 325 of file TXMLEngine.cxx.

References ExpandStream(), fCurrent, fMaxAddr, and ok.

Referenced by TXMLEngine::ReadNode().

Int_t TXMLInputStream::LocateContent (  )  [inline]

Definition at line 349 of file TXMLEngine.cxx.

References ExpandStream(), fCurrent, and fMaxAddr.

Referenced by TXMLEngine::ReadNode().

Int_t TXMLInputStream::LocateAttributeValue ( char *  start  )  [inline]

Definition at line 362 of file TXMLEngine.cxx.

References ExpandStream(), and fMaxAddr.

Referenced by TXMLEngine::ReadNode().


Member Data Documentation

std::istream* TXMLInputStream::fInp [protected]

Definition at line 156 of file TXMLEngine.cxx.

Referenced by DoRead(), EndOfFile(), TXMLInputStream(), and ~TXMLInputStream().

const char* TXMLInputStream::fInpStr [protected]

Definition at line 157 of file TXMLEngine.cxx.

Referenced by DoRead(), and TXMLInputStream().

Int_t TXMLInputStream::fInpStrLen [protected]

Definition at line 158 of file TXMLEngine.cxx.

Referenced by DoRead(), EndOfFile(), and TXMLInputStream().

char* TXMLInputStream::fBuf [protected]

Definition at line 160 of file TXMLEngine.cxx.

Referenced by ExpandStream(), ShiftStream(), TXMLInputStream(), and ~TXMLInputStream().

Int_t TXMLInputStream::fBufSize [protected]

Definition at line 161 of file TXMLEngine.cxx.

Referenced by ExpandStream(), ShiftStream(), and TXMLInputStream().

char* TXMLInputStream::fMaxAddr [protected]

Definition at line 163 of file TXMLEngine.cxx.

Referenced by CheckFor(), EndOfStream(), ExpandStream(), LocateAttributeValue(), LocateContent(), LocateIdentifier(), SearchFor(), ShiftCurrent(), ShiftStream(), SkipSpaces(), and TXMLInputStream().

char* TXMLInputStream::fLimitAddr [protected]

Definition at line 164 of file TXMLEngine.cxx.

Referenced by ExpandStream(), ShiftCurrent(), ShiftStream(), and TXMLInputStream().

Int_t TXMLInputStream::fTotalPos [protected]

Definition at line 166 of file TXMLEngine.cxx.

Referenced by ShiftCurrent(), TotalPos(), and TXMLInputStream().

Int_t TXMLInputStream::fCurrentLine [protected]

Definition at line 167 of file TXMLEngine.cxx.

Referenced by CurrentLine(), ShiftCurrent(), and TXMLInputStream().

char* TXMLInputStream::fCurrent

Definition at line 171 of file TXMLEngine.cxx.

Referenced by CheckFor(), EndOfStream(), ExpandStream(), LocateContent(), LocateIdentifier(), TXMLEngine::ReadNode(), SearchFor(), ShiftCurrent(), ShiftStream(), SkipSpaces(), and TXMLInputStream().


The documentation for this class was generated from the following file:
Generated on Tue Jul 5 16:49:53 2011 for ROOT_528-00b_version by  doxygen 1.5.1