1SoSField(3IV)()                                                SoSField(3IV)()
2
3
4

NAME

6       SoSField — abstract base class for all single-value fields
7

INHERITS FROM

9       SoField > SoSField
10

SYNOPSIS

12       #include <Inventor/fields/SoField.h>
13
14          Methods from class SoSField:
15
16     static SoType       getClassTypeId()
17
18          Methods from class SoField:
19
20     void                setIgnored(SbBool ignore)
21     SbBool              isIgnored() const
22     SbBool              isDefault() const
23     virtual SoType      getTypeId() const
24     virtual SbBool      isOfType(SoType type) const
25     SbBool              set(const char *valueString)
26     void                get(SbString &valueString)
27     int                 operator ==(const SoField &f) const
28     int                 operator !=(const SoField &f) const
29     void                touch()
30     SbBool              connectFrom(SoField *fromField)
31     SbBool              connectFrom(SoEngineOutput *fromEngine)
32     void                disconnect()
33     SbBool              isConnected() const
34     SbBool              isConnectedFromField() const
35     SbBool              getConnectedField(SoField *&writingField) const
36     SbBool              isConnectedFromEngine() const
37     SbBool              getConnectedEngine(SoEngineOutput     *&engineOutput)
38                              const
39     void                enableConnection(SbBool flag)
40     SbBool              isConnectionEnabled() const
41     int                 getForwardConnections(SoFieldList &list) const
42     SoFieldContainer *  getContainer() const
43
44

DESCRIPTION

46       Each class derived from SoSField begins with an SoSF  prefix  and  con‐
47       tains  one  value  of  a  particular type. Each has setValue() and get‐
48       Value() methods that are used to change or access this value. In  addi‐
49       tion,  some  field  classes  have extra convenience routines that allow
50       values to be set or retrieved in other related formats (see below).
51
52       In addition to setValue(), all single-value  fields  overload  the  "="
53       assignment operator to set the field value from the correct datatype or
54       from another field instance of the same type.
55
56       The value of a single-value field is written to file in a format depen‐
57       dent on the field type; see the subclass man pages for details.
58
59       A  field  that  is ignored has a tilde (~) either in place of the value
60       (if the actual value is the default) or after it (otherwise).
61

METHODS

63     static SoType       getClassTypeId()
64          Return the type identifier for this field class.
65
66

SEE ALSO

68       SoField, SoMField
69
70
71
72
73                                                               SoSField(3IV)()
Impressum