WriteToStream() is a recursive function that writes the object and its children to a stream as XML. You must open the stream and write the header out first, then call this on the top level nodes to create a valid XML file.
Definition at line 223 of file CATXMLObject.cpp. References CAT_ERR_STREAM_INVALID, CAT_SUCCESS, CATFAILED, CATRESULT, CATString::Escape(), fAttribs, fType, GetChild(), GetNumChildren(), CATStream::IsOpen(), CATString::Length(), CATString::SetCodePage(), CATStream::Write(), and WriteToStream(). Referenced by CATXMLParser::Write(), and WriteToStream().
|