src/sysc/kernel/sc_lambda_friends.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002 
00003   The following code is derived, directly or indirectly, from the SystemC
00004   source code Copyright (c) 1996-2005 by all Contributors.
00005   All Rights reserved.
00006 
00007   The contents of this file are subject to the restrictions and limitations
00008   set forth in the SystemC Open Source License Version 2.4 (the "License");
00009   You may not use this file except in compliance with such restrictions and
00010   limitations. You may obtain instructions on how to receive a copy of the
00011   License at http://www.systemc.org/. Software distributed by Contributors
00012   under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF
00013   ANY KIND, either express or implied. See the License for the specific
00014   language governing rights and limitations under the License.
00015 
00016  *****************************************************************************/
00017 
00018 /*****************************************************************************
00019 
00020   sc_lambda_friends.h_ - Friends of Lambdas.
00021 
00022   Original Author: Stan Y. Liao, Synopsys, Inc.
00023 
00024  *****************************************************************************/
00025 
00026 /*****************************************************************************
00027 
00028   MODIFICATION LOG - modifiers, enter your name, affiliation, date and
00029   changes you are making here.
00030 
00031       Name, Affiliation, Date:
00032   Description of Modification:
00033 
00034  *****************************************************************************/
00035 
00036 /*---------------------------------------------------------------------------*/
00037 /*  NOTE: This header file is multiply included in sc_lambda.h               */
00038 /*---------------------------------------------------------------------------*/
00039 
00040 #ifdef SC_LAMBDA_H
00041 
00042 
00043 #define L_DECL1(op, rator, ty1, exp1)                                         \
00044     friend inline sc_lambda_ptr operator op( ty1 );
00045 
00046 #define L_DECL1SPEC(op, ty1, code)                                            \
00047     friend inline sc_lambda_ptr operator op( ty1 );
00048 
00049 #define L_DECL2(op, rator, ty1, ty2, exp1, exp2)                              \
00050     friend inline sc_lambda_ptr operator op( ty1, ty2 );
00051 
00052 #define L_DECL2SPEC(op, ty1, ty2, code)                                       \
00053     friend inline sc_lambda_ptr operator op( ty1, ty2 );
00054 
00055 #include "sysc/kernel/sc_lambda_exps.h"
00056 
00057 #undef L_DECL1
00058 #undef L_DECL1SPEC
00059 #undef L_DECL2
00060 #undef L_DECL2SPEC
00061 
00062 
00063 #endif

Generated on Wed Apr 25 13:53:27 2007 for SystemC by  doxygen 1.5.1