00001 // Important note: this sourcefile was in full generated by the 00002 // Coin/scripts/templant script from the code in SFNodeAndEngine.tpl. 00003 00004 //$ BEGIN TEMPLATE SFNodeAndEngine(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_SOSFNODE_H 00026 #define COIN_SOSFNODE_H 00027 00028 #include <Inventor/fields/SoSField.h> 00029 #include <Inventor/fields/SoSubField.h> 00030 00031 class SoNode; 00032 00033 00034 class COIN_DLL_API SoSFNode : public SoSField { 00035 typedef SoSField inherited; 00036 00037 SO_SFIELD_HEADER(SoSFNode, 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 00048 // For accessing the readValue() and writeValue() methods. 00049 friend class SoMFNode; 00050 }; 00051 00052 #endif // !COIN_SOSFNODE_H 00053 //$ END TEMPLATE SFNodeAndEngine