00001
00002
00003 #ifndef _FiletoPolyFactory_h
00004 #define _FiletoPolyFactory_h
00005
00010 #include "FiletoPoly.h"
00011
00016 class FiletoPolyFactory
00017 {
00018
00019 public:
00020
00024 FiletoPolyFactory();
00025
00033 FiletoPoly *newSource(const char *filename);
00034
00038 void DebugOn();
00039
00043 void DebugOff();
00044
00049 unsigned int GetDebug() const;
00050
00051
00052 protected:
00053
00054
00055
00056 private:
00057
00062 FiletoPoly *Reader(const char *pathname);
00063
00064 unsigned int debug;
00065 };
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00087 #endif