root/applications/doprava/aimsun_bdm/tools.h @ 873

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.

Line 
1
2#ifndef _AIMSUN_BDM_TOOLS_H_
3#define _AIMSUN_BDM_TOOLS_H_
4
5#define MAX_LINE                1024
6#define MAX_EXE_PATH    (2*MAX_PATH)
7
8void    _addpath ( TCHAR * path );
9TCHAR * _tstrtrim ( TCHAR * str );
10
11errno_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        );
19
20errno_t replace_stoptime (
21        const TCHAR * net_path,
22        const TCHAR * stoptime
23        );
24
25int _search_index ( const int *list, int numElements, int value );
26
27#endif
Note: See TracBrowser for help on using the browser.