9 #ifndef CMZN_FIELDCONSTANT_HPP__ 10 #define CMZN_FIELDCONSTANT_HPP__ 12 #include "opencmiss/zinc/fieldconstant.h" 13 #include "opencmiss/zinc/field.hpp" 14 #include "opencmiss/zinc/fieldmodule.hpp" 20 class FieldConstant :
public Field
31 explicit FieldConstant(cmzn_field_id field_id) : Field(field_id)
38 FieldConstant() : Field(0)
42 class FieldStringConstant :
public Field
54 explicit FieldStringConstant(cmzn_field_id field_id) : Field(field_id)
61 FieldStringConstant() : Field(0)
68 return FieldConstant(cmzn_fieldmodule_create_field_constant(
id,
69 valuesCount, valuesIn));
FieldStringConstant createFieldStringConstant(const char *stringConstant)
Definition: fieldconstant.hpp:72
FieldConstant createFieldConstant(int valuesCount, const double *valuesIn)
Definition: fieldconstant.hpp:66
A field with the components specified in the array values.
Definition: fieldconstant.hpp:27
The OpenCMISS namespace.
Definition: context.hpp:20
A string constant field with the supplied string value in <string_constant>.
Definition: fieldconstant.hpp:50