Last change
on this file since 122 was
81,
checked in by rosiere, 16 years ago
|
- Finish Environment (and test)
- Continue predictor_unit
- Add external tools
- svn keyword "Id" set
|
-
Property svn:keywords set to
Id
|
File size:
581 bytes
|
Rev | Line | |
---|
[2] | 1 | /* |
---|
| 2 | * $Id: XML_singleton.cpp 81 2008-04-15 18:40:01Z rosiere $ |
---|
| 3 | * |
---|
| 4 | * [ Description ] |
---|
| 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | #include "Behavioural/include/XML.h" |
---|
| 9 | |
---|
| 10 | namespace morpheo { |
---|
| 11 | namespace behavioural { |
---|
| 12 | |
---|
[43] | 13 | #undef FUNCTION |
---|
| 14 | #define FUNCTION "XML::singleton" |
---|
[71] | 15 | bool XML::singleton (std::string name) |
---|
[2] | 16 | { |
---|
[43] | 17 | log_printf(FUNC,Behavioural,FUNCTION,"Begin"); |
---|
| 18 | |
---|
| 19 | bool _return; |
---|
| 20 | |
---|
| 21 | if (not singleton_begin(name)) |
---|
| 22 | _return = false; |
---|
| 23 | else |
---|
| 24 | _return = singleton_end (); |
---|
| 25 | |
---|
| 26 | log_printf(FUNC,Behavioural,FUNCTION,"End"); |
---|
| 27 | return _return; |
---|
[2] | 28 | }; |
---|
| 29 | |
---|
| 30 | }; // end namespace behavioural |
---|
| 31 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.