-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlogparser.h
More file actions
31 lines (23 loc) · 821 Bytes
/
logparser.h
File metadata and controls
31 lines (23 loc) · 821 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*******************************************************************
*
* DESCRIPTION: Utilities to parse the simulation log
*
* AUTHOR: Alejandro Troccoli
*
* EMAIL: mailto://atroccol@dc.uba.ar
*
* DATE: 19/04/2001
*
*******************************************************************/
#ifndef __LOGPARSER_H_
#define __LOGPARSER_H_
#include "VTime.hh" // Class VTime
#include <strstream>
#include "strutil.h" // str2Int y str2Real
#include "cellpos.h"
//For the draw log utility.
bool parseLine( const char *l, VTime ¤t, const std::string &modelName,
CellPosition &posi, Real &value, const std::string &portName );
bool isMessageLine( const char* l, int& LP, VTime &msgTime);
bool isMessageLine( const char* l, int& LP, VTime &msgTime, std::string& msgType);
#endif //LOGPARSER_H