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 2110 by gezelter, Thu Mar 10 20:40:56 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"
52 #include "io/LinkedCommand.hpp"
54   #include "types/MakeStamps.hpp"
55   #include "types/ZconStamp.hpp"
56  
57  
58  
59 + /**
60 + * @class Globals Globals.hpp "io/Globals.hpp"
61 + * @brief parsing and storing global parameters for simulation
62 + * @todo need refactorying
63 + */
64   class Globals{
65    
66   public:
# Line 186 | Line 192 | class Globals{ (private)
192    
193   private:
194    
195 <  int hash_size;
196 <  int hash_shift;
197 <  int hash( char* text );
198 <  void addHash( char* text, int token );
193 <  LinkedCommand** command_table;
195 >
196 >  typedef std::map<std::string, int> CommandMapType;
197 >  CommandMapType command_table;
198 >
199    
200    char* checkMe( void );
201    

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines