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: |
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 |
|
|