1SoSFBool(3IV)()                                                SoSFBool(3IV)()
2
3
4

NAME

6       SoSFBool — field containing a single boolean value
7

INHERITS FROM

9       SoField > SoSField > SoSFBool
10

SYNOPSIS

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

DESCRIPTION

49       A field containing a single boolean (true or false) value.
50
51       SoSFBools may be written to file  as  "0"  (representing  FALSE),  "1",
52       "TRUE", or "FALSE".
53

METHODS

55     static SoType       getClassTypeId()
56     virtual void        getTypeId() const
57          Returns  the  type  for  this  class  or a particular object of this
58          class.
59
60     SbBool              getValue() const
61          Returns this field's value.
62
63     SbBool              operator =(SbBool newValue)
64     void                setValue(SbBool newValue)
65          Sets this field to newValue.
66
67     int                 operator ==(const SoSFBool &f) const
68     int                 operator !=(const SoSFBool &f) const
69          Returns TRUE if f is of the same type and has the same value as this
70          field.
71
72

SEE ALSO

74       SoField, SoSField, SoMFBool
75
76
77
78
79                                                               SoSFBool(3IV)()
Impressum