- Timestamp:
- May 1, 2008, 6:48:45 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Parameters.h
r81 r82 44 44 45 45 public : bool have_error (void) { return (_error.length() != 0);}; 46 public : void error (std::string str) { _error += "[ ERROR ]<" + _component + "> " + str + "\n";}47 public : void warning (std::string str) { _warning += "[ WARNING ]<" + _component + "> " + str + "\n";}48 public : void information (std::string str) { _information += "[INFORMATION]<" + _component + "> " + str + "\n";}46 public : void error (std::string str) { _error += MSG_ERROR ; _error += " <" + _component + "> " + str + "\n";} 47 public : void warning (std::string str) { _warning += MSG_WARNING ; _warning += " <" + _component + "> " + str + "\n";} 48 public : void information (std::string str) { _information += MSG_INFORMATION; _information += " <" + _component + "> " + str + "\n";} 49 49 public : std::string print (void) { return _error + _warning + _information;}; 50 50 };
Note: See TracChangeset
for help on using the changeset viewer.