ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-2.0/src/io/Globals.hpp
(Generate patch)

Comparing trunk/OOPSE-2.0/src/io/Globals.hpp (file contents):
Revision 2101 by chrisfen, Thu Mar 10 15:10:24 2005 UTC vs.
Revision 2109 by tim, Thu Mar 10 20:28:17 2005 UTC

# Line 46 | Line 46
46  
47   #include <stdlib.h>
48   #include <vector>
49 + #include <string>
50 + #include <map>
51  
52   #include "io/BASS_interface.h"
53   #include "types/Component.hpp"
# Line 55 | Line 57 | class Globals{
57  
58  
59  
60 + /**
61 + * @class Globals Globals.hpp "io/Globals.hpp"
62 + * @brief parsing and storing global parameters for simulation
63 + * @todo need refactorying
64 + */
65   class Globals{
66    
67   public:
# Line 186 | Line 193 | class Globals{ (private)
193    
194   private:
195    
196 <  int hash_size;
197 <  int hash_shift;
198 <  int hash( char* text );
199 <  void addHash( char* text, int token );
193 <  LinkedCommand** command_table;
196 >
197 >  typedef std::map<std::string, int> CommandMapType;
198 >  CommandMapType command_table;
199 >
200    
201    char* checkMe( void );
202    

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines