00001 /***************************************************************************** 00002 00003 The following code is derived, directly or indirectly, from the SystemC 00004 source code Copyright (c) 1996-2005 by all Contributors. 00005 All Rights reserved. 00006 00007 The contents of this file are subject to the restrictions and limitations 00008 set forth in the SystemC Open Source License Version 2.4 (the "License"); 00009 You may not use this file except in compliance with such restrictions and 00010 limitations. You may obtain instructions on how to receive a copy of the 00011 License at http://www.systemc.org/. Software distributed by Contributors 00012 under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF 00013 ANY KIND, either express or implied. See the License for the specific 00014 language governing rights and limitations under the License. 00015 00016 *****************************************************************************/ 00017 00018 /***************************************************************************** 00019 00020 sc_utils_ids.h -- Report ids for the utils code. 00021 00022 Original Author: Martin Janssen, Synopsys, Inc., 2002-01-17 00023 00024 *****************************************************************************/ 00025 00026 /***************************************************************************** 00027 00028 MODIFICATION LOG - modifiers, enter your name, affiliation, date and 00029 changes you are making here. 00030 00031 Name, Affiliation, Date: 00032 Description of Modification: 00033 00034 Alex Riesen, Synopsys, Inc., 2003-02-02 00035 ported to SystemC 2.1 exception reporting. 00036 00037 *****************************************************************************/ 00038 00039 #ifndef SC_UTILS_IDS_H 00040 #define SC_UTILS_IDS_H 00041 00042 // ---------------------------------------------------------------------------- 00043 // Report ids (utils) 00044 // 00045 // Report ids in the range of 800-899. 00046 // ---------------------------------------------------------------------------- 00047 00048 #ifndef SC_DEFINE_MESSAGE 00049 #define SC_DEFINE_MESSAGE(id,unused1,unused2) \ 00050 namespace sc_core { extern const char id[]; } 00051 namespace sc_core { 00052 extern const char SC_ID_REGISTER_ID_FAILED_[]; // in sc_report_handler.cpp 00053 } 00054 #endif 00055 00056 SC_DEFINE_MESSAGE(SC_ID_STRING_TOO_LONG_, 00057 801, "string is too long") 00058 SC_DEFINE_MESSAGE(SC_ID_FRONT_ON_EMPTY_LIST_, 00059 802, "attempt to take front() on an empty list") 00060 SC_DEFINE_MESSAGE(SC_ID_BACK_ON_EMPTY_LIST_, 00061 803, "attempt to take back() on an empty list") 00062 00063 00064 #endif 00065 00066 // Taf!
1.5.1