11 #ifndef __SHOP_GeoOverride__
12 #define __SHOP_GeoOverride__
31 void clear() { myOptions.clear(); }
35 { myOptions.merge(other.myOptions); }
38 bool load(
const char *
string);
45 { myOptions.setOptionI(key, value); }
47 { myOptions.setOptionF(key, value); }
49 { myOptions.setOptionS(key, value); }
57 bool isString(
const char *key)
const;
61 bool import(
const char *key,
exint &
value)
const;
bool isString(const AttributeArray &array)
GLenum GLuint GLenum GLsizei const GLchar * buf
void addKey(const char *key, const UT_StringHolder &value)
GLsizei const GLfloat * value
**But if you need a result
void merge(const SHOP_GeoOverride &other)
Merge with another SHOP_GeoOverride object.
exint entries() const
Number of entries.
Class to help with managing material overrides for geometry attributes.
void addKey(const char *key, exint value)
void addKey(const char *key, fpreal value)
A map of string to various well defined value types.
void clear()
Clear object.