openModeller  Version 1.4.0
SerializedXmlOccurrences.hh
Go to the documentation of this file.
00001 
00027 #ifndef _SERIALIZED_XML_OCCURRENCES_HH_
00028 #define _SERIALIZED_XML_OCCURRENCES_HH_
00029 
00030 #include <openmodeller/occ_io/OccurrencesReader.hh>
00031 
00032 #include <openmodeller/om_defs.hh>
00033 #include <openmodeller/Occurrences.hh>
00034 
00039 class dllexp SerializedXmlOccurrences : public OccurrencesReader
00040 {
00041 public:
00042 
00046   static OccurrencesReader * CreateOccurrencesReaderCallback( const char * source, const char * coordSystem );
00047 
00052   SerializedXmlOccurrences( const char *source, const char * coordSystem );
00053 
00056   ~SerializedXmlOccurrences();
00057 
00061   bool load();
00062 
00063 private:
00064 
00065   // Indicates if occurrences were already loaded.
00066   bool _loaded;
00067 };
00068 
00069 #endif
00070