28 #ifndef __MFSTRING_H__
29 #define __MFSTRING_H__
47 const vector< string > &v =
getValue();
51 for( i = 0; i < v.size() - 1; ++i )
52 s <<
"\"" << v[i] <<
"\"" << separator;
53 s <<
"\"" << v[i] <<
"\"";
56 virtual X3DTypes::X3DType getX3DType() {
return X3DTypes::MFSTRING; }
Contains base classes used to create multivalued fields.
The MFString field conatins a vector of strings.
Definition: MFString.h:41
virtual string getValueAsString(const string &separator=" ")
Get the value of the field as a string.
Definition: MFString.h:45
static string classTypeName()
Returns a string name for this field type e.g. MFInt32.
Definition: MField.h:340
VectorClass::size_type size_type
An unsigned integral type.
Definition: MField.h:118
Template class that adds the Field mechanism to a vector of values.
Definition: MField.h:357
Type getValue(const char *s, const char *&rest)
Function that reads characters from a char * and converts them to a given type.
Definition: X3DFieldConversion.h:134
H3D API namespace.
Definition: Anchor.h:38