Main Page   Compound List   File List   Compound Members  

SystemMap.hpp

00001 /*
00002  * SystemMap.hpp:
00003  * representation if a system map file (and alike).
00004  * written by palmers / teso
00005  */
00006 #ifndef SYSTEM_MAP_C
00007 #define SYSTEM_MAP_C
00008 
00009 #include <map>
00010 #include <string>
00011 #include <fstream>
00012 
00016 class SystemMap
00017 {
00018 private:
00019   typedef map<string, unsigned int> blamap;
00020   typedef blamap::value_type bla_val;
00021 
00022   blamap add_map;
00023 
00024 public:
00028   SystemMap (string file);
00029 
00033   SystemMap ();
00034 
00038   ~SystemMap ();
00039 
00044   bool contains (string);
00045 
00052   void add (string name, unsigned int address);
00053 
00059   unsigned int operator[] (string name);
00060 };
00061 #endif /* SYSTEM_MAP_C */

Generated at Tue Aug 14 18:04:51 2001 for Kermit by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001