SystemC  2.3.2
Accellera SystemC proof-of-concept library
sc_int_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_int_ids.h -- Report ids for the datatypes/int code.
23 */
32 /*****************************************************************************
33 
34  MODIFICATION LOG - modifiers, enter your name, affiliation, date and
35  changes you are making here.
36 
37  Name, Affiliation, Date:
38  Description of Modification:
39 
40  *****************************************************************************/
41 
42 // $Log: sc_int_ids.h,v $
43 // Revision 1.2 2011/02/18 20:19:15 acg
44 // Andy Goodrich: updating Copyright notice.
45 //
46 // Revision 1.1.1.1 2006/12/15 20:20:05 acg
47 // SystemC 2.3
48 //
49 // Revision 1.3 2006/01/13 18:49:31 acg
50 // Added $Log command so that CVS check in comments are reproduced in the
51 // source.
52 //
53 
54 #ifndef SC_INT_IDS_H
55 #define SC_INT_IDS_H
56 
57 
58 #include "sysc/utils/sc_report.h"
59 
60 
67 #ifndef SC_DEFINE_MESSAGE
68 
69 #define SC_DEFINE_MESSAGE(id,unused1,unused2) \
70  namespace sc_core { extern SC_API const char id[]; }
71 extern SC_API const char SC_ID_REGISTER_ID_FAILED_[]; // in sc_report_handler.cpp
72 #endif
73 
74 
75 SC_DEFINE_MESSAGE( SC_ID_INIT_FAILED_, 400, "initialization failed" )
76 SC_DEFINE_MESSAGE( SC_ID_ASSIGNMENT_FAILED_, 401, "assignment failed" )
77 SC_DEFINE_MESSAGE( SC_ID_OPERATION_FAILED_, 402, "operation failed" )
78 SC_DEFINE_MESSAGE( SC_ID_CONVERSION_FAILED_, 403, "conversion failed" )
79 
80 
81 
82 
83 #endif
84 
85 // Taf!
Run-time logging and reporting facilities.
SC_API const char SC_ID_REGISTER_ID_FAILED_[]
#define SC_API
Definition: sc_cmnhdr.h:168
#define SC_DEFINE_MESSAGE(id, unused1, unused2)
Definition: sc_int_ids.h:69