00001 /*******************************************************************\ 00002 00003 SESAME project software license 00004 00005 Copyright (C) 2002 University of Amsterdam 00006 00007 This program is free software; you can redistribute it and/or 00008 modify it under the terms of the GNU General Public License 00009 as published by the Free Software Foundation; either version 2 00010 of the License, or (at your option) any later version. 00011 00012 This program is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 GNU General Public License for more details. 00016 00017 You should have received a copy of the GNU General Public License 00018 along with this program; if not, write to the Free Software 00019 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 00020 02111-1307, USA. 00021 00022 For information regarding the SESAME software project see 00023 http://sesamesim.sourceforge.net or email 00024 jcofflan@users.sourceforge.net 00025 00026 \*******************************************************************/ 00027 00028 #ifndef PNTYPEINFOGEN_INCLUDE_ONCE 00029 #define PNTYPEINFOGEN_INCLUDE_ONCE 00030 00031 #include <iostream> 00032 00041 #define CPP_LOADER_SUFFIX "_loader" 00042 #define CPP_USERDEF_SUFFIX "_userdefs.h" 00043 #define CPP_IMPL_SUFFIX "_stub.cpp" 00044 00045 class YMLNetwork; 00046 class YMLNode; 00047 class YMLPort; 00048 00049 /* Prototypes */ 00050 void dumpStandardHeader(std::ostream &stream); 00051 00052 void dumpCPPTypeImplementation(YMLNetwork *net, std::ostream &stream, 00053 const char *userInclude = 0); 00054 void dumpCPPTypeImplementationNetwork(YMLNetwork *net, std::ostream &stream); 00055 void dumpCPPTypeImplementationNode(YMLNode *node, std::ostream &stream); 00056 void dumpCPPTypeImplementationPort(YMLPort *port, std::ostream &stream); 00057 00058 #endif // PNTYPEINFOGEN_INCLUDE_ONCE 00059