43 virtual X3DTypes::X3DType getX3DType() {
return X3DTypes::MFBOOL; }
48 const vector< bool > &v =
getValue();
53 for( i = 0; i < v.size() - 1; ++i ) {
54 if( v[i] ) s <<
"true";
59 if( v[i] ) s <<
"true";
Contains base classes used to create multivalued fields.
The MFBool field contains a vector of boolean values.
Definition: MFBool.h:39
virtual string getValueAsString(const string &separator=" ")
Get the value of the field as a string.
Definition: MFBool.h:46
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