[112] | 1 | #ifndef morpheo_behavioural_generic_comparator_Parameters_h |
---|
| 2 | #define morpheo_behavioural_generic_comparator_Parameters_h |
---|
| 3 | |
---|
| 4 | /* |
---|
| 5 | * $Id: Parameters.h 113 2009-04-14 18:39:12Z rosiere $ |
---|
| 6 | * |
---|
| 7 | * [ Description ] |
---|
| 8 | * |
---|
| 9 | */ |
---|
| 10 | |
---|
| 11 | #include "Behavioural/include/Parameters.h" |
---|
| 12 | #include "Behavioural/Generic/Comparator/include/Types.h" |
---|
| 13 | #include "Common/include/Debug.h" |
---|
| 14 | |
---|
| 15 | namespace morpheo { |
---|
| 16 | namespace behavioural { |
---|
| 17 | namespace generic { |
---|
| 18 | namespace comparator { |
---|
| 19 | |
---|
| 20 | |
---|
| 21 | class Parameters : public morpheo::behavioural::Parameters |
---|
| 22 | { |
---|
| 23 | //-----[ fields ]------------------------------------------------------------ |
---|
| 24 | public : uint32_t _size_data; |
---|
| 25 | public : bool _is_signed; |
---|
| 26 | public : Tcomparator_scheme_t _type; |
---|
| 27 | |
---|
[113] | 28 | public : int64_t _extends; |
---|
| 29 | public : int64_t _mask_sign; |
---|
| 30 | |
---|
[112] | 31 | //-----[ methods ]----------------------------------------------------------- |
---|
| 32 | public : Parameters (uint32_t size_data, |
---|
| 33 | bool is_signed, |
---|
| 34 | Tcomparator_scheme_t type , |
---|
| 35 | bool is_toplevel=false); |
---|
| 36 | //public : Parameters (Parameters & param) ; |
---|
| 37 | public : ~Parameters (void); |
---|
| 38 | |
---|
| 39 | public : void copy (void); |
---|
| 40 | |
---|
| 41 | public : Parameters_test msg_error (void); |
---|
| 42 | |
---|
| 43 | public : std::string print (uint32_t depth); |
---|
| 44 | public : friend std::ostream& operator<< (std::ostream& output_stream, |
---|
| 45 | morpheo::behavioural::generic::comparator::Parameters & x); |
---|
| 46 | }; |
---|
| 47 | |
---|
| 48 | }; // end namespace comparator |
---|
| 49 | }; // end namespace generic |
---|
| 50 | |
---|
| 51 | }; // end namespace behavioural |
---|
| 52 | }; // end namespace morpheo |
---|
| 53 | |
---|
| 54 | #endif |
---|