Tanl Linguistic Pipeline

Tanl::XML::XmlReader Class Reference

List of all members.

Classes

struct  NodeAttr

Public Types

enum  State {
  Initial, Interactive, Error, EndOfFile,
  Closed
}

Public Member Functions

 XmlReader (std::istream &stream)
bool Read () throw (XmlException)
 Reads the next node from the stream.
int AttributeCount ()
bool MoveToFirstAttribute ()
bool MoveToNextAttribute ()
bool Eof ()
 Tells whether the reader is positioned at the end of the stream.
int Depth ()

Public Attributes

XmlNodeType NodeType
std::string Name
std::string Value
bool isEmptyElement
Text::Encoding const * encoding

Member Function Documentation

bool Tanl::XML::XmlReader::Eof (  )  [inline]

Tells whether the reader is positioned at the end of the stream.

Referenced by Read().

bool Tanl::XML::XmlReader::Read (  )  throw (XmlException)

Reads the next node from the stream.

Returns:
true if successful.

References Eof(), and Tanl::XML::XmlScanner::scan().

Referenced by Tanl::DgaSentenceReader::MoveNext().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
 
Copyright © 2005-2011 G. Attardi. Generated on 4 Mar 2011 by doxygen 1.6.1.