SoSFBool Class Reference
[Fields]

Field containing a single Boolean value. More...

#include <Inventor/fields/SoSFBool.h>

Inheritance diagram for SoSFBool:
SoSField SoField SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
const SoSFBooloperator= (const SoSFBool &f)
 SoSFBool ()
virtual ~SoSFBool ()
SbBool getValue () const
void setValue (SbBool newValue)
SbBool operator= (SbBool newValue)
int operator== (const SoSFBool &f) const
int operator!= (const SoSFBool &f) const
virtual size_t getValueSize () const

Static Public Member Functions

static SoType getClassTypeId ()

Detailed Description

Field containing a single Boolean value.

A field containing a single Boolean (true or false) value.

SoSFBools may be written to file as "0" (representing FALSE), "1", "TRUE", or "FALSE".

SEE ALSO

SoField, SoSField, SoMFBool


Constructor & Destructor Documentation

SoSFBool::SoSFBool (  ) 

Default constructor.

virtual SoSFBool::~SoSFBool (  )  [virtual]

Destructor.


Member Function Documentation

static SoType SoSFBool::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoSField.

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

Returns the type identifier for this specific instance.

Implements SoTypedObject.

SbBool SoSFBool::getValue (  )  const [inline]

Returns this field's value.

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

Get size of the value.

Reimplemented from SoField.

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

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

Reimplemented from SoField.

SbBool SoSFBool::operator= ( SbBool  newValue  )  [inline]

Sets this field to newValue.

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

Copy from another field of same type.

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

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

Reimplemented from SoField.

void SoSFBool::setValue ( SbBool  newValue  ) 

Sets this field to newValue.


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

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/