Last change
on this file since 33 was
31,
checked in by rosiere, 17 years ago
|
Class Position qui encapsule la génération des fichiers de positions
|
File size:
553 bytes
|
Line | |
---|
1 | /* |
---|
2 | * $Id$ |
---|
3 | * |
---|
4 | * [ Description ] |
---|
5 | * |
---|
6 | */ |
---|
7 | |
---|
8 | #include "Behavioural/include/Interfaces.h" |
---|
9 | |
---|
10 | namespace morpheo { |
---|
11 | namespace behavioural { |
---|
12 | |
---|
13 | Interface * Interfaces::find_interface (string name) |
---|
14 | { |
---|
15 | if (_list_interface->empty()== false) |
---|
16 | { |
---|
17 | list<Interface>::iterator i = _list_interface->begin(); |
---|
18 | |
---|
19 | while (i != _list_interface->end()) |
---|
20 | { |
---|
21 | if ((*i)._name == name) |
---|
22 | return &(*i); |
---|
23 | ++i; |
---|
24 | } |
---|
25 | } |
---|
26 | |
---|
27 | return NULL; |
---|
28 | }; |
---|
29 | |
---|
30 | }; // end namespace behavioural |
---|
31 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.