source:
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Stat_is_valid_var.cpp
@
91
Last change on this file since 91 was 81, checked in by , 16 years ago | |
---|---|
|
|
File size: 341 bytes |
Line | |
---|---|
1 | #ifdef STATISTICS |
2 | #include "Behavioural/include/Stat.h" |
3 | |
4 | namespace morpheo { |
5 | namespace behavioural { |
6 | |
7 | bool Stat::is_valid_var (std::string var) |
8 | { |
9 | // est ce que le nom de variable est valide |
10 | // est ce que ce nom n'a pas déjà été utilisé |
11 | return (_list_operand->find(var) == _list_operand->end()); |
12 | } |
13 | |
14 | }; |
15 | }; |
16 | #endif |
Note: See TracBrowser
for help on using the repository browser.