man SoSField () - abstract base class for all single-value fields

NAME

SoSField - abstract base class for all single-value fields

INHERITS FROM

SoField > SoSField

SYNOPSIS

#include <Inventor/fields/SoField.h> Methods from class SoSField: c } c } getClassTypeId() Methods from class SoField: c } c } setIgnored(SbBool ignore)

c } c } isIgnored() const

c } c } isDefault() const

c } c } getTypeId() const

c } c } isOfType(SoType type) const

c } c } set(const char *valueString)

c } c } get(SbString &valueString)

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

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

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

Each class derived from SoSField begins with an SoSF prefix and contains one value of a particular type. Each has setValue() and getValue() methods that are used to change or access this value. In addition, some field classes have extra convenience routines that allow values to be set or retrieved in other related formats (see below). In addition to setValue(), all single-value fields overload the "=" assignment operator to set the field value from the correct datatype or from another field instance of the same type. The value of a single-value field is written to file in a format dependent on the field type; see the subclass man pages for details. A field that is ignored has a tilde (~) either in place of the value (if the actual value is the default) or after it (otherwise).

METHODS

c } c } getClassTypeId()

Return the type identifier for this field class.

SEE ALSO

SoField, SoMField