Last change
on this file since 59 was
43,
checked in by rosiere, 17 years ago
|
Modif mineur : ajout d'info de débug
Release non stable
|
File size:
702 bytes
|
Rev | Line | |
---|
[31] | 1 | #ifdef POSITION |
---|
| 2 | /* |
---|
| 3 | * $Id$ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
[42] | 9 | #include "Behavioural/include/Component.h" |
---|
[31] | 10 | |
---|
| 11 | namespace morpheo { |
---|
| 12 | namespace behavioural { |
---|
| 13 | |
---|
[42] | 14 | void Component::generate_file (void) |
---|
[31] | 15 | { |
---|
[43] | 16 | log_printf(FUNC,Behavioural,"Component::generate_file","Begin"); |
---|
| 17 | |
---|
[31] | 18 | try |
---|
| 19 | { |
---|
| 20 | XML xml = toXML(); |
---|
| 21 | |
---|
| 22 | xml.filename_extension ("pos"); |
---|
| 23 | |
---|
| 24 | xml.generate_file("ISO-8859-1"); |
---|
| 25 | |
---|
| 26 | } |
---|
| 27 | catch (ErrorMorpheo e) |
---|
| 28 | { |
---|
[42] | 29 | throw (ErrorMorpheo ("Component \""+_entity->get_name()+"\" have a bad mapping : "+e.what())); |
---|
[31] | 30 | } |
---|
[43] | 31 | |
---|
| 32 | log_printf(FUNC,Behavioural,"Component::generate_file","End"); |
---|
[31] | 33 | }; |
---|
| 34 | |
---|
| 35 | }; // end namespace behavioural |
---|
| 36 | }; // end namespace morpheo |
---|
| 37 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.