SoSFPath Class Reference
[Fields]

Field containing an SoPath. More...

#include <Inventor/fields/SoSFPath.h>

Inheritance diagram for SoSFPath:
SoSField SoField SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
const SoSFPathoperator= (const SoSFPath &f)
 SoSFPath ()
virtual ~SoSFPath ()
SoPathgetValue () const
void setValue (SoPath *newValue)
SoPathoperator= (SoPath *newValue)
int operator== (const SoSFPath &f) const
int operator!= (const SoSFPath &f) const
virtual size_t getValueSize () const

Static Public Member Functions

static SoType getClassTypeId ()

Detailed Description

Field containing an SoPath.

This field maintains an SoPath instance, correctly maintaining its reference count.

SoSFPaths are written to file as the path they refer to. See the SoPath reference page for a description of the file format for a path.

SoSFPath is not able to write "per instance" information to a file for instancing nodes like SoMultipleInstance and SoMultipleCopy. The path will reference the whole set of instances under the instancing node.

SEE ALSO

SoField, SoSField, SoMFPath, SoPath


Constructor & Destructor Documentation

SoSFPath::SoSFPath (  ) 

Default constructor.

virtual SoSFPath::~SoSFPath (  )  [virtual]

Destructor.


Member Function Documentation

static SoType SoSFPath::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoSField.

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

Returns the type identifier for this specific instance.

Implements SoTypedObject.

SoPath* SoSFPath::getValue (  )  const [inline]

Returns this field's value.

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

Get size of the value.

Reimplemented from SoField.

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

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

Reimplemented from SoField.

SoPath* SoSFPath::operator= ( SoPath newValue  )  [inline]

Sets this field to newValue.

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

Copy from another field of same type.

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

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

Reimplemented from SoField.

void SoSFPath::setValue ( SoPath 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/