Revision 873, 0.5 kB
(checked in by prikryl, 14 years ago)
|
New function replace_stoptime() that allows user-specified stop time of simulation instead of the default 24:00:00.
|
Rev | Line | |
---|
[825] | 1 | |
---|
| 2 | #ifndef _AIMSUN_BDM_TOOLS_H_ |
---|
| 3 | #define _AIMSUN_BDM_TOOLS_H_ |
---|
| 4 | |
---|
| 5 | #define MAX_LINE 1024 |
---|
[873] | 6 | #define MAX_EXE_PATH (2*MAX_PATH) |
---|
[825] | 7 | |
---|
| 8 | void _addpath ( TCHAR * path ); |
---|
| 9 | TCHAR * _tstrtrim ( TCHAR * str ); |
---|
| 10 | |
---|
| 11 | errno_t replace_in_scenario ( |
---|
| 12 | const TCHAR * sce_name, |
---|
| 13 | const TCHAR * new_name, |
---|
| 14 | const TCHAR * section, |
---|
| 15 | const TCHAR ** patterns, |
---|
| 16 | int num_patterns, |
---|
| 17 | const TCHAR * replacement |
---|
| 18 | ); |
---|
[873] | 19 | |
---|
| 20 | errno_t replace_stoptime ( |
---|
| 21 | const TCHAR * net_path, |
---|
| 22 | const TCHAR * stoptime |
---|
| 23 | ); |
---|
| 24 | |
---|
[859] | 25 | int _search_index ( const int *list, int numElements, int value ); |
---|
| 26 | |
---|
[825] | 27 | #endif |
---|