man SoSFName () - field containg a name

NAME

SoSFName - field containg a name

INHERITS FROM

SoField > SoSField > SoSFName

SYNOPSIS

#include <Inventor/fields/SoSFName.h> Methods from class SoSFName: c } c } setValue(const char *string)

c } c } getClassTypeId()

c } c } getTypeId() const

c } c } getValue() const

c } c } operator =(const SbName & newValue)

c } c } setValue(const SbName & newValue)

c } c } operator ==(const SoSFName &f) const

c } c } operator !=(const SoSFName &f) const Methods from class SoField: c } c } setIgnored(SbBool ignore)

c } c } isIgnored() const

c } c } isDefault() const

c } c } isOfType(SoType type) const

c } c } set(const char *valueString)

c } c } get(SbString &valueString)

c } c } touch()

c } c } connectFrom(SoField *fromField)

c } c } connectFrom(SoEngineOutput *fromEngine)

c } c } disconnect()

c } c } isConnected() const

c } c } isConnectedFromField() const

c } c } getConnectedField(SoField *&writingField) const

c } c } isConnectedFromEngine() const

c } c } getConnectedEngine(SoEngineOutput *&engineOutput) const

c } c } enableConnection(SbBool flag)

c } c } isConnectionEnabled() const

c } c } getForwardConnections(SoFieldList &list) const

c } c } getContainer() const

DESCRIPTION

A field containing a name. Names are short series of characters generally used for labels or names, and are stored in a special table designed to allow fast lookup and comparison. For most purposes, an SoSFString field is probably more appropriate. SoSFNames are written to file as a string of characters. Names must begin with an underscore or alphabetic character, and must consist entirely of underscores, alphabetic characters, or numbers.

METHODS

c } c } setValue(const char *string)

Set this field to the name equivalent to the given string. c } c } getClassTypeId()

c } c } getTypeId() const

Returns the type for this class or a particular object of this class. c } c } getValue() const

Returns this field's value. c } c } operator =(const SbName & newValue)

c } c } setValue(const SbName & newValue)

Sets this field to newValue. c } c } operator ==(const SoSFName &f) const

c } c } operator !=(const SoSFName &f) const

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

SEE ALSO

SoField, SoSField, SoMFName