SystemC  Recoding Infrastructure for SystemC v0.6.3 derived from Accellera SystemC 2.3.1
Accellera SystemC proof-of-concept library
sc_int_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_int_ids.h -- Report ids for the datatypes/int code.
21 
22  Original Author: Martin Janssen, Synopsys, Inc., 2002-01-17
23 
24  *****************************************************************************/
25 
26 /*****************************************************************************
27 
28  MODIFICATION LOG - modifiers, enter your name, affiliation, date and
29  changes you are making here.
30 
31  Name, Affiliation, Date:
32  Description of Modification:
33 
34  *****************************************************************************/
35 
36 // $Log: sc_int_ids.h,v $
37 // Revision 1.2 2011/02/18 20:19:15 acg
38 // Andy Goodrich: updating Copyright notice.
39 //
40 // Revision 1.1.1.1 2006/12/15 20:20:05 acg
41 // SystemC 2.3
42 //
43 // Revision 1.3 2006/01/13 18:49:31 acg
44 // Added $Log command so that CVS check in comments are reproduced in the
45 // source.
46 //
47 
48 #ifndef SC_INT_IDS_H
49 #define SC_INT_IDS_H
50 
51 
52 #include "sysc/utils/sc_report.h"
53 
54 
55 // ----------------------------------------------------------------------------
56 // Report ids (datatypes/int)
57 //
58 // Report ids in the range of 400-499.
59 // ----------------------------------------------------------------------------
60 
61 #ifndef SC_DEFINE_MESSAGE
62 #define SC_DEFINE_MESSAGE(id,unused1,unused2) \
63  namespace sc_core { extern const char id[]; }
64 extern const char SC_ID_REGISTER_ID_FAILED_[]; // in sc_report_handler.cpp
65 #endif
66 
67 
68 SC_DEFINE_MESSAGE( SC_ID_INIT_FAILED_, 400, "initialization failed" )
69 SC_DEFINE_MESSAGE( SC_ID_ASSIGNMENT_FAILED_, 401, "assignment failed" )
70 SC_DEFINE_MESSAGE( SC_ID_OPERATION_FAILED_, 402, "operation failed" )
71 SC_DEFINE_MESSAGE( SC_ID_CONVERSION_FAILED_, 403, "conversion failed" )
72 
73 
74 
75 
76 #endif
77 
78 // Taf!
const char SC_ID_REGISTER_ID_FAILED_[]
#define SC_DEFINE_MESSAGE(id, unused1, unused2)