Last change
on this file since 99 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.4 KB
|
Rev | Line | |
---|
[88] | 1 | #ifndef morpheo_behavioural_configuration_Parameter_affectation_h |
---|
| 2 | #define morpheo_behavioural_configuration_Parameter_affectation_h |
---|
| 3 | |
---|
| 4 | /* |
---|
| 5 | * $Id: Parameter_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 Parameter_affectation |
---|
| 23 | { |
---|
| 24 | // -----[ fields ]---------------------------------------------------- |
---|
| 25 | // Constant |
---|
| 26 | public : const std::string _name ; |
---|
| 27 | public : const std::string _value; |
---|
| 28 | public : bool _use ; |
---|
| 29 | |
---|
| 30 | // -----[ methods ]--------------------------------------------------- |
---|
| 31 | public : Parameter_affectation (std::string name, |
---|
| 32 | std::string value |
---|
| 33 | ); |
---|
| 34 | public : ~Parameter_affectation (); |
---|
| 35 | |
---|
| 36 | public : XML toXML (void); |
---|
| 37 | private : std::string print (uint32_t depth); |
---|
| 38 | public : friend std::ostream& operator<< (std::ostream& output, |
---|
| 39 | morpheo::behavioural::configuration::Parameter_affectation & x); |
---|
| 40 | }; |
---|
| 41 | |
---|
| 42 | }; // end namespace configuration |
---|
| 43 | }; // end namespace behavioural |
---|
| 44 | }; // end namespace morpheo |
---|
| 45 | |
---|
| 46 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.