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