source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Select/Select_Priority_Fixed/src/Parameters_msg_error.cpp @ 75

Last change on this file since 75 was 75, checked in by rosiere, 16 years ago

Update all component (except front_end) to :

  • new statistics model
  • no namespace std
File size: 1.1 KB
RevLine 
[10]1/*
2 * $Id$
3 *
4 * [ Description ]
5 *
6 */
7
[15]8#include "Behavioural/Generic/Select/Select_Priority_Fixed/include/Parameters.h"
9#include "Behavioural/Generic/Select/Select_Priority_Fixed/include/Types.h"
[10]10#include <sstream>
11
12namespace morpheo                    {
13namespace behavioural {
14namespace generic {
15namespace select {
[15]16namespace select_priority_fixed {
[10]17
18
[75]19  std::string Parameters::msg_error(void)
[10]20  {
[15]21    log_printf(FUNC,Select_Priority_Fixed,"msg_error","Begin");
[10]22
[75]23    std::string msg = "";
[10]24
25    if ((_encoding_one_hot or _encoding_compact) == false)
26      {
27        msg += "  - you must select a less one encoding\n";
28        msg += "    * encoding_one_hot                : " + toString(_encoding_one_hot) + "\n";
29        msg += "    * encoding_compact                : " + toString(_encoding_compact) + "\n";
30      }
31
[40]32    log_printf(FUNC,Select_Priority_Fixed,"msg_error","End");
33
[10]34    return msg;
35  };
36
[15]37}; // end namespace select_priority_fixed
[10]38}; // end namespace select
39}; // end namespace generic
40}; // end namespace behavioural
41}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.