Exemple #1
0
  bool
  operator== (const Layers& x, const Layers& y)
  {
    if (!(x.layer () == y.layer ()))
      return false;

    return true;
  }
Exemple #2
0
  void
  operator<< (::xercesc::DOMElement& e, const Layers& i)
  {
    e << static_cast< const ::xml_schema::Type& > (i);

    // layer
    //
    for (Layers::LayerConstIterator
         b (i.layer ().begin ()), n (i.layer ().end ());
         b != n; ++b)
    {
      ::xercesc::DOMElement& s (
        ::xsd::cxx::xml::dom::create_element (
          "layer",
          "artofsequence.org/aosl/1.0",
          e));

      s << *b;
    }
  }