Open Inventor Reference
SoSFName Class Reference

Field containg a name. More...

#include <Inventor/fields/SoSFName.h>

Inheritance diagram for SoSFName:
SoSField SoField

List of all members.

Public Member Functions

void setValue (const char *string)
 Set this field to the name equivalent to the given string.

Static Public Member Functions

static void initClass ()

Detailed 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.

See Also
SoField, SoSField, SoMFName

Definition at line 84 of file SoSFName.h.


Member Function Documentation

static void SoSFName::initClass ( ) [static]

Reimplemented from SoSField.

void SoSFName::setValue ( const char *  string)

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