00001 // Important note: this sourcefile was in full generated by the 00002 // Coin/scripts/templant script from the code in MFNodeAndEngine.tpl. 00003 00004 //$ BEGIN TEMPLATE MFNodeAndEngine(NODE, Node) 00005 00006 /**************************************************************************\ 00007 * 00008 * This file is part of the Coin 3D visualization library. 00009 * Copyright (C) 1998-2002 by Systems in Motion. All rights reserved. 00010 * 00011 * This library is free software; you can redistribute it and/or 00012 * modify it under the terms of the GNU Lesser General Public License 00013 * version 2.1 as published by the Free Software Foundation. See the 00014 * file LICENSE.LGPL at the root directory of the distribution for 00015 * more details. 00016 * 00017 * If you want to use Coin for applications not compatible with the 00018 * LGPL, please contact SIM to acquire a Professional Edition license. 00019 * 00020 * Systems in Motion, Prof Brochs gate 6, 7030 Trondheim, NORWAY 00021 * http://www.sim.no support@sim.no Voice: +47 22114160 Fax: +47 22207097 00022 * 00023 \**************************************************************************/ 00024 00025 #ifndef COIN_SOMFNODE_H 00026 #define COIN_SOMFNODE_H 00027 00028 #include <Inventor/fields/SoMField.h> 00029 #include <Inventor/fields/SoSubField.h> 00030 00031 class SoNode; 00032 00033 00034 class COIN_DLL_API SoMFNode : public SoMField { 00035 typedef SoMField inherited; 00036 00037 SO_MFIELD_HEADER(SoMFNode, SoNode *, SoNode *); 00038 00039 public: 00040 static void initClass(void); 00041 00042 virtual void fixCopy(SbBool copyconnections); 00043 virtual SbBool referencesCopy(void) const; 00044 00045 private: 00046 virtual void countWriteRefs(SoOutput * out) const; 00047 virtual void deleteValues(int start, int num = -1); 00048 virtual void insertSpace(int start, int num); 00049 }; 00050 00051 #endif // !COIN_SOMFNODE_H 00052 //$ END TEMPLATE MFNodeAndEngine