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 const char id[]; }
41namespace sc_core {
42    extern const char SC_ID_REGISTER_ID_FAILED_[]; // in sc_report_handler.cpp
43}
44#endif
45
46SC_DEFINE_MESSAGE(SC_ID_STRING_TOO_LONG_,
47		  801, "string is too long")
48SC_DEFINE_MESSAGE(SC_ID_FRONT_ON_EMPTY_LIST_,
49		  802, "attempt to take front() on an empty list")
50SC_DEFINE_MESSAGE(SC_ID_BACK_ON_EMPTY_LIST_,
51		  803, "attempt to take back() on an empty list")
52SC_DEFINE_MESSAGE(SC_ID_IEEE_1666_DEPRECATION_,
53		  804, "/IEEE_Std_1666/deprecated" )
54SC_DEFINE_MESSAGE(SC_ID_VECTOR_INIT_CALLED_TWICE_,
55                  805, "sc_vector::init has already been called" )
56SC_DEFINE_MESSAGE(SC_ID_VECTOR_INIT_INVALID_CONTEXT_,
57                  806, "sc_vector::init called from invalid object context" )
58SC_DEFINE_MESSAGE(SC_ID_VECTOR_BIND_EMPTY_,
59                  807, "sc_vector::bind called with empty range" )
60SC_DEFINE_MESSAGE(SC_ID_VECTOR_NONOBJECT_ELEMENTS_,
61                  808, "sc_vector::get_elements called for element type "
62                       "not derived from sc_object" )
63
64/*****************************************************************************
65
66  MODIFICATION LOG - modifiers, enter your name, affiliation, date and
67  changes you are making here.
68
69      Name, Affiliation, Date:
70  Description of Modification:
71
72  Alex Riesen, Synopsys, Inc., 2003-02-02
73  ported to SystemC 2.1 exception reporting.
74
75 *****************************************************************************/
76
77// $Log: sc_utils_ids.h,v $
78// Revision 1.5  2011/08/26 20:46:20  acg
79//  Andy Goodrich: moved the modification log to the end of the file to
80//  eliminate source line number skew when check-ins are done.
81//
82// Revision 1.4  2011/02/18 20:38:44  acg
83//  Andy Goodrich: Updated Copyright notice.
84//
85// Revision 1.3  2011/02/14 17:54:25  acg
86//  Andy Goodrich: Philipp's addition of early bind checks.
87//
88// Revision 1.2  2010/12/07 20:10:19  acg
89// Andy Goodrich: messages for new sc_vector class.
90//
91// Revision 1.1.1.1  2006/12/15 20:20:06  acg
92// SystemC 2.3
93//
94// Revision 1.6  2006/01/25 00:31:27  acg
95//  Andy Goodrich: Changed over to use a standard message id of
96//  SC_ID_IEEE_1666_DEPRECATION for all deprecation messages.
97//
98// Revision 1.5  2006/01/24 22:01:35  acg
99//  Andy Goodrich: consolidated all IEEE 1666 compliance messages to use the
100//  SC_ID_IEEE_1666_DEPRECATION_ message type.
101//
102// Revision 1.4  2006/01/24 20:53:41  acg
103// Andy Goodrich: added warnings indicating that use of integer ids in reports
104// is deprecated. Added tracing/sc_trace_ids.h to message list.
105//
106// Revision 1.3  2006/01/13 18:53:11  acg
107// Andy Goodrich: Added $Log command so that CVS comments are reproduced in
108// the source.
109//
110
111#endif
112
113// Taf!
114