SystemC 3.0.0
Accellera SystemC proof-of-concept library
sc_utils_ids.h
Go to the documentation of this file.
1/*****************************************************************************
2
3 Licensed to Accellera Systems Initiative Inc. (Accellera) under one or
4 more contributor license agreements. See the NOTICE file distributed
5 with this work for additional information regarding copyright ownership.
6 Accellera licenses this file to you under the Apache License, Version 2.0
7 (the "License"); you may not use this file except in compliance with the
8 License. You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15 implied. See the License for the specific language governing
16 permissions and limitations under the License.
17
18 *****************************************************************************/
19
20/*****************************************************************************
21
22 sc_utils_ids.h -- Report ids for the utils code.
23
24 Original Author: Martin Janssen, Synopsys, Inc., 2002-01-17
25
26 CHANGE LOG AT END OF FILE
27 *****************************************************************************/
28
29#ifndef SC_UTILS_IDS_H
30#define SC_UTILS_IDS_H
31
32// ----------------------------------------------------------------------------
33// Report ids (utils)
34//
35// Report ids in the range of 800-899.
36// ----------------------------------------------------------------------------
37
38#ifndef SC_DEFINE_MESSAGE
39#define SC_DEFINE_MESSAGE(id,unused1,unused2) \
40 namespace sc_core { extern SC_API const char id[]; }
41namespace sc_core {
42 extern SC_API const char SC_ID_REGISTER_ID_FAILED_[]; // in sc_report_handler.cpp
43}
44#endif
45
47 801, "string is too long")
49 802, "attempt to take front() on an empty list")
51 803, "attempt to take back() on an empty list")
53 804, "/IEEE_Std_1666/deprecated" )
55 805, "sc_vector::init called for non-empty vector" )
56// available message number 806
58 807, "sc_vector::bind called with empty range" )
60 808, "sc_vector::get_elements called for element type "
61 "not derived from sc_object" )
63 809, "attempt to insert into locked sc_vector" )
64
65/*****************************************************************************
66
67 MODIFICATION LOG - modifiers, enter your name, affiliation, date and
68 changes you are making here.
69
70 Name, Affiliation, Date:
71 Description of Modification:
72
73 Alex Riesen, Synopsys, Inc., 2003-02-02
74 ported to SystemC 2.1 exception reporting.
75
76 *****************************************************************************/
77
78// $Log: sc_utils_ids.h,v $
79// Revision 1.5 2011/08/26 20:46:20 acg
80// Andy Goodrich: moved the modification log to the end of the file to
81// eliminate source line number skew when check-ins are done.
82//
83// Revision 1.4 2011/02/18 20:38:44 acg
84// Andy Goodrich: Updated Copyright notice.
85//
86// Revision 1.3 2011/02/14 17:54:25 acg
87// Andy Goodrich: Philipp's addition of early bind checks.
88//
89// Revision 1.2 2010/12/07 20:10:19 acg
90// Andy Goodrich: messages for new sc_vector class.
91//
92// Revision 1.1.1.1 2006/12/15 20:20:06 acg
93// SystemC 2.3
94//
95// Revision 1.6 2006/01/25 00:31:27 acg
96// Andy Goodrich: Changed over to use a standard message id of
97// SC_ID_IEEE_1666_DEPRECATION for all deprecation messages.
98//
99// Revision 1.5 2006/01/24 22:01:35 acg
100// Andy Goodrich: consolidated all IEEE 1666 compliance messages to use the
101// SC_ID_IEEE_1666_DEPRECATION_ message type.
102//
103// Revision 1.4 2006/01/24 20:53:41 acg
104// Andy Goodrich: added warnings indicating that use of integer ids in reports
105// is deprecated. Added tracing/sc_trace_ids.h to message list.
106//
107// Revision 1.3 2006/01/13 18:53:11 acg
108// Andy Goodrich: Added $Log command so that CVS comments are reproduced in
109// the source.
110//
111
112#endif
113
114// Taf!
#define SC_API
Definition: sc_cmnhdr.h:148
#define SC_DEFINE_MESSAGE(id, unused1, unused2)
Definition: sc_utils_ids.h:39
SC_API const char SC_ID_IEEE_1666_DEPRECATION_[]
SC_API const char SC_ID_VECTOR_EMPLACE_LOCKED_[]
SC_API const char SC_ID_VECTOR_NONOBJECT_ELEMENTS_[]
SC_API const char SC_ID_BACK_ON_EMPTY_LIST_[]
class SC_API sc_object
Definition: sc_object.h:46
SC_API const char SC_ID_REGISTER_ID_FAILED_[]
Definition: sc_bit_ids.h:72
SC_API const char SC_ID_VECTOR_INIT_CALLED_TWICE_[]
SC_API const char SC_ID_FRONT_ON_EMPTY_LIST_[]
SC_API const char SC_ID_VECTOR_BIND_EMPTY_[]
SC_API const char SC_ID_STRING_TOO_LONG_[]