Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATXMLParser::ParseStream
CATResult CATXMLParser::ParseStream ( CATStream stream,
CATXMLFactory factory,
CATXMLObject *&  root 
) [static]

Parses a stream with the given factory. Stream location should be at the start of the XML. Root node is placed in root on success;

Parameters:
stream Stream to read XML data from
factory Factory to use for object creation.
root Ptr to receive root object of tree.
Returns:
CATRESULT CATRESULT_SUCCESS on success.

Definition at line 47 of file CATXMLParser.cpp.

References CAT_ERR_XML_PARSER_INVALID_PATH, CAT_ERR_XML_PARSER_OUT_OF_MEMORY, CATFAILED, CATRESULT, ParseMemory(), CATStream::Read(), CATStream::SeekAbsolute(), and CATStream::Size().

Referenced by Parse().


Generated on Mon Feb 11 04:11:29 2008 for Game Accessibility Suite by doxygen 1.5.4