[xsd-users] CityGML deserialization - CityModel generation

Boris Kolpackov boris at codesynthesis.com
Wed Feb 23 08:31:45 EST 2011


Hi Victor,

Adrian Victor Manoliu <victor.manoliu at yahoo.com> writes:

> What I meant to say was that after the CityModel method is called, iCity is made
> of three fields: flags_, container_ and v_.

These are private, implementation-specific members of the CityModelType
class. Why do you insist on looking into the implementation details? Did
you try to access the data stored in CityModelType using the public
interface? In particular, did you try to iterate over the 
_GenericApplicationPropertyOfCityModel element sequence that is contained
in CityModelType? Note also that it is an abstract element and you will
need to cast it to one of the concrete types, as described in Section
2.11, "Mapping for xsi:type and Substitution Groups" in the C++/Tree
Mapping User Manual:

http://www.codesynthesis.com/projects/xsd/documentation/cxx/tree/manual/#2.11

Boris



More information about the xsd-users mailing list