xmlio.hpp

00001 // This file is part of the imaging2 class library.
00002 //
00003 // University of Innsbruck, Infmath Imaging, 2009.
00004 // http://infmath.uibk.ac.at
00005 //
00006 // All rights reserved.
00007 
00008 
00009 #ifndef SHAPE_XMLIO_H
00010 #define SHAPE_XMLIO_H
00011 
00012 #include <xml/XmlReader.hpp>
00013 #include <xml/XmlWriter.hpp>
00014 
00015 #include <shape/Circle.hpp>
00016 
00017 namespace imaging
00018 { 
00022   template<>
00023   class xml_handler<Circle>
00024   {
00025   public:
00026     static const std::string element_name;
00027     
00028     void read_object(XmlReader & in, Circle & object) const;
00029     
00030     void write_object(const Circle & object, XmlWriter & out) const;
00031   }; 
00032 }
00033 
00034 
00035 #endif

Generated on Tue Feb 10 10:01:29 2009 for imaging2 by  doxygen 1.5.5