From 384539f7cc9feaa7ef7cee385cce472c6966c843 Mon Sep 17 00:00:00 2001 From: manuel Date: Mon, 27 Apr 2009 00:24:16 +0200 Subject: Adding ue1 --- ue1/doxygen/cfile_8h-source.html | 62 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 ue1/doxygen/cfile_8h-source.html (limited to 'ue1/doxygen/cfile_8h-source.html') diff --git a/ue1/doxygen/cfile_8h-source.html b/ue1/doxygen/cfile_8h-source.html new file mode 100644 index 0000000..18fa26e --- /dev/null +++ b/ue1/doxygen/cfile_8h-source.html @@ -0,0 +1,62 @@ + + +imgsynth: imgsynth/cfile.h Source File + + + + +
+ +
+

imgsynth/cfile.h

00001 
+00009 #ifndef CFILE_H
+00010 #define CFILE_H
+00011 
+00012 #include <string>
+00013 #include <set>
+00014 #include <list>
+00015 #include <fstream>
+00016 #include <stdexcept>
+00017 
+00029 class CFile
+00030 {
+00031   public:
+00036     class FileError : public std::invalid_argument {
+00037       public:
+00047         FileError(const std::string& what)
+00048           : std::invalid_argument(what)
+00049         {}
+00050     };
+00051 
+00061     virtual ~CFile()
+00062     {};
+00063 
+00073     virtual void read(std::ifstream& in) = 0;
+00074 
+00084     virtual void write(std::ofstream& out) = 0;
+00085 
+00097     virtual void callFunc(const std::string& func, const std::list<std::string>& params) = 0;
+00098 
+00108     bool supportsType(const std::string& type)
+00109     {
+00110       return (m_types.find(type) == m_types.end()) ? false : true;
+00111     }
+00112 
+00113   protected:
+00114     /* members */
+00116     std::set<std::string> m_types;
+00117 };
+00118 
+00119 #endif
+00120 
+00121 /* vim: set et sw=2 ts=2: */
+

Generated on Sun Apr 26 12:25:52 2009 for imgsynth by  + +doxygen 1.5.3
+ + -- cgit v1.2.3