Overview
The RoseMeshFaceAtts class is a subtype of RoseProperty that holds name / value string pairs for a face. This is used internally by the XML reader and writer, but can also be used for other purposes.
struct RoseMeshShellFaceAttribute
struct RoseMeshShellFaceAttribute {
RoseStringObject name;
RoseStringObject value;
};
The RoseMeshShellFaceArrribute holds a single name-value pair.
Constructor
RoseMeshFaceAtts();
RoseMeshFaceAtts(
const RoseMeshFaceAtts & other
);
f_atts
RoseMeshShellFaceAttributeVec f_atts;
The f_atts member holds the attribute list.
getAttribute()
const char * getAttribute(
const char * name
);
The getAttribute()() function is a convience function that searches the attribute list, and returns that attribute with the requested name.
setAttribute()
void setAttribute(
const char * name,
const char * value
);
The setAttribute() function sets the requested attribute to the given value. If the attributes already has a value, it is replaced.