Open Inventor Release 2024.1.3
 
Loading...
Searching...
No Matches
SoSFFieldContainer.h
1/*=======================================================================
2 *** THE CONTENT OF THIS WORK IS PROPRIETARY TO FEI S.A.S, (FEI S.A.S.), ***
3 *** AND IS DISTRIBUTED UNDER A LICENSE AGREEMENT. ***
4 *** ***
5 *** REPRODUCTION, DISCLOSURE, OR USE, IN WHOLE OR IN PART, OTHER THAN AS ***
6 *** SPECIFIED IN THE LICENSE ARE NOT TO BE UNDERTAKEN EXCEPT WITH PRIOR ***
7 *** WRITTEN AUTHORIZATION OF FEI S.A.S. ***
8 *** ***
9 *** RESTRICTED RIGHTS LEGEND ***
10 *** USE, DUPLICATION, OR DISCLOSURE BY THE GOVERNMENT OF THE CONTENT OF THIS ***
11 *** WORK OR RELATED DOCUMENTATION IS SUBJECT TO RESTRICTIONS AS SET FORTH IN ***
12 *** SUBPARAGRAPH (C)(1) OF THE COMMERCIAL COMPUTER SOFTWARE RESTRICTED RIGHT ***
13 *** CLAUSE AT FAR 52.227-19 OR SUBPARAGRAPH (C)(1)(II) OF THE RIGHTS IN ***
14 *** TECHNICAL DATA AND COMPUTER SOFTWARE CLAUSE AT DFARS 52.227-7013. ***
15 *** ***
16 *** COPYRIGHT (C) 1996-2014 BY FEI S.A.S, ***
17 *** BORDEAUX, FRANCE ***
18 *** ALL RIGHTS RESERVED ***
19**=======================================================================*/
20/*=======================================================================
21** Author : VSG (MMM YYYY)
22**=======================================================================*/
23#ifndef _SO_SF_FIELDCONTAINER_
24#define _SO_SF_FIELDCONTAINER_
25
27
28#include <Inventor/fields/SoSubField.h>
29
31
32 // Use standard field stuff
34
35private:
36 static void initClass();
37 static void exitClass();
38
39 // Update a copied field to use the copy of the node if there is one
40 virtual void fixCopy(SbBool copyConnections);
41
42 // Override this to also check the stored node
43 virtual SbBool referencesCopy() const;
44
45 private:
46 // Override this to maintain write-references in node
47 virtual void countWriteRefs(SoOutput *out) const;
48
49 // Changes value in field without doing other notification stuff.
50 // Keeps track of references and auditors.
51 void setVal(SoFieldContainer *newValue);
52
53};
54
55#endif // _SO_SF_FIELDCONTAINER_
56
57
58
59
Abstract base class for objects that contain fields.
Used to write Open Inventor data files.
Definition SoOutput.h:186
Abstract base class for all single-value fields.
Definition SoSField.h:93
int SbBool
Boolean type.
Definition SbBase.h:87