bool operator== (const Stage& x, const Stage& y) { if (!(x.navigation () == y.navigation ())) return false; if (!(x.script () == y.script ())) return false; if (!(x.extension () == y.extension ())) return false; if (!(x.id () == y.id ())) return false; return true; }
void operator<< (::xercesc::DOMElement& e, const Stage& i) { e << static_cast< const ::xml_schema::Type& > (i); // navigation // if (i.navigation ()) { ::xercesc::DOMElement& s ( ::xsd::cxx::xml::dom::create_element ( "navigation", "artofsequence.org/aosl/1.0", e)); s << *i.navigation (); } // script // if (i.script ()) { ::xercesc::DOMElement& s ( ::xsd::cxx::xml::dom::create_element ( "script", "artofsequence.org/aosl/1.0", e)); s << *i.script (); } // extension // if (i.extension ()) { ::xercesc::DOMElement& s ( ::xsd::cxx::xml::dom::create_element ( "extension", "artofsequence.org/aosl/1.0", e)); s << *i.extension (); } // id // { ::xercesc::DOMAttr& a ( ::xsd::cxx::xml::dom::create_attribute ( "id", e)); a << i.id (); } }