00001 00002 /* --------------------------------------------------------------------------- 00003 00004 00005 This file is part of the ``enc.base'' package of NuSMV version 2. 00006 Copyright (C) 2004 by FBK-irst. 00007 00008 NuSMV version 2 is free software; you can redistribute it and/or 00009 modify it under the terms of the GNU Lesser General Public 00010 License as published by the Free Software Foundation; either 00011 version 2 of the License, or (at your option) any later version. 00012 00013 NuSMV version 2 is distributed in the hope that it will be useful, 00014 but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00016 Lesser General Public License for more details. 00017 00018 You should have received a copy of the GNU Lesser General Public 00019 License along with this library; if not, write to the Free Software 00020 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. 00021 00022 For more information on NuSMV see <http://nusmv.fbk.eu> 00023 or email to <nusmv-users@fbk.eu>. 00024 Please report bugs to <nusmv-users@fbk.eu>. 00025 00026 To contact the NuSMV development board, email to <nusmv@fbk.eu>. 00027 00028 -----------------------------------------------------------------------------*/ 00029 00040 #ifndef __NUSMV_CORE_ENC_BASE_BOOL_ENC_CLIENT_PRIVATE_H__ 00041 #define __NUSMV_CORE_ENC_BASE_BOOL_ENC_CLIENT_PRIVATE_H__ 00042 00043 00044 #include "nusmv/core/enc/base/BoolEncClient.h" 00045 00046 #include "nusmv/core/enc/base/BaseEnc.h" 00047 #include "nusmv/core/enc/base/BaseEnc_private.h" 00048 #include "nusmv/core/enc/bool/BoolEnc_private.h" 00049 00050 #include "nusmv/core/compile/symb_table/SymbTable.h" 00051 00052 #include "nusmv/core/utils/utils.h" 00053 00054 00064 typedef struct BoolEncClient_TAG 00065 { 00066 /* this MUST stay on the top */ 00067 INHERITS_FROM(BaseEnc); 00068 00069 /* -------------------------------------------------- */ 00070 /* Private members */ 00071 /* -------------------------------------------------- */ 00072 BoolEnc_ptr bool_enc; 00073 00074 /* -------------------------------------------------- */ 00075 /* Virtual methods */ 00076 /* -------------------------------------------------- */ 00077 00078 } BoolEncClient; 00079 00080 00081 00082 /* ---------------------------------------------------------------------- */ 00083 /* Private methods to be used by derivated and friend classes only */ 00084 /* ---------------------------------------------------------------------- */ 00089 void bool_enc_client_init(BoolEncClient_ptr self, 00090 SymbTable_ptr symb_table, 00091 BoolEnc_ptr bool_enc); 00092 00097 void bool_enc_client_deinit(BoolEncClient_ptr self); 00098 00099 void bool_enc_client_commit_layer(BaseEnc_ptr base_enc, 00100 const char* layer_name); 00101 00102 void bool_enc_client_remove_layer(BaseEnc_ptr base_enc, 00103 const char* layer_name); 00104 00105 #endif /* __NUSMV_CORE_ENC_BASE_BOOL_ENC_CLIENT_PRIVATE_H__ */