[xsde-users] Absent .pre() and .post() methods in some aggregators

Песоцкий Максим aazmp at yandex.ru
Tue Nov 20 08:57:18 EST 2018


in case of serializer it has a lot of "_simpl" in "public:"


::xml_schema::any_type_simpl any_type_s_;
::gml::SurfacePropertyType_simpl SurfacePropertyType_s_;
...

including root

::rs::productMetadata::EarthObservationType_simpl&
      root_serializer ()
      {
        return this->EarthObservationType_s_;
      }

when i switch from
elem_s.pre(eoType);
to
elem_s.root_serializer().pre(eoType);

i get an assert
assert (this->EarthObservationType_impl_); (when serializing attributes of one of the base classes)



20.11.2018, 15:14, "Boris Kolpackov" <boris at codesynthesis.com>:
>
> Check the class definitions for such aggregates, my guess is they are empty
> or some such.



More information about the xsde-users mailing list