Tanl Linguistic Pipeline |
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 |
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.
References Eof(), and Tanl::XML::XmlScanner::scan().
Referenced by Tanl::DgaSentenceReader::MoveNext().