Beispiel #1
0
DECLARE_EXPORT Action MetaClass::decodeAction(const AttributeList& atts)
{
  // Decode the string and return the default in the absence of the attribute
  const DataElement* c = atts.get(Tags::tag_action);
  return *c ? decodeAction(c->getString().c_str()) : ADD_CHANGE;
}