1 #ifndef COIN_SOFIELDCONTAINER_H 2 #define COIN_SOFIELDCONTAINER_H 36 #include <Inventor/misc/SoBase.h> 49 static void cleanupClass(
void);
51 void setToDefaults(
void);
52 SbBool hasDefaultValues(
void)
const;
56 SbBool copyconnections = FALSE);
58 SbBool
set(
const char *
const fielddata);
66 SbBool getFieldName(
const SoField *
const field,
SbName & name)
const;
68 SbBool enableNotify(
const SbBool flag);
69 SbBool isNotifyEnabled(
void)
const;
71 SbBool
set(
const char * fielddata,
SoInput * input);
76 virtual SbBool validateNewFieldValue(
SoField * field,
void * newval);
79 virtual void writeInstance(
SoOutput * out);
81 SbBool getIsBuiltIn(
void)
const;
82 virtual const SoFieldData * getFieldData(
void)
const;
85 SbBool copyconnections);
88 static void initCopyDict(
void);
93 const SbBool copyconnections);
94 static void copyDone(
void);
96 virtual void getFieldsMemorySize(
size_t & managed,
size_t & unmanaged)
const;
98 void setUserData(
void * userdata)
const;
99 void * getUserData(
void)
const;
109 static SoType classTypeId;
114 #endif // !COIN_SOFIELDCONTAINER_H The SoBase class is the top-level superclass for a number of class-hierarchies.
Definition: SoBase.h:45
The SoOutput class is an abstraction of an output stream.
Definition: SoOutput.h:51
The SoFieldContainer class is a base class for all classes that contain fields.
Definition: SoFieldContainer.h:43
The SoField class is the top-level abstract base class for fields.
Definition: SoField.h:47
virtual void notify(SoNotList *l)
Definition: SoBase.cpp:799
virtual void addWriteReference(SoOutput *out, SbBool isfromfield=FALSE)
Definition: SoBase.cpp:895
virtual SbBool readInstance(SoInput *input, unsigned short flags)=0
static void initClass(void)
Sets up initialization for data common to all instances of this class, like submitting necessary info...
Definition: SoBase.cpp:348
static SoType getClassTypeId(void)
This static method returns the SoType object associated with objects of this class.
Definition: SoBase.cpp:632
The SoFieldData class is a container for a prototype set of fields.
Definition: SoFieldData.h:48
SbBool isBuiltIn
Definition: SoFieldContainer.h:106
The SoFieldList class is a container for pointers to SoField objects.
Definition: SoFieldList.h:40
The SbString class is a string class with convenience functions for string operations.
Definition: SbString.h:52
The SoNotList class is a list of SoNotRec notification records.
Definition: SoNotification.h:43
The SoType class is the basis for the run-time type system in Coin.
Definition: SoType.h:59
The SbName class stores strings by reference.
Definition: SbName.h:40