SoSFInt32 Class Reference
[Fields]

Field containing a int32_t integer. More...

#include <Inventor/fields/SoSFInt32.h>

Inheritance diagram for SoSFInt32:
SoSField SoField SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
const SoSFInt32operator= (const SoSFInt32 &f)
 SoSFInt32 ()
virtual ~SoSFInt32 ()
int32_t getValue () const
void setValue (int32_t newValue)
int32_t operator= (int32_t newValue)
int operator== (const SoSFInt32 &f) const
int operator!= (const SoSFInt32 &f) const
virtual size_t getValueSize () const

Static Public Member Functions

static SoType getClassTypeId ()

Detailed Description

Field containing a int32_t integer.

A field containing a single long (32-bit) integer.

SoSFInt32s are written to file as an integer in decimal, hexadecimal (beginning with '0x') or octal (beginning with '0') format.

SEE ALSO

SoField, SoSField, SoMFInt32, SoSFUInt32


Constructor & Destructor Documentation

SoSFInt32::SoSFInt32 (  ) 

Default constructor.

virtual SoSFInt32::~SoSFInt32 (  )  [virtual]

Destructor.


Member Function Documentation

static SoType SoSFInt32::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoSField.

virtual SoType SoSFInt32::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Implements SoTypedObject.

int32_t SoSFInt32::getValue (  )  const [inline]

Returns this field's value.

virtual size_t SoSFInt32::getValueSize (  )  const [inline, virtual]

Get size of the value.

Reimplemented from SoField.

int SoSFInt32::operator!= ( const SoSFInt32 f  )  const [inline]

Returns FALSE if otherField is of the same type and has the same value as this field.

Reimplemented from SoField.

int32_t SoSFInt32::operator= ( int32_t  newValue  )  [inline]

Sets this field to newValue.

const SoSFInt32& SoSFInt32::operator= ( const SoSFInt32 f  ) 

Copy from another field of same type.

int SoSFInt32::operator== ( const SoSFInt32 f  )  const

Returns TRUE if otherField is of the same type and has the same value as this field.

Reimplemented from SoField.

void SoSFInt32::setValue ( int32_t  newValue  ) 

Sets this field to newValue.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/