source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Configuration/include/Parameter_definition.h @ 88

Last change on this file since 88 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: 2.1 KB
Line 
1#ifndef morpheo_behavioural_configuration_Parameter_definition_h
2#define morpheo_behavioural_configuration_Parameter_definition_h
3
4/*
5 * $Id: Parameter_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
18namespace morpheo {
19namespace behavioural {
20namespace configuration {
21
22
23  class Parameter_definition
24  {
25    // -----[ fields ]----------------------------------------------------
26    // Constant
27  public   : const std::string _name       ;
28  public   : const std::string _min        ;
29  public   : const std::string _max        ;
30  public   : const std::string _step       ;
31  public   : const std::string _default    ;
32  public   : const std::string _level      ;
33  public   : const std::string _description;
34
35    // -----[ methods ]---------------------------------------------------
36  public   :                      Parameter_definition  (std::string name         ,
37                                                         std::string min          ,
38                                                         std::string max          ,
39                                                         std::string step         ,
40                                                         std::string value_default,
41                                                         std::string level        ,
42                                                         std::string description  );
43  public   :                     ~Parameter_definition ();
44
45  public   : void                 test                 (std::string x);
46
47  public   : XML                  toXML                (void);
48  private  : std::string          print                (uint32_t depth);
49  public   : friend std::ostream& operator<<           (std::ostream& output,
50                                                        morpheo::behavioural::configuration::Parameter_definition & x);
51
52  };
53
54}; // end namespace configuration
55}; // end namespace behavioural
56}; // end namespace morpheo             
57
58#endif
Note: See TracBrowser for help on using the repository browser.