[88] | 1 | #ifndef morpheo_behavioural_configuration_Link_definition_h |
---|
| 2 | #define morpheo_behavioural_configuration_Link_definition_h |
---|
| 3 | |
---|
| 4 | /* |
---|
| 5 | * $Id: Link_definition.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 | |
---|
| 23 | class Link_definition |
---|
| 24 | { |
---|
| 25 | // -----[ fields ]---------------------------------------------------- |
---|
| 26 | // Constant |
---|
| 27 | public : const std::string _name ; |
---|
| 28 | public : const std::string _src ; |
---|
| 29 | public : const std::string _dest ; |
---|
| 30 | public : const std::string _description; |
---|
| 31 | |
---|
| 32 | // -----[ methods ]--------------------------------------------------- |
---|
| 33 | public : Link_definition (std::string name , |
---|
| 34 | std::string src , |
---|
| 35 | std::string dest , |
---|
| 36 | std::string description ); |
---|
| 37 | public : ~Link_definition (); |
---|
| 38 | |
---|
| 39 | //public : bool test (uint32_t x); |
---|
| 40 | |
---|
| 41 | public : XML toXML (void); |
---|
| 42 | private : std::string print (uint32_t depth); |
---|
| 43 | public : friend std::ostream& operator<< (std::ostream& output, |
---|
| 44 | morpheo::behavioural::configuration::Link_definition & x); |
---|
| 45 | |
---|
| 46 | }; |
---|
| 47 | |
---|
| 48 | }; // end namespace configuration |
---|
| 49 | }; // end namespace behavioural |
---|
| 50 | }; // end namespace morpheo |
---|
| 51 | |
---|
| 52 | #endif |
---|