| 1 |
NAME SoSFUShort SoSUShort "" { |
| 2 |
field containing an unsigned short integer |
| 3 |
} |
| 4 |
|
| 5 |
INCLUDE fields/SoSFUShort.h |
| 6 |
|
| 7 |
DESC { |
| 8 |
A single-value field containing a short (16-bit) integer. |
| 9 |
\p |
| 10 |
\cSoSFUShorts\. are written to file in decimal, hexadecimal (beginning |
| 11 |
with '0x') or octal (beginning with '0') values. |
| 12 |
} |
| 13 |
ALSO { SoField, SoSField, SoMFUShort } |
| 14 |
METHOD "" static SoType getClassTypeId() {} |
| 15 |
METHOD "" virtual void getTypeId() const { |
| 16 |
Returns the type for this class or a particular object of this class. |
| 17 |
} |
| 18 |
METHOD Get short unsigned short getValue() const { |
| 19 |
Returns this field's value. |
| 20 |
} |
| 21 |
METHOD " " short unsigned short operator =(short unsigned short newValue) {} |
| 22 |
METHOD Set void setValue(short unsigned short newValue) { |
| 23 |
Sets this field to \anewValue\.. |
| 24 |
} |
| 25 |
METHOD IsEq int operator ==(const SoSFUShort &f) const {} |
| 26 |
METHOD IsNEq int operator !=(const SoSFUShort &f) const { |
| 27 |
Returns TRUE if \af\. is of the same type and has the same value as this |
| 28 |
field. |
| 29 |
} |