Last change
on this file since 118 was
88,
checked in by rosiere, 16 years ago
|
Almost complete design
with Test and test platform
|
-
Property svn:keywords set to
Id
|
File size:
1.5 KB
|
Rev | Line | |
---|
[88] | 1 | #ifndef morpheo_behavioural_configuration_Link_affectation_h |
---|
| 2 | #define morpheo_behavioural_configuration_Link_affectation_h |
---|
| 3 | |
---|
| 4 | /* |
---|
| 5 | * $Id: Link_affectation.h 88 2008-12-10 18:31:39Z rosiere $ |
---|
| 6 | * |
---|
| 7 | * [ Description ] |
---|
| 8 | * |
---|
| 9 | */ |
---|
| 10 | |
---|
| 11 | #include "Behavioural/include/XML.h" |
---|
| 12 | #include "Common/include/ErrorMorpheo.h" |
---|
| 13 | #include "Common/include/ToString.h" |
---|
| 14 | #include "Common/include/Debug.h" |
---|
| 15 | |
---|
| 16 | #include <iostream> |
---|
| 17 | |
---|
| 18 | namespace morpheo { |
---|
| 19 | namespace behavioural { |
---|
| 20 | namespace configuration { |
---|
| 21 | |
---|
| 22 | class Link_affectation |
---|
| 23 | { |
---|
| 24 | // -----[ fields ]---------------------------------------------------- |
---|
| 25 | // Constant |
---|
| 26 | public : const std::string _name; |
---|
| 27 | public : const std::string _src ; |
---|
| 28 | public : const std::string _dest; |
---|
| 29 | public : bool _use ; |
---|
| 30 | |
---|
| 31 | // -----[ methods ]--------------------------------------------------- |
---|
| 32 | public : Link_affectation (std::string name, |
---|
| 33 | std::string src , |
---|
| 34 | std::string dest |
---|
| 35 | ); |
---|
| 36 | public : ~Link_affectation (); |
---|
| 37 | |
---|
| 38 | public : XML toXML (void); |
---|
| 39 | private : std::string print (uint32_t depth); |
---|
| 40 | public : friend std::ostream& operator<< (std::ostream& output, |
---|
| 41 | morpheo::behavioural::configuration::Link_affectation & x); |
---|
| 42 | }; |
---|
| 43 | |
---|
| 44 | }; // end namespace configuration |
---|
| 45 | }; // end namespace behavioural |
---|
| 46 | }; // end namespace morpheo |
---|
| 47 | |
---|
| 48 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.