Coin Logo http://www.coin3d.org/
http://www.kongsberg.com/kogt/

SoSFNode.h
1 // Important note: this sourcefile was in full generated by the
2 // Coin/scripts/templant script from the code in SFNodeAndEngine.tpl.
3 
4 //$ BEGIN TEMPLATE SFNodeAndEngine(NODE, Node)
5 
6 /**************************************************************************\
7  * Copyright (c) Kongsberg Oil & Gas Technologies AS
8  * All rights reserved.
9  *
10  * Redistribution and use in source and binary forms, with or without
11  * modification, are permitted provided that the following conditions are
12  * met:
13  *
14  * Redistributions of source code must retain the above copyright notice,
15  * this list of conditions and the following disclaimer.
16  *
17  * Redistributions in binary form must reproduce the above copyright
18  * notice, this list of conditions and the following disclaimer in the
19  * documentation and/or other materials provided with the distribution.
20  *
21  * Neither the name of the copyright holder nor the names of its
22  * contributors may be used to endorse or promote products derived from
23  * this software without specific prior written permission.
24  *
25  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
26  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
27  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
28  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
29  * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
30  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
31  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
32  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
33  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
34  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
35  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36 \**************************************************************************/
37 
38 #ifndef COIN_SOSFNODE_H
39 #define COIN_SOSFNODE_H
40 
41 #include <Inventor/fields/SoSField.h>
42 #include <Inventor/fields/SoSubField.h>
43 
44 class SoNode;
45 
46 
47 class COIN_DLL_API SoSFNode : public SoSField {
48  typedef SoSField inherited;
49 
50  SO_SFIELD_HEADER(SoSFNode, SoNode *, SoNode *);
51 
52 public:
53  static void initClass(void);
54 
55  virtual void fixCopy(SbBool copyconnections);
56  virtual SbBool referencesCopy(void) const;
57 
58 private:
59  virtual void countWriteRefs(SoOutput * out) const;
60 
61  // For accessing the readValue() and writeValue() methods.
62  friend class SoMFNode;
63 };
64 
65 #endif // !COIN_SOSFNODE_H
66 //$ END TEMPLATE SFNodeAndEngine
The SoOutput class is an abstraction of an output stream.SoOutput offers the ability to write basic t...
Definition: SoOutput.h:51
The SoField class is the top-level abstract base class for fields.Fields is the mechanism used throug...
Definition: SoField.h:47
The SoSField class is the base class for fields which contains only a single value.All field types which should always contain only a single member value inherits this class. SoSField is an abstract class.
Definition: SoSField.h:38
The SoNode class is the base class for nodes used in scene graphs.Coin is a retained mode 3D visualiz...
Definition: SoNode.h:56
The SoSFNode class is a container for a single node.This field container stores a pointer to a Coin n...
Definition: SoSFNode.h:47
virtual void countWriteRefs(SoOutput *out) const
Definition: SoField.cpp:2071
The SoMFNode class is a container for nodes.This field container stores an array of pointers to nodes...
Definition: SoMFNode.h:41
virtual void fixCopy(SbBool copyconnections)
Definition: SoField.cpp:1719
virtual SbBool referencesCopy(void) const
Definition: SoField.cpp:1734

Copyright © by Kongsberg Oil & Gas Technologies. All rights reserved.

Generated for Coin by Doxygen