SystemC  Recoding Infrastructure for SystemC v0.6.3 derived from Accellera SystemC 2.3.1
Accellera SystemC proof-of-concept library
sc_utils_ids.h
Go to the documentation of this file.
1 /*****************************************************************************
2 
3  The following code is derived, directly or indirectly, from the SystemC
4  source code Copyright (c) 1996-2014 by all Contributors.
5  All Rights reserved.
6 
7  The contents of this file are subject to the restrictions and limitations
8  set forth in the SystemC Open Source License (the "License");
9  You may not use this file except in compliance with such restrictions and
10  limitations. You may obtain instructions on how to receive a copy of the
11  License at http://www.accellera.org/. Software distributed by Contributors
12  under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF
13  ANY KIND, either express or implied. See the License for the specific
14  language governing rights and limitations under the License.
15 
16  *****************************************************************************/
17 
18 /*****************************************************************************
19 
20  sc_utils_ids.h -- Report ids for the utils code.
21 
22  Original Author: Martin Janssen, Synopsys, Inc., 2002-01-17
23 
24  CHANGE LOG AT END OF FILE
25  *****************************************************************************/
26 
27 #ifndef SC_UTILS_IDS_H
28 #define SC_UTILS_IDS_H
29 
30 // ----------------------------------------------------------------------------
31 // Report ids (utils)
32 //
33 // Report ids in the range of 800-899.
34 // ----------------------------------------------------------------------------
35 
36 #ifndef SC_DEFINE_MESSAGE
37 #define SC_DEFINE_MESSAGE(id,unused1,unused2) \
38  namespace sc_core { extern const char id[]; }
39 namespace sc_core {
40  extern const char SC_ID_REGISTER_ID_FAILED_[]; // in sc_report_handler.cpp
41 }
42 #endif
43 
44 SC_DEFINE_MESSAGE(SC_ID_STRING_TOO_LONG_,
45  801, "string is too long")
46 SC_DEFINE_MESSAGE(SC_ID_FRONT_ON_EMPTY_LIST_,
47  802, "attempt to take front() on an empty list")
48 SC_DEFINE_MESSAGE(SC_ID_BACK_ON_EMPTY_LIST_,
49  803, "attempt to take back() on an empty list")
50 SC_DEFINE_MESSAGE(SC_ID_IEEE_1666_DEPRECATION_,
51  804, "/IEEE_Std_1666/deprecated" )
52 SC_DEFINE_MESSAGE(SC_ID_VECTOR_INIT_CALLED_TWICE_,
53  805, "sc_vector::init has already been called" )
54 SC_DEFINE_MESSAGE(SC_ID_VECTOR_INIT_INVALID_CONTEXT_,
55  806, "sc_vector::init called from invalid object context" )
56 SC_DEFINE_MESSAGE(SC_ID_VECTOR_BIND_EMPTY_,
57  807, "sc_vector::bind called with empty range" )
58 SC_DEFINE_MESSAGE(SC_ID_VECTOR_NONOBJECT_ELEMENTS_,
59  808, "sc_vector::get_elements called for element type "
60  "not derived from sc_object" )
61 
62 /*****************************************************************************
63 
64  MODIFICATION LOG - modifiers, enter your name, affiliation, date and
65  changes you are making here.
66 
67  Name, Affiliation, Date:
68  Description of Modification:
69 
70  Alex Riesen, Synopsys, Inc., 2003-02-02
71  ported to SystemC 2.1 exception reporting.
72 
73  *****************************************************************************/
74 
75 // $Log: sc_utils_ids.h,v $
76 // Revision 1.5 2011/08/26 20:46:20 acg
77 // Andy Goodrich: moved the modification log to the end of the file to
78 // eliminate source line number skew when check-ins are done.
79 //
80 // Revision 1.4 2011/02/18 20:38:44 acg
81 // Andy Goodrich: Updated Copyright notice.
82 //
83 // Revision 1.3 2011/02/14 17:54:25 acg
84 // Andy Goodrich: Philipp's addition of early bind checks.
85 //
86 // Revision 1.2 2010/12/07 20:10:19 acg
87 // Andy Goodrich: messages for new sc_vector class.
88 //
89 // Revision 1.1.1.1 2006/12/15 20:20:06 acg
90 // SystemC 2.3
91 //
92 // Revision 1.6 2006/01/25 00:31:27 acg
93 // Andy Goodrich: Changed over to use a standard message id of
94 // SC_ID_IEEE_1666_DEPRECATION for all deprecation messages.
95 //
96 // Revision 1.5 2006/01/24 22:01:35 acg
97 // Andy Goodrich: consolidated all IEEE 1666 compliance messages to use the
98 // SC_ID_IEEE_1666_DEPRECATION_ message type.
99 //
100 // Revision 1.4 2006/01/24 20:53:41 acg
101 // Andy Goodrich: added warnings indicating that use of integer ids in reports
102 // is deprecated. Added tracing/sc_trace_ids.h to message list.
103 //
104 // Revision 1.3 2006/01/13 18:53:11 acg
105 // Andy Goodrich: Added $Log command so that CVS comments are reproduced in
106 // the source.
107 //
108 
109 #endif
110 
111 // Taf!
#define SC_DEFINE_MESSAGE(id, unused1, unused2)
attempt to take attempt to take back() on an empty list") SC_DEFINE_MESSAGE(SC_ID_IEEE_1666_DEPRECATION_
attempt to take front() on an empty list") SC_DEFINE_MESSAGE(SC_ID_BACK_ON_EMPTY_LIST_
const char SC_ID_REGISTER_ID_FAILED_[]
Definition: sc_bit_ids.h:70