# SoSFNode.h

    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-2003 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 General Public License
    00013  *  ("GPL") version 2 as published by the Free Software Foundation.
    00014  *  See the file LICENSE.GPL at the root directory of this source
    00015  *  distribution for additional information about the GNU GPL.
    00016  *
    00017  *  For using Coin with software that can not be combined with the GNU
    00018  *  GPL, and for taking advantage of the additional benefits of our
    00019  *  support services, please contact Systems in Motion about acquiring
    00020  *  a Coin Professional Edition License.
    00021  *
    00022  *  See <URL:http://www.coin3d.org> for  more information.
    00023  *
    00024  *  Systems in Motion, Teknobyen, Abels Gate 5, 7030 Trondheim, NORWAY.
    00025  *  <URL:http://www.sim.no>.
    00026  *
    00027 \**************************************************************************/
    00028
    00029 #ifndef COIN_SOSFNODE_H
    00030 #define COIN_SOSFNODE_H
    00031
    00032 #include <Inventor/fields/SoSField.h>
    00033 #include <Inventor/fields/SoSubField.h>
    00034
    00035 class SoNode;
    00036
    00037
    00038 class COIN_DLL_API SoSFNode : public SoSField {
    00039   typedef SoSField inherited;
    00040
    00041   SO_SFIELD_HEADER(SoSFNode, SoNode *, SoNode *);
    00042
    00043 public:
    00044   static void initClass(void);
    00045
    00046   virtual void fixCopy(SbBool copyconnections);
    00047   virtual SbBool referencesCopy(void) const;
    00048
    00049 private:
    00050   virtual void countWriteRefs(SoOutput * out) const;
    00051
    00052   // For accessing the readValue() and writeValue() methods.
    00053   friend class SoMFNode;
    00054 };
    00055
    00056 #endif // !COIN_SOSFNODE_H
    00057 //$ END TEMPLATE SFNodeAndEngine