openModeller  Version 1.4.0
DelimitedTextOccurrences.hh
Go to the documentation of this file.
00001 
00030 #ifndef _OCCURRENCES_FILEHH_
00031 #define _OCCURRENCES_FILEHH_
00032 
00033 #include <openmodeller/occ_io/OccurrencesReader.hh>
00034 
00035 #include <openmodeller/om_defs.hh>
00036 #include <openmodeller/Occurrences.hh>
00037 
00038 #include <vector>
00039 
00058 class dllexp DelimitedTextOccurrences : public OccurrencesReader
00059 {
00060 public:
00061 
00065   static OccurrencesReader * CreateOccurrencesReaderCallback( const char * source, const char * coordSystem );
00066 
00071   DelimitedTextOccurrences( const char *source, const char * coordSystem );
00072 
00075   ~DelimitedTextOccurrences();
00076 
00080   bool load();
00081 
00082 private:
00083 
00084   // Indicates if occurrences were already loaded.
00085   bool _loaded;
00086 };
00087 
00088 #endif
00089