Open Inventor Reference
|
Field containing a string. More...
#include <Inventor/fields/SoSFString.h>
Public Member Functions | |
void | setValue (const char *string) |
Some additional convenience functions: | |
Static Public Member Functions | |
static void | initClass () |
A field containing an ASCII string (sequence of characters). Inventor does not support non-ASCII strings.
SoSFStrings are written to file as a sequence of ASCII characters in double quotes (optional if the string doesn't contain any whitespace). Any characters (including newlines) may appear within the quotes. To include a double quote character within the string, precede it with a backslash. For example:
Testing "One, Two, Three" "He said, \"Immel did it!\""
are all valid strings.
Definition at line 88 of file SoSFString.h.
static void SoSFString::initClass | ( | ) | [static] |
Reimplemented from SoSField.
void SoSFString::setValue | ( | const char * | string | ) |
Set value from character string