1SoSFShort(3IV)()                                              SoSFShort(3IV)()
2
3
4

NAME

6       SoSFShort — field containing a short integer
7

INHERITS FROM

9       SoField > SoSField > SoSFShort
10

SYNOPSIS

12       #include <Inventor/fields/SoSFShort.h>
13
14          Methods from class SoSFShort:
15
16     static SoType       getClassTypeId()
17     virtual void        getTypeId() const
18     short               getValue() const
19     short               operator =(short newValue)
20     void                setValue(short newValue)
21     int                 operator ==(const SoSFShort &f) const
22     int                 operator !=(const SoSFShort &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 short (16-bit) integer.
50
51       SoSFShorts are written to file as a single short integer value,  repre‐
52       sented  as  decimal, hexadecimal (beginning with '0x') or octal (begin‐
53       ning with '0') value.
54

METHODS

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

SEE ALSO

75       SoField, SoSField, SoMFShort, SoSFUShort, SoSFInt32
76
77
78
79
80                                                              SoSFShort(3IV)()
Impressum