Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members   Examples  

dxml_copy_example.cpp

Go to the documentation of this file.
00001 
00008 # include "DataObject.h"
00009 # include "XMLStream.h"
00010 
00011 using DataXML::DataObject;
00012 using DataXML::InputXMLStream;
00013 using DataXML::OutputXMLStream;
00014 
00015 int main()
00016 {
00017   InputXMLStream xml_is;
00018 
00019   const DataObject& data = xml_is.read(cin);
00020       
00021   OutputXMLStream xml_os;
00022 
00023   xml_os.write(data,cout); 
00024 
00025   return 0;
00026 }
00027 

Generated at Tue Jan 28 15:35:28 2003 for DataXML by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001