33 static bool registerClass() {
34 XMLObject::factory[
"http://www.omg.org/spec/BPMN/20100524/MODEL:tExtension"] = &createInstance<tExtension>;
37 inline static bool registered = registerClass();
46 { .
xmlns =
"http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix =
"" , .name =
"mustUnderstand", .value =
Value(std::string(
"false"))}
50 std::optional< std::reference_wrapper<Attribute> >
definition;
std::optional< std::reference_wrapper< Attribute > > mustUnderstand
Attribute value can be expected to be of type 'bool'.
std::optional< std::reference_wrapper< Attribute > > definition
Attribute value can be expected to be of type 'std::string'.
static const Attributes defaults
default attributes to be used if they are not explicitly provided
std::vector< std::reference_wrapper< tDocumentation > > documentation
XMLObject * createInstance(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element)
Template function used to store in factory.