Open Inventor Reference
|
Multiple-value field containing any number of strings. More...
#include <Inventor/fields/SoMFString.h>
Public Member Functions | |
void | setValues (int start, int num, const char *strings[]) |
Some additional convenience functions: | |
void | setValue (const char *string) |
Set one value from character string. | |
void | deleteText (int fromLine, int fromChar, int toLine, int toChar) |
Convenience function to delete text from consecutive strings. | |
Static Public Member Functions | |
static void | initClass () |
A multiple-value field that contains any number of strings.
SoMFStrings are written to file as one or more strings within double quotes. 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:
[ cowEnizer , "Scene Boy" , "He said, \"I did not!\"" ]
Definition at line 80 of file SoMFString.h.
void SoMFString::deleteText | ( | int | fromLine, |
int | fromChar, | ||
int | toLine, | ||
int | toChar | ||
) |
All text from the given character of one line (fromChar in fromLine) to the given character of another line (toChar in toLine), inclusive, is deleted. Any leftover text on fromLine and toLine is merged into one line.
static void SoMFString::initClass | ( | ) | [static] |
Reimplemented from SoMField.
void SoMFString::setValue | ( | const char * | string | ) |
void SoMFString::setValues | ( | int | start, |
int | num, | ||
const char * | strings[] | ||
) |
Set values from array of character strings