1SoSFName(3IV)()                                                SoSFName(3IV)()
2
3
4

NAME

6       SoSFName — field containg a name
7

INHERITS FROM

9       SoField > SoSField > SoSFName
10

SYNOPSIS

12       #include <Inventor/fields/SoSFName.h>
13
14          Methods from class SoSFName:
15
16     void                setValue(const char *string)
17     static SoType       getClassTypeId()
18     virtual void        getTypeId() const
19     const SbName &      getValue() const
20     const SbName &      operator =(const SbName & newValue)
21     void                setValue(const SbName & newValue)
22     int                 operator ==(const SoSFName &f) const
23     int                 operator !=(const SoSFName &f) const
24
25          Methods from class SoField:
26
27     void                setIgnored(SbBool ignore)
28     SbBool              isIgnored() const
29     SbBool              isDefault() const
30     virtual SbBool      isOfType(SoType type) const
31     SbBool              set(const char *valueString)
32     void                get(SbString &valueString)
33     void                touch()
34     SbBool              connectFrom(SoField *fromField)
35     SbBool              connectFrom(SoEngineOutput *fromEngine)
36     void                disconnect()
37     SbBool              isConnected() const
38     SbBool              isConnectedFromField() const
39     SbBool              getConnectedField(SoField *&writingField) const
40     SbBool              isConnectedFromEngine() const
41     SbBool              getConnectedEngine(SoEngineOutput     *&engineOutput)
42                              const
43     void                enableConnection(SbBool flag)
44     SbBool              isConnectionEnabled() const
45     int                 getForwardConnections(SoFieldList &list) const
46     SoFieldContainer *  getContainer() const
47
48

DESCRIPTION

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

METHODS

60     void                setValue(const char *string)
61          Set this field to the name equivalent to the given string.
62
63     static SoType       getClassTypeId()
64     virtual void        getTypeId() const
65          Returns  the  type  for  this  class  or a particular object of this
66          class.
67
68     const SbName &      getValue() const
69          Returns this field's value.
70
71     const SbName &      operator =(const SbName & newValue)
72     void                setValue(const SbName & newValue)
73          Sets this field to newValue.
74
75     int                 operator ==(const SoSFName &f) const
76     int                 operator !=(const SoSFName &f) const
77          Returns TRUE if f is of the same type and has the same value as this
78          field.
79
80

SEE ALSO

82       SoField, SoSField, SoMFName
83
84
85
86
87                                                               SoSFName(3IV)()
Impressum