00001 00002 /* --------------------------------------------------------------------------- 00003 00004 00005 This file is part of the ``node.printers'' 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_NODE_PRINTERS_PRINTER_SEXP_CORE_H__ 00041 #define __NUSMV_CORE_NODE_PRINTERS_PRINTER_SEXP_CORE_H__ 00042 00043 00044 #include "nusmv/core/node/printers/PrinterBase.h" /* fix this */ 00045 #include "nusmv/core/utils/utils.h" 00046 00053 typedef struct PrinterSexpCore_TAG* PrinterSexpCore_ptr; 00054 00061 #define PRINTER_SEXP_CORE(self) \ 00062 ((PrinterSexpCore_ptr) self) 00063 00069 #define PRINTER_SEXP_CORE_CHECK_INSTANCE(self) \ 00070 (nusmv_assert(PRINTER_SEXP_CORE(self) != PRINTER_SEXP_CORE(NULL))) 00071 00072 00073 00076 /*---------------------------------------------------------------------------*/ 00077 /* Function prototypes */ 00078 /*---------------------------------------------------------------------------*/ 00079 00088 PrinterSexpCore_ptr PrinterSexpCore_create(const NuSMVEnv_ptr env, 00089 const char* name); 00090 00091 00096 #endif /* __NUSMV_CORE_NODE_PRINTERS_PRINTER_SEXP_CORE_H__ */