From boris at codesynthesis.com Wed Jul 1 12:12:44 2015 From: boris at codesynthesis.com (Boris Kolpackov) Date: Wed Jul 1 12:12:33 2015 Subject: [xsd-users] Building on OSX In-Reply-To: References: Message-ID: Hi Daniel, Daniel Berj?n D?ez writes: > I suggest the following patch, that should be compatible with both > Linux and BSD. Thanks for the patch. For the next version of XSD we are planning to use a completely new build system which will get rid of such annoying issues once and for all. Boris From boris at codesynthesis.com Wed Jul 1 12:27:58 2015 From: boris at codesynthesis.com (Boris Kolpackov) Date: Wed Jul 1 12:27:47 2015 Subject: [xsd-users] CodeSynthesis/tree (version 4.0.0) and Nvidia NVCC compiler (CUDA version 7.0) In-Reply-To: <469682007.1624723.1435582188056.JavaMail.yahoo@mail.yahoo.com> References: <469682007.1624723.1435582188056.JavaMail.yahoo@mail.yahoo.com> Message-ID: Hi All, All Herald writes: > 3) Making CodeSynthesis more usable within CUDA-based applications should > be valuable to many other users since virtually all computationally heavy > calculations nowadays is being done using GPUs. We would definitely consider making it usable on CUDA/NVCC if there are sensible changes that we can make to the generated code. Do you know what exactly in the generated headers exhausts this "global constant memory"? Also, how big is the schema? I have seen specimens with thousands of type that exhausted memory of build machines with tens of gigabytes of RAM. Finally, have you considered using XSD/e and its much more light-weight C++/Hybrid object model instead? Boris From asuranceturix at gmail.com Wed Jul 1 12:59:39 2015 From: asuranceturix at gmail.com (=?UTF-8?B?RGFuaWVsIEJlcmrDs24gRMOtZXo=?=) Date: Wed Jul 1 14:14:49 2015 Subject: [xsd-users] Building on OSX In-Reply-To: References: Message-ID: Hi Boris, On 1 July 2015 at 18:12, Boris Kolpackov wrote: > > Thanks for the patch. For the next version of XSD we are planning > to use a completely new build system which will get rid of such > annoying issues once and for all. > That's good to hear, looking forward to it. In another note, are you planning to feature embedded schemas in the generated code as a switch of xsd instead of the procedure illustrated in examples/cxx/tree/embedded ? Cheers, Daniel From boris at codesynthesis.com Fri Jul 3 13:38:36 2015 From: boris at codesynthesis.com (Boris Kolpackov) Date: Fri Jul 3 13:38:45 2015 Subject: [xsd-users] Building on OSX In-Reply-To: References: Message-ID: Hi Daniel, Daniel Berj?n D?ez writes: > In another note, are you planning to feature embedded schemas in > the generated code as a switch of xsd instead of the procedure > illustrated in examples/cxx/tree/embedded ? The binary representation of the schema should be produced by the same Xerces-C++ version, width (32/64-bit), and endianess as used by the application. Which may not necessarily be the same as the one used by the XSD compiler. So, no, no plans for this. Boris From laurence.davies at unsw.edu.au Sun Jul 5 20:06:44 2015 From: laurence.davies at unsw.edu.au (Laurence Davies) Date: Sun Jul 5 20:06:56 2015 Subject: [xsd-users] Cxx-tree parsers not generated for all global elements Message-ID: Hi Boris, I've extracted this issue from my last email to this list since it is currently a bottleneck for me that I can't currently solve: I have global elements that substitute for a global abstract element, and the parsers (documented here: http://www.codesynthesis.com/projects/xsd/documentation/cxx/tree/manual/#3) don't seem to be generated for these elements. Am I missing a crucial option to enable the generation of these parsers? For example, the following extract from my schema does not produce a parser for neither AbstractPosition nor Position. Is this because of the substitution group and the lack of a type for AbstractPosition? .... Thank you again and kind regards, Laurence Davies Laurence Davies ____________________ Research Assistant in eGeodesy CRC-SI, UNSW Desk phone: (03) 8636 2373 Mobile: 0427 519 289 ________________________________________ From: Laurence Davies Sent: Monday, 29 June 2015 11:51 AM To: xsd-users@codesynthesis.com Subject: RE: [xsd-users] Resolving xlinks in a GML file Hi Boris, Thanks for your reply. You've noted the xlink that points to raw data, so perhaps I provided a bad example. In GML there is the concept of the property type (if you're interested, it is discussed here: https://www.seegrid.csiro.au/wiki/AppSchemas/GmlImplementation#Implementation_of_properties ) which is my main concern at present. The below XML should illustrate the URLs that I need to resolve and parse if the resolution succeeds: ... HTTP result from the hypothetical web service http://wfs.geodesyml.org/nodes?hashidentifer would look like: node_11328 ... Would the added layer of parsing a WFS response pose a problem? If the URL just returns a ... perhaps I could use the following template: /* second argument takes the form: * std::[auto|unique]_ptr name (const std::basic_string& uri, xml_schema::flags = 0, const xml_schema::properties& = xml_schema::properties ()); */ template std::auto_ptr PropertyResolver(P &p, std::auto_ptr (*create_global_element) (const ::std::string& uri, xml_schema::flags, const xml_schema::properties&) ) { typedef ::xlink::hrefType href_type; typedef ::xsd::cxx::tree::optional< href_type > href_optional; href_optional ho = p.href(); if (ho.present()) { href_type h = ho.get(); if (h.at(0) == '#') { xml_schema::idref ref(h.substr(1), 0, &p); return ref.get(); } else { /* Resolve the URI externally */ xercesc::XMLUri xuri(xercesc::XMLString::transcode(h)); if (xuri.isValidURI()) { /* @todo Is this an XPointer? Split at the # and resolve the base, * then the XPointer expression */ /* Try parsing using the xsd type */ return create_global_element(h,0,xml_schema::properties ()); } else { throw runtime_error("URI for xlink:href is not valid."); } } } return std::auto_ptr(null); } This leads to another issue that I'm having: The generation of parsers for global elements. I have global elements that substitute for a global abstract element, and the parsers (documented here: http://www.codesynthesis.com/projects/xsd/documentation/cxx/tree/manual/#3) don't seem to be generated for these elements. Am I missing a crucial option to enable the generation of these parsers? For example, consider the following extract from my schema: .... Thank you again and kind regards, Laurence Davies ____________________ Research Assistant in eGeodesy CRC-SI, UNSW Desk phone: (03) 8636 2373 Mobile: 0427 519 289 ________________________________________ From: Boris Kolpackov [boris@codesynthesis.com] Sent: Saturday, 27 June 2015 3:46 AM To: Laurence Davies Cc: xsd-users@codesynthesis.com Subject: Re: [xsd-users] Resolving xlinks in a GML file Hi Laurence, Laurence Davies writes: > I found a relevant solution you provided in 2008 on this subject in > the email below that covers the gml:id case but not the latter. Would > you know what call I would need to make to resolve a URL and, if > possible, a URN? If href is to a gml:id, it means it is to a node in the same object model (or to some element in the same document, in XML terms). If href is a URL/URN like below, what does it point to? xlink:href="ftp://ftp.ga.gov.au/geodesy-outgoing/gnss/solutions/apref/apr18287.snx" When you say "what call I would need to make to resolve a URL" what do you want it to be resolved to? A byte stream? A file (that got downloaded) on disk? Maybe, if it is always an image, you want this call to display the image on the user's computer? Boris From laurence.davies at unsw.edu.au Sun Jul 5 21:07:41 2015 From: laurence.davies at unsw.edu.au (Laurence Davies) Date: Sun Jul 5 21:07:49 2015 Subject: [xsd-users] Cxx-tree parsers not generated for all global elements In-Reply-To: References: Message-ID: Following this up, I found the offending option. I had specified a single --root-element element. If there is a way to specify root-elements on a per-file basis this would allow me to limit the number of parsers that are generated. Currently by removing the root-element option I'm generating parsers for all of GML 3.2.1 and my own application schema. Laurence Davies ____________________ Research Assistant in eGeodesy CRC-SI, UNSW Desk phone: (03) 8636 2373 Mobile: 0427 519 289 ________________________________________ From: Laurence Davies Sent: Monday, 6 July 2015 10:06 AM To: xsd-users@codesynthesis.com Subject: [xsd-users] Cxx-tree parsers not generated for all global elements Hi Boris, I've extracted this issue from my last email to this list since it is currently a bottleneck for me that I can't currently solve: I have global elements that substitute for a global abstract element, and the parsers (documented here: http://www.codesynthesis.com/projects/xsd/documentation/cxx/tree/manual/#3) don't seem to be generated for these elements. Am I missing a crucial option to enable the generation of these parsers? For example, the following extract from my schema does not produce a parser for neither AbstractPosition nor Position. Is this because of the substitution group and the lack of a type for AbstractPosition? .... Thank you again and kind regards, Laurence Davies Laurence Davies ____________________ Research Assistant in eGeodesy CRC-SI, UNSW Desk phone: (03) 8636 2373 Mobile: 0427 519 289 ________________________________________ From: Laurence Davies Sent: Monday, 29 June 2015 11:51 AM To: xsd-users@codesynthesis.com Subject: RE: [xsd-users] Resolving xlinks in a GML file Hi Boris, Thanks for your reply. You've noted the xlink that points to raw data, so perhaps I provided a bad example. In GML there is the concept of the property type (if you're interested, it is discussed here: https://www.seegrid.csiro.au/wiki/AppSchemas/GmlImplementation#Implementation_of_properties ) which is my main concern at present. The below XML should illustrate the URLs that I need to resolve and parse if the resolution succeeds: ... HTTP result from the hypothetical web service http://wfs.geodesyml.org/nodes?hashidentifer would look like: node_11328 ... Would the added layer of parsing a WFS response pose a problem? If the URL just returns a ... perhaps I could use the following template: /* second argument takes the form: * std::[auto|unique]_ptr name (const std::basic_string& uri, xml_schema::flags = 0, const xml_schema::properties& = xml_schema::properties ()); */ template std::auto_ptr PropertyResolver(P &p, std::auto_ptr (*create_global_element) (const ::std::string& uri, xml_schema::flags, const xml_schema::properties&) ) { typedef ::xlink::hrefType href_type; typedef ::xsd::cxx::tree::optional< href_type > href_optional; href_optional ho = p.href(); if (ho.present()) { href_type h = ho.get(); if (h.at(0) == '#') { xml_schema::idref ref(h.substr(1), 0, &p); return ref.get(); } else { /* Resolve the URI externally */ xercesc::XMLUri xuri(xercesc::XMLString::transcode(h)); if (xuri.isValidURI()) { /* @todo Is this an XPointer? Split at the # and resolve the base, * then the XPointer expression */ /* Try parsing using the xsd type */ return create_global_element(h,0,xml_schema::properties ()); } else { throw runtime_error("URI for xlink:href is not valid."); } } } return std::auto_ptr(null); } This leads to another issue that I'm having: The generation of parsers for global elements. I have global elements that substitute for a global abstract element, and the parsers (documented here: http://www.codesynthesis.com/projects/xsd/documentation/cxx/tree/manual/#3) don't seem to be generated for these elements. Am I missing a crucial option to enable the generation of these parsers? For example, consider the following extract from my schema: .... Thank you again and kind regards, Laurence Davies ____________________ Research Assistant in eGeodesy CRC-SI, UNSW Desk phone: (03) 8636 2373 Mobile: 0427 519 289 ________________________________________ From: Boris Kolpackov [boris@codesynthesis.com] Sent: Saturday, 27 June 2015 3:46 AM To: Laurence Davies Cc: xsd-users@codesynthesis.com Subject: Re: [xsd-users] Resolving xlinks in a GML file Hi Laurence, Laurence Davies writes: > I found a relevant solution you provided in 2008 on this subject in > the email below that covers the gml:id case but not the latter. Would > you know what call I would need to make to resolve a URL and, if > possible, a URN? If href is to a gml:id, it means it is to a node in the same object model (or to some element in the same document, in XML terms). If href is a URL/URN like below, what does it point to? xlink:href="ftp://ftp.ga.gov.au/geodesy-outgoing/gnss/solutions/apref/apr18287.snx" When you say "what call I would need to make to resolve a URL" what do you want it to be resolved to? A byte stream? A file (that got downloaded) on disk? Maybe, if it is always an image, you want this call to display the image on the user's computer? Boris From gerard at lanois.com Wed Jul 8 18:53:58 2015 From: gerard at lanois.com (Gerard Lanois) Date: Wed Jul 8 18:54:05 2015 Subject: [xsd-users] 'DOMDocument' : ambiguous symbol - serialization.txx Message-ID: Hello Boris & XSD friends - There was a prior discussion of DOMDocument colliding with msxml.h: http://www.codesynthesis.com/pipermail/xsd-users/2014-October/004448.html I'm having the same problem, but with serialization.txx. I'm using the latest and greatest XSD release from the Download page, version 4.0.0. In the previous discussion, you provided a link to download xsd-4.1.0.a3-i686-windows.zip , which I'm now going to try. My question: Will this 4.1.0.a3 ever be officially released? Thanks in advance for your prompt reply. -Gerard Lanois From gerard at lanois.com Wed Jul 8 20:22:53 2015 From: gerard at lanois.com (Gerard Lanois) Date: Wed Jul 8 20:23:00 2015 Subject: [xsd-users] Re: 'DOMDocument' : ambiguous symbol - serialization.txx In-Reply-To: References: Message-ID: Solved. Applied this patch to my 4.0.0 tree: http://scm.codesynthesis.com/?p=xsd/xsd.git;a=patch;h=a066f175060a6ada5c60c378ca4dab6e9b571e35 On Wed, Jul 8, 2015 at 3:53 PM, Gerard Lanois wrote: > > Hello Boris & XSD friends - > > There was a prior discussion of DOMDocument colliding with msxml.h: > > > http://www.codesynthesis.com/pipermail/xsd-users/2014-October/004448.html > > I'm having the same problem, but with serialization.txx. > > I'm using the latest and greatest XSD release from the Download page, > version 4.0.0. > > In the previous discussion, you provided a link to download > xsd-4.1.0.a3-i686-windows.zip > , > which I'm now going to try. > > My question: Will this 4.1.0.a3 ever be officially released? > > Thanks in advance for your prompt reply. > > -Gerard Lanois > > From loredofilms1 at yahoo.com Thu Jul 9 16:06:47 2015 From: loredofilms1 at yahoo.com (All Herald) Date: Thu Jul 9 16:06:55 2015 Subject: [xsd-users] CodeSynthesis/tree (version 4.0.0) and Nvidia NVCC compiler (CUDA version 7.0) In-Reply-To: References: Message-ID: <32251234.2107614.1436472407138.JavaMail.yahoo@mail.yahoo.com> Thanks for?the response. Looked at XSD/e and still having the same issue. The problem is that the NVCC Compiler (CUDA 7.0) has this hard memory limitation. ?Even with a fairly small schema of just a few bytes if you make repeated calls the global const memory accumulates and very soon you hit that hard limit imposed by the NVCC Compiler. So the issue quite frankly is with the compiler, but that being said, the compiler is what it is. Would you be able to download the the NVCC CUDA 7 compiler and take a look at this if I send you a small example? You can probably recreate this easily of you try and compile and link using a small schema repeatedly and includes the CodeSynthesis headers. One possible way around this was to potentially to try and use precompiled headers, but alas the NVCC compiler does not currently support this feature.? As mentioned before support for this compiler would broaden the reach of CodeSynthesis to anyone doing heavy quantitative work using GPUs.? From: Boris Kolpackov To: All Herald Cc: "xsd-users@codesynthesis.com" Sent: Wednesday, July 1, 2015 12:27 PM Subject: Re: [xsd-users] CodeSynthesis/tree (version 4.0.0) and Nvidia NVCC compiler (CUDA version 7.0) Hi All, All Herald writes: > 3) Making CodeSynthesis more usable within CUDA-based applications should > be valuable to many other users since virtually all computationally heavy > calculations nowadays is being done using GPUs. We would definitely consider making it usable on CUDA/NVCC if there are sensible changes that we can make to the generated code. Do you know what exactly in the generated headers exhausts this "global constant memory"? Also, how big is the schema? I have seen specimens with thousands of type that exhausted memory of build machines with tens of gigabytes of RAM. Finally, have you considered using XSD/e and its much more light-weight C++/Hybrid object model instead? Boris From laurence.davies at unsw.edu.au Tue Jul 14 20:08:06 2015 From: laurence.davies at unsw.edu.au (Laurence Davies) Date: Wed Jul 15 12:30:38 2015 Subject: [xsd-users] Compiler Error CXX-Tree parser types undeclared Message-ID: After disabling parser generation suppression (sorry for the double negative) so that parsers for all root elements are now being generated, I'm getting compiler errors for undeclared types. Comparing the generated code including parsers with code minus parsers, the only difference is the parser code. No additional headers or forward declarations are included with the code+parsers. Here's an example: In GML there's a valueObject element which translates to valueObject.hxx below. Note the compiler error is Error 1 error C2039: 'booleanOrNilReasonList' : is not a member of 'gml32' D:\git\eGeodesy\0.2.1\geodesyml\marshaller\windows\GeodesyML_VS10\include\binding\valueObjects.hxx 511 The hxx file is below: // Copyright (c) 2005-2014 Code Synthesis Tools CC // // This program was generated by CodeSynthesis XSD, an XML Schema to // C++ data binding compiler. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as // published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA // // In addition, as a special exception, Code Synthesis Tools CC gives // permission to link this program with the Xerces-C++ library (or with // modified versions of Xerces-C++ that use the same license as Xerces-C++), // and distribute linked combinations including the two. You must obey // the GNU General Public License version 2 in all respects for all of // the code used other than Xerces-C++. If you modify this copy of the // program, you may extend this exception to your version of the program, // but you are not obligated to do so. If you do not wish to do so, delete // this exception statement from your version. // // Furthermore, Code Synthesis Tools CC makes a special exception for // the Free/Libre and Open Source Software (FLOSS) which is described // in the accompanying FLOSSE file. // /** * @file * @brief Generated from valueObjects.xsd. */ #ifndef VALUE_OBJECTS_HXX #define VALUE_OBJECTS_HXX #ifndef XSD_USE_CHAR #define XSD_USE_CHAR #endif #ifndef XSD_CXX_TREE_USE_CHAR #define XSD_CXX_TREE_USE_CHAR #endif // Begin prologue. // #include "geodesyml.exports.hxx" // // End prologue. #include #if (XSD_INT_VERSION != 4000000L) #error XSD runtime version mismatch #endif #include #include "binding/xml-schema.hxx" // Forward declarations. // namespace gml32 { } #include // ::std::auto_ptr #include // std::numeric_limits #include // std::binary_search #include #include #include #include #include #include #ifndef XSD_DONT_INCLUDE_INLINE #define XSD_DONT_INCLUDE_INLINE #include "binding/gml.hxx" #include "binding/geometryBasic0d1d.hxx" #include "binding/temporal.hxx" #include "binding/ValuePropertyType.hxx" #include "binding/ValueArrayPropertyType.hxx" #include "binding/CompositeValueType.hxx" #include "binding/ValueArrayType.hxx" #include "binding/CategoryExtentType.hxx" #include "binding/CountExtentType.hxx" #include "binding/QuantityExtentType.hxx" #include "binding/BooleanPropertyType.hxx" #include "binding/CategoryPropertyType.hxx" #include "binding/QuantityPropertyType.hxx" #include "binding/CountPropertyType.hxx" #include "binding/Boolean.hxx" #include "binding/Category.hxx" #include "binding/Count.hxx" #include "binding/Quantity.hxx" #undef XSD_DONT_INCLUDE_INLINE #else #include "binding/gml.hxx" #include "binding/geometryBasic0d1d.hxx" #include "binding/temporal.hxx" #include "binding/ValuePropertyType.hxx" #include "binding/ValueArrayPropertyType.hxx" #include "binding/CompositeValueType.hxx" #include "binding/ValueArrayType.hxx" #include "binding/CategoryExtentType.hxx" #include "binding/CountExtentType.hxx" #include "binding/QuantityExtentType.hxx" #include "binding/BooleanPropertyType.hxx" #include "binding/CategoryPropertyType.hxx" #include "binding/QuantityPropertyType.hxx" #include "binding/CountPropertyType.hxx" #include "binding/Boolean.hxx" #include "binding/Category.hxx" #include "binding/Count.hxx" #include "binding/Quantity.hxx" #endif // XSD_DONT_INCLUDE_INLINE /** * @brief C++ namespace for the %http://www.opengis.net/gml/3.2 * schema namespace. */ namespace gml32 { } #ifndef XSD_DONT_INCLUDE_INLINE #include "binding/gml.ixx" #include "binding/geometryBasic0d1d.ixx" #include "binding/temporal.ixx" #include "binding/ValuePropertyType.ixx" #include "binding/ValueArrayPropertyType.ixx" #include "binding/CompositeValueType.ixx" #include "binding/ValueArrayType.ixx" #include "binding/CategoryExtentType.ixx" #include "binding/CountExtentType.ixx" #include "binding/QuantityExtentType.ixx" #include "binding/BooleanPropertyType.ixx" #include "binding/CategoryPropertyType.ixx" #include "binding/QuantityPropertyType.ixx" #include "binding/CountPropertyType.ixx" #include "binding/Boolean.ixx" #include "binding/Category.ixx" #include "binding/Count.ixx" #include "binding/Quantity.ixx" #endif // XSD_DONT_INCLUDE_INLINE #include namespace gml32 { } #include #include #include #include namespace gml32 { /** * @name Parsing functions for the %Boolean document root. */ //@{ /** * @brief Parse a URI or a local file. * * @param uri A URI or a local file name. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::Boolean > Boolean_ (const ::std::string& uri, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with an error handler. * * @param uri A URI or a local file name. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Boolean > Boolean_ (const ::std::string& uri, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with a Xerces-C++ DOM error * handler. * * @param uri A URI or a local file name. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Boolean > Boolean_ (const ::std::string& uri, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream. * * @param is A standrad input stream. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::Boolean > Boolean_ (::std::istream& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with an error handler. * * @param is A standrad input stream. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Boolean > Boolean_ (::std::istream& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a Xerces-C++ DOM error * handler. * * @param is A standrad input stream. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Boolean > Boolean_ (::std::istream& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id. * * @param is A standrad input stream. * @param id A resource id. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::Boolean > Boolean_ (::std::istream& is, const ::std::string& id, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and an * error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Boolean > Boolean_ (::std::istream& is, const ::std::string& id, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and a * Xerces-C++ DOM error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Boolean > Boolean_ (::std::istream& is, const ::std::string& id, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source. * * @param is A Xerces-C++ input source. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::Boolean > Boolean_ (::xercesc::InputSource& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with an error handler. * * @param is A Xerces-C++ input source. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Boolean > Boolean_ (::xercesc::InputSource& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with a Xerces-C++ DOM * error handler. * * @param is A Xerces-C++ input source. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Boolean > Boolean_ (::xercesc::InputSource& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::Boolean > Boolean_ (const ::xercesc::DOMDocument& d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A pointer to the Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function is normally used together with the keep_dom and * own_dom parsing flags to assign ownership of the DOM document * to the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::Boolean > Boolean_ (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); //@} /** * @name Parsing functions for the %BooleanList document root. */ //@{ /** * @brief Parse a URI or a local file. * * @param uri A URI or a local file name. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::booleanOrNilReasonList > BooleanList (const ::std::string& uri, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with an error handler. * * @param uri A URI or a local file name. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::booleanOrNilReasonList > BooleanList (const ::std::string& uri, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with a Xerces-C++ DOM error * handler. * * @param uri A URI or a local file name. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::booleanOrNilReasonList > BooleanList (const ::std::string& uri, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream. * * @param is A standrad input stream. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::booleanOrNilReasonList > BooleanList (::std::istream& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with an error handler. * * @param is A standrad input stream. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::booleanOrNilReasonList > BooleanList (::std::istream& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a Xerces-C++ DOM error * handler. * * @param is A standrad input stream. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::booleanOrNilReasonList > BooleanList (::std::istream& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id. * * @param is A standrad input stream. * @param id A resource id. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::booleanOrNilReasonList > BooleanList (::std::istream& is, const ::std::string& id, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and an * error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::booleanOrNilReasonList > BooleanList (::std::istream& is, const ::std::string& id, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and a * Xerces-C++ DOM error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::booleanOrNilReasonList > BooleanList (::std::istream& is, const ::std::string& id, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source. * * @param is A Xerces-C++ input source. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::booleanOrNilReasonList > BooleanList (::xercesc::InputSource& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with an error handler. * * @param is A Xerces-C++ input source. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::booleanOrNilReasonList > BooleanList (::xercesc::InputSource& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with a Xerces-C++ DOM * error handler. * * @param is A Xerces-C++ input source. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::booleanOrNilReasonList > BooleanList (::xercesc::InputSource& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::booleanOrNilReasonList > BooleanList (const ::xercesc::DOMDocument& d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A pointer to the Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function is normally used together with the keep_dom and * own_dom parsing flags to assign ownership of the DOM document * to the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::booleanOrNilReasonList > BooleanList (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); //@} /** * @name Parsing functions for the %Category document root. * * A gml:Category has an optional XML attribute codeSpace, whose value is * a URI which identifies a dictionary, codelist or authority for the * term. */ //@{ /** * @brief Parse a URI or a local file. * * @param uri A URI or a local file name. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::Category > Category_ (const ::std::string& uri, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with an error handler. * * @param uri A URI or a local file name. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Category > Category_ (const ::std::string& uri, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with a Xerces-C++ DOM error * handler. * * @param uri A URI or a local file name. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Category > Category_ (const ::std::string& uri, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream. * * @param is A standrad input stream. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::Category > Category_ (::std::istream& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with an error handler. * * @param is A standrad input stream. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Category > Category_ (::std::istream& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a Xerces-C++ DOM error * handler. * * @param is A standrad input stream. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Category > Category_ (::std::istream& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id. * * @param is A standrad input stream. * @param id A resource id. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::Category > Category_ (::std::istream& is, const ::std::string& id, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and an * error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Category > Category_ (::std::istream& is, const ::std::string& id, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and a * Xerces-C++ DOM error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Category > Category_ (::std::istream& is, const ::std::string& id, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source. * * @param is A Xerces-C++ input source. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::Category > Category_ (::xercesc::InputSource& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with an error handler. * * @param is A Xerces-C++ input source. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Category > Category_ (::xercesc::InputSource& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with a Xerces-C++ DOM * error handler. * * @param is A Xerces-C++ input source. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Category > Category_ (::xercesc::InputSource& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::Category > Category_ (const ::xercesc::DOMDocument& d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A pointer to the Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function is normally used together with the keep_dom and * own_dom parsing flags to assign ownership of the DOM document * to the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::Category > Category_ (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); //@} /** * @name Parsing functions for the %CategoryList document root. */ //@{ /** * @brief Parse a URI or a local file. * * @param uri A URI or a local file name. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::CodeOrNilReasonListType > CategoryList (const ::std::string& uri, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with an error handler. * * @param uri A URI or a local file name. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CodeOrNilReasonListType > CategoryList (const ::std::string& uri, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with a Xerces-C++ DOM error * handler. * * @param uri A URI or a local file name. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CodeOrNilReasonListType > CategoryList (const ::std::string& uri, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream. * * @param is A standrad input stream. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::CodeOrNilReasonListType > CategoryList (::std::istream& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with an error handler. * * @param is A standrad input stream. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CodeOrNilReasonListType > CategoryList (::std::istream& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a Xerces-C++ DOM error * handler. * * @param is A standrad input stream. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CodeOrNilReasonListType > CategoryList (::std::istream& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id. * * @param is A standrad input stream. * @param id A resource id. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::CodeOrNilReasonListType > CategoryList (::std::istream& is, const ::std::string& id, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and an * error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CodeOrNilReasonListType > CategoryList (::std::istream& is, const ::std::string& id, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and a * Xerces-C++ DOM error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CodeOrNilReasonListType > CategoryList (::std::istream& is, const ::std::string& id, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source. * * @param is A Xerces-C++ input source. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::CodeOrNilReasonListType > CategoryList (::xercesc::InputSource& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with an error handler. * * @param is A Xerces-C++ input source. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CodeOrNilReasonListType > CategoryList (::xercesc::InputSource& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with a Xerces-C++ DOM * error handler. * * @param is A Xerces-C++ input source. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CodeOrNilReasonListType > CategoryList (::xercesc::InputSource& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::CodeOrNilReasonListType > CategoryList (const ::xercesc::DOMDocument& d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A pointer to the Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function is normally used together with the keep_dom and * own_dom parsing flags to assign ownership of the DOM document * to the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::CodeOrNilReasonListType > CategoryList (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); //@} /** * @name Parsing functions for the %Count document root. */ //@{ /** * @brief Parse a URI or a local file. * * @param uri A URI or a local file name. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::Count > Count_ (const ::std::string& uri, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with an error handler. * * @param uri A URI or a local file name. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Count > Count_ (const ::std::string& uri, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with a Xerces-C++ DOM error * handler. * * @param uri A URI or a local file name. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Count > Count_ (const ::std::string& uri, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream. * * @param is A standrad input stream. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::Count > Count_ (::std::istream& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with an error handler. * * @param is A standrad input stream. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Count > Count_ (::std::istream& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a Xerces-C++ DOM error * handler. * * @param is A standrad input stream. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Count > Count_ (::std::istream& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id. * * @param is A standrad input stream. * @param id A resource id. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::Count > Count_ (::std::istream& is, const ::std::string& id, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and an * error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Count > Count_ (::std::istream& is, const ::std::string& id, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and a * Xerces-C++ DOM error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Count > Count_ (::std::istream& is, const ::std::string& id, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source. * * @param is A Xerces-C++ input source. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::Count > Count_ (::xercesc::InputSource& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with an error handler. * * @param is A Xerces-C++ input source. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Count > Count_ (::xercesc::InputSource& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with a Xerces-C++ DOM * error handler. * * @param is A Xerces-C++ input source. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Count > Count_ (::xercesc::InputSource& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::Count > Count_ (const ::xercesc::DOMDocument& d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A pointer to the Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function is normally used together with the keep_dom and * own_dom parsing flags to assign ownership of the DOM document * to the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::Count > Count_ (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); //@} /** * @name Parsing functions for the %CountList document root. */ //@{ /** * @brief Parse a URI or a local file. * * @param uri A URI or a local file name. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::integerOrNilReasonList > CountList (const ::std::string& uri, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with an error handler. * * @param uri A URI or a local file name. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::integerOrNilReasonList > CountList (const ::std::string& uri, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with a Xerces-C++ DOM error * handler. * * @param uri A URI or a local file name. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::integerOrNilReasonList > CountList (const ::std::string& uri, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream. * * @param is A standrad input stream. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::integerOrNilReasonList > CountList (::std::istream& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with an error handler. * * @param is A standrad input stream. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::integerOrNilReasonList > CountList (::std::istream& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a Xerces-C++ DOM error * handler. * * @param is A standrad input stream. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::integerOrNilReasonList > CountList (::std::istream& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id. * * @param is A standrad input stream. * @param id A resource id. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::integerOrNilReasonList > CountList (::std::istream& is, const ::std::string& id, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and an * error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::integerOrNilReasonList > CountList (::std::istream& is, const ::std::string& id, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and a * Xerces-C++ DOM error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::integerOrNilReasonList > CountList (::std::istream& is, const ::std::string& id, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source. * * @param is A Xerces-C++ input source. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::integerOrNilReasonList > CountList (::xercesc::InputSource& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with an error handler. * * @param is A Xerces-C++ input source. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::integerOrNilReasonList > CountList (::xercesc::InputSource& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with a Xerces-C++ DOM * error handler. * * @param is A Xerces-C++ input source. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::integerOrNilReasonList > CountList (::xercesc::InputSource& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::integerOrNilReasonList > CountList (const ::xercesc::DOMDocument& d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A pointer to the Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function is normally used together with the keep_dom and * own_dom parsing flags to assign ownership of the DOM document * to the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::integerOrNilReasonList > CountList (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); //@} /** * @name Parsing functions for the %Quantity document root. * * An XML attribute uom ("unit of measure") is required, whose value is a * URI which identifies the definition of a ratio scale or units by which * the numeric value shall be multiplied, or an interval or position * scale on which the value occurs. */ //@{ /** * @brief Parse a URI or a local file. * * @param uri A URI or a local file name. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::Quantity > Quantity_ (const ::std::string& uri, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with an error handler. * * @param uri A URI or a local file name. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Quantity > Quantity_ (const ::std::string& uri, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with a Xerces-C++ DOM error * handler. * * @param uri A URI or a local file name. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Quantity > Quantity_ (const ::std::string& uri, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream. * * @param is A standrad input stream. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::Quantity > Quantity_ (::std::istream& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with an error handler. * * @param is A standrad input stream. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Quantity > Quantity_ (::std::istream& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a Xerces-C++ DOM error * handler. * * @param is A standrad input stream. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Quantity > Quantity_ (::std::istream& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id. * * @param is A standrad input stream. * @param id A resource id. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::Quantity > Quantity_ (::std::istream& is, const ::std::string& id, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and an * error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Quantity > Quantity_ (::std::istream& is, const ::std::string& id, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and a * Xerces-C++ DOM error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Quantity > Quantity_ (::std::istream& is, const ::std::string& id, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source. * * @param is A Xerces-C++ input source. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::Quantity > Quantity_ (::xercesc::InputSource& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with an error handler. * * @param is A Xerces-C++ input source. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Quantity > Quantity_ (::xercesc::InputSource& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with a Xerces-C++ DOM * error handler. * * @param is A Xerces-C++ input source. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Quantity > Quantity_ (::xercesc::InputSource& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::Quantity > Quantity_ (const ::xercesc::DOMDocument& d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A pointer to the Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function is normally used together with the keep_dom and * own_dom parsing flags to assign ownership of the DOM document * to the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::Quantity > Quantity_ (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); //@} /** * @name Parsing functions for the %QuantityList document root. */ //@{ /** * @brief Parse a URI or a local file. * * @param uri A URI or a local file name. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::MeasureOrNilReasonListType > QuantityList (const ::std::string& uri, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with an error handler. * * @param uri A URI or a local file name. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::MeasureOrNilReasonListType > QuantityList (const ::std::string& uri, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with a Xerces-C++ DOM error * handler. * * @param uri A URI or a local file name. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::MeasureOrNilReasonListType > QuantityList (const ::std::string& uri, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream. * * @param is A standrad input stream. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::MeasureOrNilReasonListType > QuantityList (::std::istream& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with an error handler. * * @param is A standrad input stream. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::MeasureOrNilReasonListType > QuantityList (::std::istream& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a Xerces-C++ DOM error * handler. * * @param is A standrad input stream. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::MeasureOrNilReasonListType > QuantityList (::std::istream& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id. * * @param is A standrad input stream. * @param id A resource id. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::MeasureOrNilReasonListType > QuantityList (::std::istream& is, const ::std::string& id, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and an * error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::MeasureOrNilReasonListType > QuantityList (::std::istream& is, const ::std::string& id, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and a * Xerces-C++ DOM error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::MeasureOrNilReasonListType > QuantityList (::std::istream& is, const ::std::string& id, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source. * * @param is A Xerces-C++ input source. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::MeasureOrNilReasonListType > QuantityList (::xercesc::InputSource& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with an error handler. * * @param is A Xerces-C++ input source. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::MeasureOrNilReasonListType > QuantityList (::xercesc::InputSource& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with a Xerces-C++ DOM * error handler. * * @param is A Xerces-C++ input source. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::MeasureOrNilReasonListType > QuantityList (::xercesc::InputSource& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::MeasureOrNilReasonListType > QuantityList (const ::xercesc::DOMDocument& d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A pointer to the Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function is normally used together with the keep_dom and * own_dom parsing flags to assign ownership of the DOM document * to the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::MeasureOrNilReasonListType > QuantityList (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); //@} /** * @name Parsing functions for the %AbstractValue document root. * * gml:AbstractValue is an abstract element which acts as the head of a * substitution group which contains gml:AbstractScalarValue, * gml:AbstractScalarValueList, gml:CompositeValue and gml:ValueExtent, * and (transitively) the elements in their substitution groups. * These elements may be used in an application schema as variables, so * that in an XML instance document any member of its substitution group * may occur. */ //@{ /** * @brief Parse a URI or a local file. * * @param uri A URI or a local file name. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractValue (const ::std::string& uri, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with an error handler. * * @param uri A URI or a local file name. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractValue (const ::std::string& uri, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with a Xerces-C++ DOM error * handler. * * @param uri A URI or a local file name. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractValue (const ::std::string& uri, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream. * * @param is A standrad input stream. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractValue (::std::istream& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with an error handler. * * @param is A standrad input stream. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractValue (::std::istream& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a Xerces-C++ DOM error * handler. * * @param is A standrad input stream. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractValue (::std::istream& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id. * * @param is A standrad input stream. * @param id A resource id. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractValue (::std::istream& is, const ::std::string& id, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and an * error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractValue (::std::istream& is, const ::std::string& id, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and a * Xerces-C++ DOM error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractValue (::std::istream& is, const ::std::string& id, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source. * * @param is A Xerces-C++ input source. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractValue (::xercesc::InputSource& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with an error handler. * * @param is A Xerces-C++ input source. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractValue (::xercesc::InputSource& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with a Xerces-C++ DOM * error handler. * * @param is A Xerces-C++ input source. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractValue (::xercesc::InputSource& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractValue (const ::xercesc::DOMDocument& d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A pointer to the Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function is normally used together with the keep_dom and * own_dom parsing flags to assign ownership of the DOM document * to the object model. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractValue (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); //@} /** * @name Parsing functions for the %AbstractScalarValue document root. * * gml:AbstractScalarValue is an abstract element which acts as the head * of a substitution group which contains gml:Boolean, gml:Category, * gml:Count and gml:Quantity, and (transitively) the elements in their * substitution groups. */ //@{ /** * @brief Parse a URI or a local file. * * @param uri A URI or a local file name. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValue (const ::std::string& uri, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with an error handler. * * @param uri A URI or a local file name. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValue (const ::std::string& uri, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with a Xerces-C++ DOM error * handler. * * @param uri A URI or a local file name. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValue (const ::std::string& uri, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream. * * @param is A standrad input stream. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValue (::std::istream& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with an error handler. * * @param is A standrad input stream. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValue (::std::istream& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a Xerces-C++ DOM error * handler. * * @param is A standrad input stream. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValue (::std::istream& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id. * * @param is A standrad input stream. * @param id A resource id. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValue (::std::istream& is, const ::std::string& id, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and an * error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValue (::std::istream& is, const ::std::string& id, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and a * Xerces-C++ DOM error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValue (::std::istream& is, const ::std::string& id, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source. * * @param is A Xerces-C++ input source. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValue (::xercesc::InputSource& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with an error handler. * * @param is A Xerces-C++ input source. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValue (::xercesc::InputSource& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with a Xerces-C++ DOM * error handler. * * @param is A Xerces-C++ input source. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValue (::xercesc::InputSource& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValue (const ::xercesc::DOMDocument& d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A pointer to the Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function is normally used together with the keep_dom and * own_dom parsing flags to assign ownership of the DOM document * to the object model. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValue (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); //@} /** * @name Parsing functions for the %AbstractScalarValueList document root. * * gml:AbstractScalarValueList is an abstract element which acts as the * head of a substitution group which contains gml:BooleanList, * gml:CategoryList, gml:CountList and gml:QuantityList, and * (transitively) the elements in their substitution groups. */ //@{ /** * @brief Parse a URI or a local file. * * @param uri A URI or a local file name. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValueList (const ::std::string& uri, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with an error handler. * * @param uri A URI or a local file name. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValueList (const ::std::string& uri, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with a Xerces-C++ DOM error * handler. * * @param uri A URI or a local file name. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValueList (const ::std::string& uri, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream. * * @param is A standrad input stream. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValueList (::std::istream& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with an error handler. * * @param is A standrad input stream. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValueList (::std::istream& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a Xerces-C++ DOM error * handler. * * @param is A standrad input stream. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValueList (::std::istream& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id. * * @param is A standrad input stream. * @param id A resource id. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValueList (::std::istream& is, const ::std::string& id, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and an * error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValueList (::std::istream& is, const ::std::string& id, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and a * Xerces-C++ DOM error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValueList (::std::istream& is, const ::std::string& id, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source. * * @param is A Xerces-C++ input source. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValueList (::xercesc::InputSource& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with an error handler. * * @param is A Xerces-C++ input source. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValueList (::xercesc::InputSource& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with a Xerces-C++ DOM * error handler. * * @param is A Xerces-C++ input source. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValueList (::xercesc::InputSource& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValueList (const ::xercesc::DOMDocument& d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A pointer to the Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function is normally used together with the keep_dom and * own_dom parsing flags to assign ownership of the DOM document * to the object model. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValueList (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); //@} /** * @name Parsing functions for the %valueProperty document root. * * Property that refers to, or contains, a Value. Convenience element for * general use. */ //@{ /** * @brief Parse a URI or a local file. * * @param uri A URI or a local file name. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueProperty (const ::std::string& uri, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with an error handler. * * @param uri A URI or a local file name. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueProperty (const ::std::string& uri, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with a Xerces-C++ DOM error * handler. * * @param uri A URI or a local file name. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueProperty (const ::std::string& uri, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream. * * @param is A standrad input stream. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueProperty (::std::istream& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with an error handler. * * @param is A standrad input stream. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueProperty (::std::istream& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a Xerces-C++ DOM error * handler. * * @param is A standrad input stream. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueProperty (::std::istream& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id. * * @param is A standrad input stream. * @param id A resource id. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueProperty (::std::istream& is, const ::std::string& id, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and an * error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueProperty (::std::istream& is, const ::std::string& id, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and a * Xerces-C++ DOM error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueProperty (::std::istream& is, const ::std::string& id, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source. * * @param is A Xerces-C++ input source. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueProperty (::xercesc::InputSource& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with an error handler. * * @param is A Xerces-C++ input source. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueProperty (::xercesc::InputSource& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with a Xerces-C++ DOM * error handler. * * @param is A Xerces-C++ input source. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueProperty (::xercesc::InputSource& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueProperty (const ::xercesc::DOMDocument& d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A pointer to the Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function is normally used together with the keep_dom and * own_dom parsing flags to assign ownership of the DOM document * to the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueProperty (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); //@} /** * @name Parsing functions for the %valueComponent document root. * * Property that refers to, or contains, a Value. */ //@{ /** * @brief Parse a URI or a local file. * * @param uri A URI or a local file name. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueComponent (const ::std::string& uri, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with an error handler. * * @param uri A URI or a local file name. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueComponent (const ::std::string& uri, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with a Xerces-C++ DOM error * handler. * * @param uri A URI or a local file name. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueComponent (const ::std::string& uri, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream. * * @param is A standrad input stream. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueComponent (::std::istream& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with an error handler. * * @param is A standrad input stream. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueComponent (::std::istream& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a Xerces-C++ DOM error * handler. * * @param is A standrad input stream. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueComponent (::std::istream& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id. * * @param is A standrad input stream. * @param id A resource id. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueComponent (::std::istream& is, const ::std::string& id, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and an * error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueComponent (::std::istream& is, const ::std::string& id, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and a * Xerces-C++ DOM error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueComponent (::std::istream& is, const ::std::string& id, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source. * * @param is A Xerces-C++ input source. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueComponent (::xercesc::InputSource& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with an error handler. * * @param is A Xerces-C++ input source. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueComponent (::xercesc::InputSource& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with a Xerces-C++ DOM * error handler. * * @param is A Xerces-C++ input source. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueComponent (::xercesc::InputSource& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueComponent (const ::xercesc::DOMDocument& d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A pointer to the Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function is normally used together with the keep_dom and * own_dom parsing flags to assign ownership of the DOM document * to the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueComponent (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); //@} /** * @name Parsing functions for the %valueComponents document root. * * Property that contains Values. */ //@{ /** * @brief Parse a URI or a local file. * * @param uri A URI or a local file name. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayPropertyType > valueComponents (const ::std::string& uri, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with an error handler. * * @param uri A URI or a local file name. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayPropertyType > valueComponents (const ::std::string& uri, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with a Xerces-C++ DOM error * handler. * * @param uri A URI or a local file name. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayPropertyType > valueComponents (const ::std::string& uri, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream. * * @param is A standrad input stream. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayPropertyType > valueComponents (::std::istream& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with an error handler. * * @param is A standrad input stream. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayPropertyType > valueComponents (::std::istream& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a Xerces-C++ DOM error * handler. * * @param is A standrad input stream. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayPropertyType > valueComponents (::std::istream& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id. * * @param is A standrad input stream. * @param id A resource id. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayPropertyType > valueComponents (::std::istream& is, const ::std::string& id, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and an * error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayPropertyType > valueComponents (::std::istream& is, const ::std::string& id, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and a * Xerces-C++ DOM error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayPropertyType > valueComponents (::std::istream& is, const ::std::string& id, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source. * * @param is A Xerces-C++ input source. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayPropertyType > valueComponents (::xercesc::InputSource& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with an error handler. * * @param is A Xerces-C++ input source. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayPropertyType > valueComponents (::xercesc::InputSource& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with a Xerces-C++ DOM * error handler. * * @param is A Xerces-C++ input source. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayPropertyType > valueComponents (::xercesc::InputSource& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayPropertyType > valueComponents (const ::xercesc::DOMDocument& d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A pointer to the Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function is normally used together with the keep_dom and * own_dom parsing flags to assign ownership of the DOM document * to the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayPropertyType > valueComponents (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); //@} /** * @name Parsing functions for the %CompositeValue document root. * * gml:CompositeValue is an aggregate value built from other values . It * contains zero or an arbitrary number of gml:valueComponent elements, * and zero or one gml:valueComponents property elements. It may be used * for strongly coupled aggregates (vectors, tensors) or for arbitrary * collections of values. */ //@{ /** * @brief Parse a URI or a local file. * * @param uri A URI or a local file name. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::CompositeValueType > CompositeValue (const ::std::string& uri, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with an error handler. * * @param uri A URI or a local file name. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CompositeValueType > CompositeValue (const ::std::string& uri, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with a Xerces-C++ DOM error * handler. * * @param uri A URI or a local file name. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CompositeValueType > CompositeValue (const ::std::string& uri, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream. * * @param is A standrad input stream. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::CompositeValueType > CompositeValue (::std::istream& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with an error handler. * * @param is A standrad input stream. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CompositeValueType > CompositeValue (::std::istream& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a Xerces-C++ DOM error * handler. * * @param is A standrad input stream. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CompositeValueType > CompositeValue (::std::istream& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id. * * @param is A standrad input stream. * @param id A resource id. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::CompositeValueType > CompositeValue (::std::istream& is, const ::std::string& id, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and an * error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CompositeValueType > CompositeValue (::std::istream& is, const ::std::string& id, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and a * Xerces-C++ DOM error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CompositeValueType > CompositeValue (::std::istream& is, const ::std::string& id, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source. * * @param is A Xerces-C++ input source. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::CompositeValueType > CompositeValue (::xercesc::InputSource& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with an error handler. * * @param is A Xerces-C++ input source. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CompositeValueType > CompositeValue (::xercesc::InputSource& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with a Xerces-C++ DOM * error handler. * * @param is A Xerces-C++ input source. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CompositeValueType > CompositeValue (::xercesc::InputSource& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::CompositeValueType > CompositeValue (const ::xercesc::DOMDocument& d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A pointer to the Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function is normally used together with the keep_dom and * own_dom parsing flags to assign ownership of the DOM document * to the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::CompositeValueType > CompositeValue (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); //@} /** * @name Parsing functions for the %ValueArray document root. * * A Value Array is used for homogeneous arrays of primitive and * aggregate values. * The member values may be scalars, composites, arrays or lists. * ValueArray has the same content model as CompositeValue, but the * member values shall be homogeneous. The element declaration contains * a Schematron constraint which expresses this restriction precisely. * Since the members are homogeneous, the gml:referenceSystem (uom, * codeSpace) may be specified on the gml:ValueArray itself and inherited * by all the members if desired. */ //@{ /** * @brief Parse a URI or a local file. * * @param uri A URI or a local file name. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayType > ValueArray (const ::std::string& uri, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with an error handler. * * @param uri A URI or a local file name. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayType > ValueArray (const ::std::string& uri, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with a Xerces-C++ DOM error * handler. * * @param uri A URI or a local file name. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayType > ValueArray (const ::std::string& uri, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream. * * @param is A standrad input stream. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayType > ValueArray (::std::istream& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with an error handler. * * @param is A standrad input stream. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayType > ValueArray (::std::istream& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a Xerces-C++ DOM error * handler. * * @param is A standrad input stream. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayType > ValueArray (::std::istream& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id. * * @param is A standrad input stream. * @param id A resource id. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayType > ValueArray (::std::istream& is, const ::std::string& id, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and an * error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayType > ValueArray (::std::istream& is, const ::std::string& id, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and a * Xerces-C++ DOM error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayType > ValueArray (::std::istream& is, const ::std::string& id, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source. * * @param is A Xerces-C++ input source. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayType > ValueArray (::xercesc::InputSource& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with an error handler. * * @param is A Xerces-C++ input source. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayType > ValueArray (::xercesc::InputSource& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with a Xerces-C++ DOM * error handler. * * @param is A Xerces-C++ input source. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayType > ValueArray (::xercesc::InputSource& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayType > ValueArray (const ::xercesc::DOMDocument& d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A pointer to the Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function is normally used together with the keep_dom and * own_dom parsing flags to assign ownership of the DOM document * to the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayType > ValueArray (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); //@} /** * @name Parsing functions for the %CategoryExtent document root. */ //@{ /** * @brief Parse a URI or a local file. * * @param uri A URI or a local file name. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::CategoryExtentType > CategoryExtent (const ::std::string& uri, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with an error handler. * * @param uri A URI or a local file name. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CategoryExtentType > CategoryExtent (const ::std::string& uri, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with a Xerces-C++ DOM error * handler. * * @param uri A URI or a local file name. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CategoryExtentType > CategoryExtent (const ::std::string& uri, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream. * * @param is A standrad input stream. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::CategoryExtentType > CategoryExtent (::std::istream& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with an error handler. * * @param is A standrad input stream. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CategoryExtentType > CategoryExtent (::std::istream& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a Xerces-C++ DOM error * handler. * * @param is A standrad input stream. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CategoryExtentType > CategoryExtent (::std::istream& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id. * * @param is A standrad input stream. * @param id A resource id. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::CategoryExtentType > CategoryExtent (::std::istream& is, const ::std::string& id, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and an * error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CategoryExtentType > CategoryExtent (::std::istream& is, const ::std::string& id, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and a * Xerces-C++ DOM error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CategoryExtentType > CategoryExtent (::std::istream& is, const ::std::string& id, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source. * * @param is A Xerces-C++ input source. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::CategoryExtentType > CategoryExtent (::xercesc::InputSource& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with an error handler. * * @param is A Xerces-C++ input source. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CategoryExtentType > CategoryExtent (::xercesc::InputSource& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with a Xerces-C++ DOM * error handler. * * @param is A Xerces-C++ input source. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CategoryExtentType > CategoryExtent (::xercesc::InputSource& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::CategoryExtentType > CategoryExtent (const ::xercesc::DOMDocument& d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A pointer to the Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function is normally used together with the keep_dom and * own_dom parsing flags to assign ownership of the DOM document * to the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::CategoryExtentType > CategoryExtent (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); //@} /** * @name Parsing functions for the %CountExtent document root. */ //@{ /** * @brief Parse a URI or a local file. * * @param uri A URI or a local file name. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::CountExtentType > CountExtent (const ::std::string& uri, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with an error handler. * * @param uri A URI or a local file name. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CountExtentType > CountExtent (const ::std::string& uri, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with a Xerces-C++ DOM error * handler. * * @param uri A URI or a local file name. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CountExtentType > CountExtent (const ::std::string& uri, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream. * * @param is A standrad input stream. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::CountExtentType > CountExtent (::std::istream& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with an error handler. * * @param is A standrad input stream. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CountExtentType > CountExtent (::std::istream& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a Xerces-C++ DOM error * handler. * * @param is A standrad input stream. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CountExtentType > CountExtent (::std::istream& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id. * * @param is A standrad input stream. * @param id A resource id. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::CountExtentType > CountExtent (::std::istream& is, const ::std::string& id, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and an * error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CountExtentType > CountExtent (::std::istream& is, const ::std::string& id, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and a * Xerces-C++ DOM error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CountExtentType > CountExtent (::std::istream& is, const ::std::string& id, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source. * * @param is A Xerces-C++ input source. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::CountExtentType > CountExtent (::xercesc::InputSource& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with an error handler. * * @param is A Xerces-C++ input source. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CountExtentType > CountExtent (::xercesc::InputSource& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with a Xerces-C++ DOM * error handler. * * @param is A Xerces-C++ input source. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CountExtentType > CountExtent (::xercesc::InputSource& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::CountExtentType > CountExtent (const ::xercesc::DOMDocument& d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A pointer to the Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function is normally used together with the keep_dom and * own_dom parsing flags to assign ownership of the DOM document * to the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::CountExtentType > CountExtent (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); //@} /** * @name Parsing functions for the %QuantityExtent document root. */ //@{ /** * @brief Parse a URI or a local file. * * @param uri A URI or a local file name. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::QuantityExtentType > QuantityExtent (const ::std::string& uri, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with an error handler. * * @param uri A URI or a local file name. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::QuantityExtentType > QuantityExtent (const ::std::string& uri, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with a Xerces-C++ DOM error * handler. * * @param uri A URI or a local file name. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::QuantityExtentType > QuantityExtent (const ::std::string& uri, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream. * * @param is A standrad input stream. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::QuantityExtentType > QuantityExtent (::std::istream& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with an error handler. * * @param is A standrad input stream. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::QuantityExtentType > QuantityExtent (::std::istream& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a Xerces-C++ DOM error * handler. * * @param is A standrad input stream. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::QuantityExtentType > QuantityExtent (::std::istream& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id. * * @param is A standrad input stream. * @param id A resource id. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::QuantityExtentType > QuantityExtent (::std::istream& is, const ::std::string& id, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and an * error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::QuantityExtentType > QuantityExtent (::std::istream& is, const ::std::string& id, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and a * Xerces-C++ DOM error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::QuantityExtentType > QuantityExtent (::std::istream& is, const ::std::string& id, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source. * * @param is A Xerces-C++ input source. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::QuantityExtentType > QuantityExtent (::xercesc::InputSource& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with an error handler. * * @param is A Xerces-C++ input source. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::QuantityExtentType > QuantityExtent (::xercesc::InputSource& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with a Xerces-C++ DOM * error handler. * * @param is A Xerces-C++ input source. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::QuantityExtentType > QuantityExtent (::xercesc::InputSource& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::QuantityExtentType > QuantityExtent (const ::xercesc::DOMDocument& d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A pointer to the Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function is normally used together with the keep_dom and * own_dom parsing flags to assign ownership of the DOM document * to the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::QuantityExtentType > QuantityExtent (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); //@} } #include #include #include #include #include namespace gml32 { /** * @name Serialization functions for the %Boolean document root. */ //@{ /** * @brief Serialize to a standard output stream. * * @param os A standrad output stream. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void Boolean_ (::std::ostream& os, const ::gml32::Boolean& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with an error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void Boolean_ (::std::ostream& os, const ::gml32::Boolean& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with a Xerces-C++ DOM * error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void Boolean_ (::std::ostream& os, const ::gml32::Boolean& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void Boolean_ (::xercesc::XMLFormatTarget& ft, const ::gml32::Boolean& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with an error * handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void Boolean_ (::xercesc::XMLFormatTarget& ft, const ::gml32::Boolean& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with a * Xerces-C++ DOM error handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void Boolean_ (::xercesc::XMLFormatTarget& ft, const ::gml32::Boolean& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to an existing Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param x An object model to serialize. * @param f Serialization flags. * * Note that it is your responsibility to create the DOM document * with the correct root element as well as set the necessary * namespace mapping attributes. */ GEODESYML_API void Boolean_ (::xercesc::DOMDocument& d, const ::gml32::Boolean& x, ::xml_schema::flags f = 0); /** * @brief Serialize to a new Xerces-C++ DOM document. * * @param x An object model to serialize. * @param m A namespace information map. * @param f Serialization flags. * @return A pointer to the new Xerces-C++ DOM document. */ GEODESYML_API ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > Boolean_ (const ::gml32::Boolean& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), ::xml_schema::flags f = 0); //@} /** * @name Serialization functions for the %BooleanList document root. */ //@{ /** * @brief Serialize to a standard output stream. * * @param os A standrad output stream. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void BooleanList (::std::ostream& os, const ::gml32::booleanOrNilReasonList& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with an error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void BooleanList (::std::ostream& os, const ::gml32::booleanOrNilReasonList& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with a Xerces-C++ DOM * error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void BooleanList (::std::ostream& os, const ::gml32::booleanOrNilReasonList& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void BooleanList (::xercesc::XMLFormatTarget& ft, const ::gml32::booleanOrNilReasonList& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with an error * handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void BooleanList (::xercesc::XMLFormatTarget& ft, const ::gml32::booleanOrNilReasonList& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with a * Xerces-C++ DOM error handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void BooleanList (::xercesc::XMLFormatTarget& ft, const ::gml32::booleanOrNilReasonList& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to an existing Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param x An object model to serialize. * @param f Serialization flags. * * Note that it is your responsibility to create the DOM document * with the correct root element as well as set the necessary * namespace mapping attributes. */ GEODESYML_API void BooleanList (::xercesc::DOMDocument& d, const ::gml32::booleanOrNilReasonList& x, ::xml_schema::flags f = 0); /** * @brief Serialize to a new Xerces-C++ DOM document. * * @param x An object model to serialize. * @param m A namespace information map. * @param f Serialization flags. * @return A pointer to the new Xerces-C++ DOM document. */ GEODESYML_API ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > BooleanList (const ::gml32::booleanOrNilReasonList& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), ::xml_schema::flags f = 0); //@} /** * @name Serialization functions for the %Category document root. * * A gml:Category has an optional XML attribute codeSpace, whose value is * a URI which identifies a dictionary, codelist or authority for the * term. */ //@{ /** * @brief Serialize to a standard output stream. * * @param os A standrad output stream. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void Category_ (::std::ostream& os, const ::gml32::Category& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with an error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void Category_ (::std::ostream& os, const ::gml32::Category& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with a Xerces-C++ DOM * error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void Category_ (::std::ostream& os, const ::gml32::Category& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void Category_ (::xercesc::XMLFormatTarget& ft, const ::gml32::Category& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with an error * handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void Category_ (::xercesc::XMLFormatTarget& ft, const ::gml32::Category& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with a * Xerces-C++ DOM error handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void Category_ (::xercesc::XMLFormatTarget& ft, const ::gml32::Category& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to an existing Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param x An object model to serialize. * @param f Serialization flags. * * Note that it is your responsibility to create the DOM document * with the correct root element as well as set the necessary * namespace mapping attributes. */ GEODESYML_API void Category_ (::xercesc::DOMDocument& d, const ::gml32::Category& x, ::xml_schema::flags f = 0); /** * @brief Serialize to a new Xerces-C++ DOM document. * * @param x An object model to serialize. * @param m A namespace information map. * @param f Serialization flags. * @return A pointer to the new Xerces-C++ DOM document. */ GEODESYML_API ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > Category_ (const ::gml32::Category& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), ::xml_schema::flags f = 0); //@} /** * @name Serialization functions for the %CategoryList document root. */ //@{ /** * @brief Serialize to a standard output stream. * * @param os A standrad output stream. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void CategoryList (::std::ostream& os, const ::gml32::CodeOrNilReasonListType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with an error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void CategoryList (::std::ostream& os, const ::gml32::CodeOrNilReasonListType& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with a Xerces-C++ DOM * error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void CategoryList (::std::ostream& os, const ::gml32::CodeOrNilReasonListType& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void CategoryList (::xercesc::XMLFormatTarget& ft, const ::gml32::CodeOrNilReasonListType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with an error * handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void CategoryList (::xercesc::XMLFormatTarget& ft, const ::gml32::CodeOrNilReasonListType& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with a * Xerces-C++ DOM error handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void CategoryList (::xercesc::XMLFormatTarget& ft, const ::gml32::CodeOrNilReasonListType& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to an existing Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param x An object model to serialize. * @param f Serialization flags. * * Note that it is your responsibility to create the DOM document * with the correct root element as well as set the necessary * namespace mapping attributes. */ GEODESYML_API void CategoryList (::xercesc::DOMDocument& d, const ::gml32::CodeOrNilReasonListType& x, ::xml_schema::flags f = 0); /** * @brief Serialize to a new Xerces-C++ DOM document. * * @param x An object model to serialize. * @param m A namespace information map. * @param f Serialization flags. * @return A pointer to the new Xerces-C++ DOM document. */ GEODESYML_API ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > CategoryList (const ::gml32::CodeOrNilReasonListType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), ::xml_schema::flags f = 0); //@} /** * @name Serialization functions for the %Count document root. */ //@{ /** * @brief Serialize to a standard output stream. * * @param os A standrad output stream. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void Count_ (::std::ostream& os, const ::gml32::Count& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with an error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void Count_ (::std::ostream& os, const ::gml32::Count& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with a Xerces-C++ DOM * error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void Count_ (::std::ostream& os, const ::gml32::Count& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void Count_ (::xercesc::XMLFormatTarget& ft, const ::gml32::Count& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with an error * handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void Count_ (::xercesc::XMLFormatTarget& ft, const ::gml32::Count& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with a * Xerces-C++ DOM error handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void Count_ (::xercesc::XMLFormatTarget& ft, const ::gml32::Count& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to an existing Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param x An object model to serialize. * @param f Serialization flags. * * Note that it is your responsibility to create the DOM document * with the correct root element as well as set the necessary * namespace mapping attributes. */ GEODESYML_API void Count_ (::xercesc::DOMDocument& d, const ::gml32::Count& x, ::xml_schema::flags f = 0); /** * @brief Serialize to a new Xerces-C++ DOM document. * * @param x An object model to serialize. * @param m A namespace information map. * @param f Serialization flags. * @return A pointer to the new Xerces-C++ DOM document. */ GEODESYML_API ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > Count_ (const ::gml32::Count& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), ::xml_schema::flags f = 0); //@} /** * @name Serialization functions for the %CountList document root. */ //@{ /** * @brief Serialize to a standard output stream. * * @param os A standrad output stream. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void CountList (::std::ostream& os, const ::gml32::integerOrNilReasonList& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with an error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void CountList (::std::ostream& os, const ::gml32::integerOrNilReasonList& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with a Xerces-C++ DOM * error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void CountList (::std::ostream& os, const ::gml32::integerOrNilReasonList& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void CountList (::xercesc::XMLFormatTarget& ft, const ::gml32::integerOrNilReasonList& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with an error * handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void CountList (::xercesc::XMLFormatTarget& ft, const ::gml32::integerOrNilReasonList& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with a * Xerces-C++ DOM error handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void CountList (::xercesc::XMLFormatTarget& ft, const ::gml32::integerOrNilReasonList& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to an existing Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param x An object model to serialize. * @param f Serialization flags. * * Note that it is your responsibility to create the DOM document * with the correct root element as well as set the necessary * namespace mapping attributes. */ GEODESYML_API void CountList (::xercesc::DOMDocument& d, const ::gml32::integerOrNilReasonList& x, ::xml_schema::flags f = 0); /** * @brief Serialize to a new Xerces-C++ DOM document. * * @param x An object model to serialize. * @param m A namespace information map. * @param f Serialization flags. * @return A pointer to the new Xerces-C++ DOM document. */ GEODESYML_API ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > CountList (const ::gml32::integerOrNilReasonList& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), ::xml_schema::flags f = 0); //@} /** * @name Serialization functions for the %Quantity document root. * * An XML attribute uom ("unit of measure") is required, whose value is a * URI which identifies the definition of a ratio scale or units by which * the numeric value shall be multiplied, or an interval or position * scale on which the value occurs. */ //@{ /** * @brief Serialize to a standard output stream. * * @param os A standrad output stream. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void Quantity_ (::std::ostream& os, const ::gml32::Quantity& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with an error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void Quantity_ (::std::ostream& os, const ::gml32::Quantity& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with a Xerces-C++ DOM * error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void Quantity_ (::std::ostream& os, const ::gml32::Quantity& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void Quantity_ (::xercesc::XMLFormatTarget& ft, const ::gml32::Quantity& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with an error * handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void Quantity_ (::xercesc::XMLFormatTarget& ft, const ::gml32::Quantity& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with a * Xerces-C++ DOM error handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void Quantity_ (::xercesc::XMLFormatTarget& ft, const ::gml32::Quantity& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to an existing Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param x An object model to serialize. * @param f Serialization flags. * * Note that it is your responsibility to create the DOM document * with the correct root element as well as set the necessary * namespace mapping attributes. */ GEODESYML_API void Quantity_ (::xercesc::DOMDocument& d, const ::gml32::Quantity& x, ::xml_schema::flags f = 0); /** * @brief Serialize to a new Xerces-C++ DOM document. * * @param x An object model to serialize. * @param m A namespace information map. * @param f Serialization flags. * @return A pointer to the new Xerces-C++ DOM document. */ GEODESYML_API ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > Quantity_ (const ::gml32::Quantity& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), ::xml_schema::flags f = 0); //@} /** * @name Serialization functions for the %QuantityList document root. */ //@{ /** * @brief Serialize to a standard output stream. * * @param os A standrad output stream. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void QuantityList (::std::ostream& os, const ::gml32::MeasureOrNilReasonListType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with an error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void QuantityList (::std::ostream& os, const ::gml32::MeasureOrNilReasonListType& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with a Xerces-C++ DOM * error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void QuantityList (::std::ostream& os, const ::gml32::MeasureOrNilReasonListType& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void QuantityList (::xercesc::XMLFormatTarget& ft, const ::gml32::MeasureOrNilReasonListType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with an error * handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void QuantityList (::xercesc::XMLFormatTarget& ft, const ::gml32::MeasureOrNilReasonListType& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with a * Xerces-C++ DOM error handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void QuantityList (::xercesc::XMLFormatTarget& ft, const ::gml32::MeasureOrNilReasonListType& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to an existing Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param x An object model to serialize. * @param f Serialization flags. * * Note that it is your responsibility to create the DOM document * with the correct root element as well as set the necessary * namespace mapping attributes. */ GEODESYML_API void QuantityList (::xercesc::DOMDocument& d, const ::gml32::MeasureOrNilReasonListType& x, ::xml_schema::flags f = 0); /** * @brief Serialize to a new Xerces-C++ DOM document. * * @param x An object model to serialize. * @param m A namespace information map. * @param f Serialization flags. * @return A pointer to the new Xerces-C++ DOM document. */ GEODESYML_API ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > QuantityList (const ::gml32::MeasureOrNilReasonListType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), ::xml_schema::flags f = 0); //@} /** * @name Serialization functions for the %AbstractValue document root. * * gml:AbstractValue is an abstract element which acts as the head of a * substitution group which contains gml:AbstractScalarValue, * gml:AbstractScalarValueList, gml:CompositeValue and gml:ValueExtent, * and (transitively) the elements in their substitution groups. * These elements may be used in an application schema as variables, so * that in an XML instance document any member of its substitution group * may occur. */ //@{ /** * @brief Serialize to a standard output stream. * * @param os A standrad output stream. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void AbstractValue (::std::ostream& os, const ::xml_schema::type& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with an error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void AbstractValue (::std::ostream& os, const ::xml_schema::type& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with a Xerces-C++ DOM * error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void AbstractValue (::std::ostream& os, const ::xml_schema::type& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void AbstractValue (::xercesc::XMLFormatTarget& ft, const ::xml_schema::type& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with an error * handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void AbstractValue (::xercesc::XMLFormatTarget& ft, const ::xml_schema::type& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with a * Xerces-C++ DOM error handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void AbstractValue (::xercesc::XMLFormatTarget& ft, const ::xml_schema::type& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to an existing Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param x An object model to serialize. * @param f Serialization flags. * * Note that it is your responsibility to create the DOM document * with the correct root element as well as set the necessary * namespace mapping attributes. */ GEODESYML_API void AbstractValue (::xercesc::DOMDocument& d, const ::xml_schema::type& x, ::xml_schema::flags f = 0); /** * @brief Serialize to a new Xerces-C++ DOM document. * * @param x An object model to serialize. * @param m A namespace information map. * @param f Serialization flags. * @return A pointer to the new Xerces-C++ DOM document. */ GEODESYML_API ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > AbstractValue (const ::xml_schema::type& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), ::xml_schema::flags f = 0); //@} /** * @name Serialization functions for the %AbstractScalarValue document root. * * gml:AbstractScalarValue is an abstract element which acts as the head * of a substitution group which contains gml:Boolean, gml:Category, * gml:Count and gml:Quantity, and (transitively) the elements in their * substitution groups. */ //@{ /** * @brief Serialize to a standard output stream. * * @param os A standrad output stream. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void AbstractScalarValue (::std::ostream& os, const ::xml_schema::type& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with an error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void AbstractScalarValue (::std::ostream& os, const ::xml_schema::type& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with a Xerces-C++ DOM * error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void AbstractScalarValue (::std::ostream& os, const ::xml_schema::type& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void AbstractScalarValue (::xercesc::XMLFormatTarget& ft, const ::xml_schema::type& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with an error * handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void AbstractScalarValue (::xercesc::XMLFormatTarget& ft, const ::xml_schema::type& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with a * Xerces-C++ DOM error handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void AbstractScalarValue (::xercesc::XMLFormatTarget& ft, const ::xml_schema::type& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to an existing Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param x An object model to serialize. * @param f Serialization flags. * * Note that it is your responsibility to create the DOM document * with the correct root element as well as set the necessary * namespace mapping attributes. */ GEODESYML_API void AbstractScalarValue (::xercesc::DOMDocument& d, const ::xml_schema::type& x, ::xml_schema::flags f = 0); /** * @brief Serialize to a new Xerces-C++ DOM document. * * @param x An object model to serialize. * @param m A namespace information map. * @param f Serialization flags. * @return A pointer to the new Xerces-C++ DOM document. */ GEODESYML_API ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > AbstractScalarValue (const ::xml_schema::type& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), ::xml_schema::flags f = 0); //@} /** * @name Serialization functions for the %AbstractScalarValueList document root. * * gml:AbstractScalarValueList is an abstract element which acts as the * head of a substitution group which contains gml:BooleanList, * gml:CategoryList, gml:CountList and gml:QuantityList, and * (transitively) the elements in their substitution groups. */ //@{ /** * @brief Serialize to a standard output stream. * * @param os A standrad output stream. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void AbstractScalarValueList (::std::ostream& os, const ::xml_schema::type& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with an error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void AbstractScalarValueList (::std::ostream& os, const ::xml_schema::type& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with a Xerces-C++ DOM * error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void AbstractScalarValueList (::std::ostream& os, const ::xml_schema::type& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void AbstractScalarValueList (::xercesc::XMLFormatTarget& ft, const ::xml_schema::type& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with an error * handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void AbstractScalarValueList (::xercesc::XMLFormatTarget& ft, const ::xml_schema::type& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with a * Xerces-C++ DOM error handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void AbstractScalarValueList (::xercesc::XMLFormatTarget& ft, const ::xml_schema::type& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to an existing Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param x An object model to serialize. * @param f Serialization flags. * * Note that it is your responsibility to create the DOM document * with the correct root element as well as set the necessary * namespace mapping attributes. */ GEODESYML_API void AbstractScalarValueList (::xercesc::DOMDocument& d, const ::xml_schema::type& x, ::xml_schema::flags f = 0); /** * @brief Serialize to a new Xerces-C++ DOM document. * * @param x An object model to serialize. * @param m A namespace information map. * @param f Serialization flags. * @return A pointer to the new Xerces-C++ DOM document. */ GEODESYML_API ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > AbstractScalarValueList (const ::xml_schema::type& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), ::xml_schema::flags f = 0); //@} /** * @name Serialization functions for the %valueProperty document root. * * Property that refers to, or contains, a Value. Convenience element for * general use. */ //@{ /** * @brief Serialize to a standard output stream. * * @param os A standrad output stream. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void valueProperty (::std::ostream& os, const ::gml32::ValuePropertyType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with an error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void valueProperty (::std::ostream& os, const ::gml32::ValuePropertyType& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with a Xerces-C++ DOM * error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void valueProperty (::std::ostream& os, const ::gml32::ValuePropertyType& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void valueProperty (::xercesc::XMLFormatTarget& ft, const ::gml32::ValuePropertyType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with an error * handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void valueProperty (::xercesc::XMLFormatTarget& ft, const ::gml32::ValuePropertyType& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with a * Xerces-C++ DOM error handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void valueProperty (::xercesc::XMLFormatTarget& ft, const ::gml32::ValuePropertyType& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to an existing Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param x An object model to serialize. * @param f Serialization flags. * * Note that it is your responsibility to create the DOM document * with the correct root element as well as set the necessary * namespace mapping attributes. */ GEODESYML_API void valueProperty (::xercesc::DOMDocument& d, const ::gml32::ValuePropertyType& x, ::xml_schema::flags f = 0); /** * @brief Serialize to a new Xerces-C++ DOM document. * * @param x An object model to serialize. * @param m A namespace information map. * @param f Serialization flags. * @return A pointer to the new Xerces-C++ DOM document. */ GEODESYML_API ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > valueProperty (const ::gml32::ValuePropertyType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), ::xml_schema::flags f = 0); //@} /** * @name Serialization functions for the %valueComponent document root. * * Property that refers to, or contains, a Value. */ //@{ /** * @brief Serialize to a standard output stream. * * @param os A standrad output stream. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void valueComponent (::std::ostream& os, const ::gml32::ValuePropertyType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with an error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void valueComponent (::std::ostream& os, const ::gml32::ValuePropertyType& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with a Xerces-C++ DOM * error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void valueComponent (::std::ostream& os, const ::gml32::ValuePropertyType& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void valueComponent (::xercesc::XMLFormatTarget& ft, const ::gml32::ValuePropertyType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with an error * handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void valueComponent (::xercesc::XMLFormatTarget& ft, const ::gml32::ValuePropertyType& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with a * Xerces-C++ DOM error handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void valueComponent (::xercesc::XMLFormatTarget& ft, const ::gml32::ValuePropertyType& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to an existing Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param x An object model to serialize. * @param f Serialization flags. * * Note that it is your responsibility to create the DOM document * with the correct root element as well as set the necessary * namespace mapping attributes. */ GEODESYML_API void valueComponent (::xercesc::DOMDocument& d, const ::gml32::ValuePropertyType& x, ::xml_schema::flags f = 0); /** * @brief Serialize to a new Xerces-C++ DOM document. * * @param x An object model to serialize. * @param m A namespace information map. * @param f Serialization flags. * @return A pointer to the new Xerces-C++ DOM document. */ GEODESYML_API ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > valueComponent (const ::gml32::ValuePropertyType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), ::xml_schema::flags f = 0); //@} /** * @name Serialization functions for the %valueComponents document root. * * Property that contains Values. */ //@{ /** * @brief Serialize to a standard output stream. * * @param os A standrad output stream. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void valueComponents (::std::ostream& os, const ::gml32::ValueArrayPropertyType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with an error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void valueComponents (::std::ostream& os, const ::gml32::ValueArrayPropertyType& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with a Xerces-C++ DOM * error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void valueComponents (::std::ostream& os, const ::gml32::ValueArrayPropertyType& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void valueComponents (::xercesc::XMLFormatTarget& ft, const ::gml32::ValueArrayPropertyType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with an error * handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void valueComponents (::xercesc::XMLFormatTarget& ft, const ::gml32::ValueArrayPropertyType& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with a * Xerces-C++ DOM error handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void valueComponents (::xercesc::XMLFormatTarget& ft, const ::gml32::ValueArrayPropertyType& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to an existing Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param x An object model to serialize. * @param f Serialization flags. * * Note that it is your responsibility to create the DOM document * with the correct root element as well as set the necessary * namespace mapping attributes. */ GEODESYML_API void valueComponents (::xercesc::DOMDocument& d, const ::gml32::ValueArrayPropertyType& x, ::xml_schema::flags f = 0); /** * @brief Serialize to a new Xerces-C++ DOM document. * * @param x An object model to serialize. * @param m A namespace information map. * @param f Serialization flags. * @return A pointer to the new Xerces-C++ DOM document. */ GEODESYML_API ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > valueComponents (const ::gml32::ValueArrayPropertyType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), ::xml_schema::flags f = 0); //@} /** * @name Serialization functions for the %CompositeValue document root. * * gml:CompositeValue is an aggregate value built from other values . It * contains zero or an arbitrary number of gml:valueComponent elements, * and zero or one gml:valueComponents property elements. It may be used * for strongly coupled aggregates (vectors, tensors) or for arbitrary * collections of values. */ //@{ /** * @brief Serialize to a standard output stream. * * @param os A standrad output stream. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void CompositeValue (::std::ostream& os, const ::gml32::CompositeValueType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with an error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void CompositeValue (::std::ostream& os, const ::gml32::CompositeValueType& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with a Xerces-C++ DOM * error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void CompositeValue (::std::ostream& os, const ::gml32::CompositeValueType& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void CompositeValue (::xercesc::XMLFormatTarget& ft, const ::gml32::CompositeValueType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with an error * handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void CompositeValue (::xercesc::XMLFormatTarget& ft, const ::gml32::CompositeValueType& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with a * Xerces-C++ DOM error handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void CompositeValue (::xercesc::XMLFormatTarget& ft, const ::gml32::CompositeValueType& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to an existing Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param x An object model to serialize. * @param f Serialization flags. * * Note that it is your responsibility to create the DOM document * with the correct root element as well as set the necessary * namespace mapping attributes. */ GEODESYML_API void CompositeValue (::xercesc::DOMDocument& d, const ::gml32::CompositeValueType& x, ::xml_schema::flags f = 0); /** * @brief Serialize to a new Xerces-C++ DOM document. * * @param x An object model to serialize. * @param m A namespace information map. * @param f Serialization flags. * @return A pointer to the new Xerces-C++ DOM document. */ GEODESYML_API ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > CompositeValue (const ::gml32::CompositeValueType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), ::xml_schema::flags f = 0); //@} /** * @name Serialization functions for the %ValueArray document root. * * A Value Array is used for homogeneous arrays of primitive and * aggregate values. * The member values may be scalars, composites, arrays or lists. * ValueArray has the same content model as CompositeValue, but the * member values shall be homogeneous. The element declaration contains * a Schematron constraint which expresses this restriction precisely. * Since the members are homogeneous, the gml:referenceSystem (uom, * codeSpace) may be specified on the gml:ValueArray itself and inherited * by all the members if desired. */ //@{ /** * @brief Serialize to a standard output stream. * * @param os A standrad output stream. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void ValueArray (::std::ostream& os, const ::gml32::ValueArrayType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with an error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void ValueArray (::std::ostream& os, const ::gml32::ValueArrayType& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with a Xerces-C++ DOM * error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void ValueArray (::std::ostream& os, const ::gml32::ValueArrayType& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void ValueArray (::xercesc::XMLFormatTarget& ft, const ::gml32::ValueArrayType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with an error * handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void ValueArray (::xercesc::XMLFormatTarget& ft, const ::gml32::ValueArrayType& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with a * Xerces-C++ DOM error handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void ValueArray (::xercesc::XMLFormatTarget& ft, const ::gml32::ValueArrayType& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to an existing Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param x An object model to serialize. * @param f Serialization flags. * * Note that it is your responsibility to create the DOM document * with the correct root element as well as set the necessary * namespace mapping attributes. */ GEODESYML_API void ValueArray (::xercesc::DOMDocument& d, const ::gml32::ValueArrayType& x, ::xml_schema::flags f = 0); /** * @brief Serialize to a new Xerces-C++ DOM document. * * @param x An object model to serialize. * @param m A namespace information map. * @param f Serialization flags. * @return A pointer to the new Xerces-C++ DOM document. */ GEODESYML_API ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > ValueArray (const ::gml32::ValueArrayType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), ::xml_schema::flags f = 0); //@} /** * @name Serialization functions for the %CategoryExtent document root. */ //@{ /** * @brief Serialize to a standard output stream. * * @param os A standrad output stream. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void CategoryExtent (::std::ostream& os, const ::gml32::CategoryExtentType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with an error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void CategoryExtent (::std::ostream& os, const ::gml32::CategoryExtentType& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with a Xerces-C++ DOM * error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void CategoryExtent (::std::ostream& os, const ::gml32::CategoryExtentType& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void CategoryExtent (::xercesc::XMLFormatTarget& ft, const ::gml32::CategoryExtentType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with an error * handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void CategoryExtent (::xercesc::XMLFormatTarget& ft, const ::gml32::CategoryExtentType& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with a * Xerces-C++ DOM error handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void CategoryExtent (::xercesc::XMLFormatTarget& ft, const ::gml32::CategoryExtentType& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to an existing Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param x An object model to serialize. * @param f Serialization flags. * * Note that it is your responsibility to create the DOM document * with the correct root element as well as set the necessary * namespace mapping attributes. */ GEODESYML_API void CategoryExtent (::xercesc::DOMDocument& d, const ::gml32::CategoryExtentType& x, ::xml_schema::flags f = 0); /** * @brief Serialize to a new Xerces-C++ DOM document. * * @param x An object model to serialize. * @param m A namespace information map. * @param f Serialization flags. * @return A pointer to the new Xerces-C++ DOM document. */ GEODESYML_API ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > CategoryExtent (const ::gml32::CategoryExtentType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), ::xml_schema::flags f = 0); //@} /** * @name Serialization functions for the %CountExtent document root. */ //@{ /** * @brief Serialize to a standard output stream. * * @param os A standrad output stream. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void CountExtent (::std::ostream& os, const ::gml32::CountExtentType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with an error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void CountExtent (::std::ostream& os, const ::gml32::CountExtentType& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with a Xerces-C++ DOM * error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void CountExtent (::std::ostream& os, const ::gml32::CountExtentType& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void CountExtent (::xercesc::XMLFormatTarget& ft, const ::gml32::CountExtentType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with an error * handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void CountExtent (::xercesc::XMLFormatTarget& ft, const ::gml32::CountExtentType& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with a * Xerces-C++ DOM error handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void CountExtent (::xercesc::XMLFormatTarget& ft, const ::gml32::CountExtentType& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to an existing Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param x An object model to serialize. * @param f Serialization flags. * * Note that it is your responsibility to create the DOM document * with the correct root element as well as set the necessary * namespace mapping attributes. */ GEODESYML_API void CountExtent (::xercesc::DOMDocument& d, const ::gml32::CountExtentType& x, ::xml_schema::flags f = 0); /** * @brief Serialize to a new Xerces-C++ DOM document. * * @param x An object model to serialize. * @param m A namespace information map. * @param f Serialization flags. * @return A pointer to the new Xerces-C++ DOM document. */ GEODESYML_API ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > CountExtent (const ::gml32::CountExtentType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), ::xml_schema::flags f = 0); //@} /** * @name Serialization functions for the %QuantityExtent document root. */ //@{ /** * @brief Serialize to a standard output stream. * * @param os A standrad output stream. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void QuantityExtent (::std::ostream& os, const ::gml32::QuantityExtentType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with an error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void QuantityExtent (::std::ostream& os, const ::gml32::QuantityExtentType& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with a Xerces-C++ DOM * error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void QuantityExtent (::std::ostream& os, const ::gml32::QuantityExtentType& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void QuantityExtent (::xercesc::XMLFormatTarget& ft, const ::gml32::QuantityExtentType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with an error * handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void QuantityExtent (::xercesc::XMLFormatTarget& ft, const ::gml32::QuantityExtentType& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with a * Xerces-C++ DOM error handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void QuantityExtent (::xercesc::XMLFormatTarget& ft, const ::gml32::QuantityExtentType& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to an existing Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param x An object model to serialize. * @param f Serialization flags. * * Note that it is your responsibility to create the DOM document * with the correct root element as well as set the necessary * namespace mapping attributes. */ GEODESYML_API void QuantityExtent (::xercesc::DOMDocument& d, const ::gml32::QuantityExtentType& x, ::xml_schema::flags f = 0); /** * @brief Serialize to a new Xerces-C++ DOM document. * * @param x An object model to serialize. * @param m A namespace information map. * @param f Serialization flags. * @return A pointer to the new Xerces-C++ DOM document. */ GEODESYML_API ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > QuantityExtent (const ::gml32::QuantityExtentType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), ::xml_schema::flags f = 0); //@} } #ifndef XSD_DONT_INCLUDE_INLINE #include "binding/valueObjects.ixx" #endif // XSD_DONT_INCLUDE_INLINE #include // Begin epilogue. // // // End epilogue. #endif // VALUE_OBJECTS_HXX The options for cxx-tree are: --file-per-type --output-dir binding --file-list $@ --file-list-prologue "gen := " --file-list-delim " \\\\n" --options-file common.options --options-file geodesyml.options geodesyml/geodesyml/GeodesyML.xsd common.options: --generate-serialization --generate-polymorphic --generate-inline --generate-doxygen --omit-default-attributes --export-symbol GEODESYML_API --hxx-prologue '#include "geodesyml.exports.hxx"' --output-dir binding/ --include-prefix binding/ --generate-ostream geodesyml.options: #--root-element GeodesyML --polymorphic-type-all --extern-xml-schema xml-schema.xsd --disable-warning F001 #--disable-warning T005 --namespace-map urn:xml-gov-au:icsm:egeodesy:0.2=geodesyml --namespace-map http://sopac.ucsd.edu/ns/geodesy/doc/igsSiteLog/2004=igsSiteLog --namespace-regex %.*/geodesy/doc/igsSiteLog/(.*)/2004%igsSiteLog$1% --namespace-regex %.*/geodesy/base/(.*)/20[0-9][0-9]/10%$1% --namespace-map http://www.opengis.net/gml/3.2=gml32 --namespace-map http://www.opengis.net/om/2.0=om --location-map http://sopac.ucsd.edu/ns/geodesy/doc/igsSiteLog/2004/igsSiteLog.xsd=../../igssitelog/igssitelog/igsSiteLog.xsd --location-regex %.*/geodesy/doc/igsSiteLog/(.*)/2004/(.*)%../../igssitelog/$1/$2% --location-regex %.*/geodesy/base/([^/]*)/.*/([^/]*)%../../igssitelog/$1/$2% --location-regex %http://schemas.opengis.net/gml/3.2.1/(.*)%../../gml/3.2.1/$1% --location-regex %http://schemas.opengis.net/om/2.0/(.*)%../../om/2.0/$1% --location-regex %.*/iso/19139/20070417/(.*)%../../iso19139/$1% --location-map http://www.w3.org/1999/xlink.xsd=../../xlink/1.0.0/xlink.xsd --location-map http://www.w3.org/2001/xml.xsd=../../xml/xml/xml.xsd # Resolve header inclusion guard conflict between BooleanPropertyType.hxx # and Boolean_PropertyType.hxx. # --type-file-regex %http://www.isotc211.org/2005/gco Boolean_PropertyType%GcoBooleanPropertyType% #--location-regex %.*/gml/3.2.1/(.*)%../../gml4geodesyml.xsd% What would be causing this compiler error? I could not find an option to generate forward declarations in the header file. Laurence Davies ____________________ Research Assistant in eGeodesy CRC-SI, UNSW Desk phone: (03) 8636 2373 Mobile: 0427 519 289 From boris at codesynthesis.com Wed Jul 15 13:11:34 2015 From: boris at codesynthesis.com (Boris Kolpackov) Date: Wed Jul 15 13:11:40 2015 Subject: [xsd-users] CodeSynthesis/tree (version 4.0.0) and Nvidia NVCC compiler (CUDA version 7.0) In-Reply-To: <32251234.2107614.1436472407138.JavaMail.yahoo@mail.yahoo.com> References: <32251234.2107614.1436472407138.JavaMail.yahoo@mail.yahoo.com> Message-ID: All, All Herald writes: > Thanks for the response. Looked at XSD/e and still having the same > issue. The problem is that the NVCC Compiler (CUDA 7.0) has this hard memory > limitation. Even with a fairly small schema of just a few bytes if you make > repeated calls the global const memory accumulates and very soon you hit > that hard limit imposed by the NVCC Compiler. So the issue quite frankly is > with the compiler, but that being said, the compiler is what it is. Would > you be able to download the the NVCC CUDA 7 compiler and take a look at this > if I send you a small example? You can probably recreate this easily of you > try and compile and link using a small schema repeatedly and includes the > CodeSynthesis headers. One possible way around this was to potentially to > try and use precompiled headers, but alas the NVCC compiler does not > currently support this feature. While I can try to reproduce this myself by downloading the NVCC compiler, etc., I would much prefer if you help "jump-start" my understanding of the problem and possible solutions. And, to be honest, I am just as clueless about what's going on as after your first email. Specifically: what exactly exhausts this "global const memory"? Is it the header sizes? Something specific in the headers? Number of inclusions? You say: "Even with a fairly small schema of just a few bytes if you make repeated calls [...]" What "calls" are you talking about? Calls to what exactly? Then you say: "[...] try and compile and link using a small schema repeatedly [...]" This doesn't make any sense to me at all: does this memory somehow persist over compile/link cycles? If so, can't you clear it before each recompile? Boris From loredofilms1 at yahoo.com Wed Jul 15 18:26:22 2015 From: loredofilms1 at yahoo.com (All Herald) Date: Wed Jul 15 18:26:31 2015 Subject: [xsd-users] CodeSynthesis/tree (version 4.0.0) and Nvidia NVCC compiler (CUDA version 7.0) In-Reply-To: References: Message-ID: <1879628193.3025281.1436999182473.JavaMail.yahoo@mail.yahoo.com> I will try to answer each of your questions: "Specifically: what exactly exhausts this "global constmemory"? ?Is it the header sizes? Number of inclusions? The short answer is that I really don't know what is causing it. Basically when I??include the *.hxx header files generated by CodeSynthesis from XSD schemas in *.cu source code to be compiled and linked under nvcc that is when the problem occurs. The nvcc compiler sets aside device-side storage in cuda global constant memory for every *.cu source file in which *.hxx files are included, and additional memory is required for each source file. The nvcc linker will fail whenever the cumulative global constant memory exceeds 64K bytes and this limits the number of source files. The header file size does not matter. If I take a very small header and include it many times it fails. If I take a larger header and include it just a few times it also fails. So the number of inclusions also does not seem to matter. But I could be wrong as this was just some random experiment. ?? "Something specific in the headers?" While we don't know the exact cause, it seems that the problem is that NVCC is misinterpreting some of the symbols in the CodeSynthesis header files. Why?? It appears ?that the NVCC compiler is encountering symbols in the libxsd /xsd/cxx/tree/ headers that it interprets as a request for constant global memory (CGM) space.? Each compilation unit - i.e.source file containing these headers - requires a few bytes of CGM which eventually exhausts the GCM cache. Attached trivial source file that includes and compiled it under nvcc for cuda 7.0. Compiler output below shows 16 bytes of CGM are required.? The number of CGM bytes will vary depending upon which CodeSynthesis headers are included.? If we were to make copies of the attached file and recompile, we would see 16 x # files bytes of CGM. Eventually (4K files!) we would exhaust the 64K CGM cache. CGM is a NVDIA cache for read-only memory. It should only be generated when one defines a global constant using the __constant__ keyword (which appears NOWHERE in CodeSynthesis, Boost, or Xerces). The issue is that something in or a file it contains is confusing the compiler. I have done some preliminary experiments and it appears that constructs like? return x_ != 0 ? &self_::true_ : 0; in that mix member function pointers and built-in types contribute to the problem. I realize that this is a bug in the NVCC compiler and not a limitation of CodeSynthesis ... but modifying CodeSynthesis might be the easiest way to resolve the problem. Every compiler has its unique quirks ...? PS All compiler options as below ... the include paths are required for boost version 1.57.0 and xerces 3.1.1 make all? Building file: ../boris.cu Invoking: NVCC Compiler /usr/local/cuda-7.0/bin/nvcc -DBOOST_NO_SFINAE_EXPR -I/home/main-server/cuda-workspace/3rd-party-libs/linux/codeSynthesis/xsd-4.0.0+dep/xsd/libxsd -I/usr/local/include -g -O0 -Xcompiler -fPIC -Xptxas -v -std=c++11 -gencode arch=compute_50,code=sm_50? -odir "." -M -o "boris.d" "../boris.cu" /usr/local/cuda-7.0/bin/nvcc -DBOOST_NO_SFINAE_EXPR -I/home/main-server/cuda-workspace/3rd-party-libs/linux/codeSynthesis/xsd-4.0.0+dep/xsd/libxsd -I/usr/local/include -g -O0 -Xcompiler -fPIC -Xptxas -v -std=c++11 --compile --relocatable-device-code=false -gencode arch=compute_50,code=compute_50 -gencode arch=compute_50,code=sm_50? -x cu -o? "boris.o" "../boris.cu" ptxas info??? : 8 bytes gmem, 16 bytes cmem[3] /home/main-server/cuda-workspace/3rd-party-libs/linux/codeSynthesis/xsd-4.0.0+dep/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function ?virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)?: /home/main-server/cuda-workspace/3rd-party-libs/linux/codeSynthesis/xsd-4.0.0+dep/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:78: warning: ?auto_ptr? is deprecated (declared at /usr/include/c++/4.8/backward/auto_ptr.h:87) [-Wdeprecated-declarations] ?????????? XSD_AUTO_PTR& m (dr ? dr->map_ : map_); ????????????????????????????????????????????????????????????????????????????? ^ Finished building: ../boris.cu ? Building target: libboris.a Invoking: NVCC Archiver nvcc? -lib -o? "libboris.a"? ./boris.o??? Finished building target: libboris.a? does this memory somehow persist over compile/link cycles? If so, can't you clear it before each recompile? No.? From: Boris Kolpackov To: All Herald Cc: "xsd-users@codesynthesis.com" Sent: Wednesday, July 15, 2015 1:11 PM Subject: Re: [xsd-users] CodeSynthesis/tree (version 4.0.0) and Nvidia NVCC compiler (CUDA version 7.0) All, All Herald writes: > Thanks for the response. Looked at XSD/e and still having the same > issue. The problem is that the NVCC Compiler (CUDA 7.0) has this hard memory > limitation. Even with a fairly small schema of just a few bytes if you make > repeated calls the global const memory accumulates and very soon you hit > that hard limit imposed by the NVCC Compiler. So the issue quite frankly is > with the compiler, but that being said, the compiler is what it is. Would > you be able to download the the NVCC CUDA 7 compiler and take a look at this > if I send you a small example? While I can try to reproduce this myself by downloading the NVCC compiler, etc., I would much prefer if you help "jump-start" my understanding of the problem and possible solutions. And, to be honest, I am just as clueless about what's going on as after your first email. Specifically: what exactly exhausts this "global const memory"? Is it the header sizes? Something specific in the headers? Number of inclusions? You say: "Even with a fairly small schema of just a few bytes if you make repeated calls [...]" What "calls" are you talking about? Calls to what exactly? Then you say: "[...] try and compile and link using a small schema repeatedly [...]" This doesn't make any sense to me at all: does this memory somehow persist over compile/link cycles? If so, can't you clear it before each recompile? Boris -------------- next part -------------- A non-text attachment was scrubbed... Name: boris.cu Type: application/octet-stream Size: 64 bytes Desc: not available Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20150715/8ed37bf9/boris.obj From laurence.davies at unsw.edu.au Thu Jul 16 19:47:06 2015 From: laurence.davies at unsw.edu.au (Laurence Davies) Date: Fri Jul 17 06:00:44 2015 Subject: [xsd-users] RE: Compiler Error CXX-Tree parser types undeclared In-Reply-To: References: Message-ID: As an addendum and follow up to the compiler errors I'm getting, if I add the line `#include "binding/booleanornilreasonlist.hxx" ` to the list of includes, the errors caused by valueObjects.hxx go away. This file should already be visible to the header via a few levels of nesting, but Visual Studio 2010 doesn't seem to be following it. Laurence Davies ____________________ Research Assistant in eGeodesy CRC-SI, UNSW Desk phone: (03) 8636 2373 Mobile: 0427 519 289 ________________________________ From: Laurence Davies Sent: Wednesday, 15 July 2015 10:08 AM To: xsd-users@codesynthesis.com Subject: Compiler Error CXX-Tree parser types undeclared After disabling parser generation suppression (sorry for the double negative) so that parsers for all root elements are now being generated, I'm getting compiler errors for undeclared types. Comparing the generated code including parsers with code minus parsers, the only difference is the parser code. No additional headers or forward declarations are included with the code+parsers. Here's an example: In GML there's a valueObject element which translates to valueObject.hxx below. Note the compiler error is Error 1 error C2039: 'booleanOrNilReasonList' : is not a member of 'gml32' D:\git\eGeodesy\0.2.1\geodesyml\marshaller\windows\GeodesyML_VS10\include\binding\valueObjects.hxx 511 The hxx file is below: // Copyright (c) 2005-2014 Code Synthesis Tools CC // // This program was generated by CodeSynthesis XSD, an XML Schema to // C++ data binding compiler. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as // published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA // // In addition, as a special exception, Code Synthesis Tools CC gives // permission to link this program with the Xerces-C++ library (or with // modified versions of Xerces-C++ that use the same license as Xerces-C++), // and distribute linked combinations including the two. You must obey // the GNU General Public License version 2 in all respects for all of // the code used other than Xerces-C++. If you modify this copy of the // program, you may extend this exception to your version of the program, // but you are not obligated to do so. If you do not wish to do so, delete // this exception statement from your version. // // Furthermore, Code Synthesis Tools CC makes a special exception for // the Free/Libre and Open Source Software (FLOSS) which is described // in the accompanying FLOSSE file. // /** * @file * @brief Generated from valueObjects.xsd. */ #ifndef VALUE_OBJECTS_HXX #define VALUE_OBJECTS_HXX #ifndef XSD_USE_CHAR #define XSD_USE_CHAR #endif #ifndef XSD_CXX_TREE_USE_CHAR #define XSD_CXX_TREE_USE_CHAR #endif // Begin prologue. // #include "geodesyml.exports.hxx" // // End prologue. #include #if (XSD_INT_VERSION != 4000000L) #error XSD runtime version mismatch #endif #include #include "binding/xml-schema.hxx" // Forward declarations. // namespace gml32 { } #include // ::std::auto_ptr #include // std::numeric_limits #include // std::binary_search #include #include #include #include #include #include #ifndef XSD_DONT_INCLUDE_INLINE #define XSD_DONT_INCLUDE_INLINE #include "binding/gml.hxx" #include "binding/geometryBasic0d1d.hxx" #include "binding/temporal.hxx" #include "binding/ValuePropertyType.hxx" #include "binding/ValueArrayPropertyType.hxx" #include "binding/CompositeValueType.hxx" #include "binding/ValueArrayType.hxx" #include "binding/CategoryExtentType.hxx" #include "binding/CountExtentType.hxx" #include "binding/QuantityExtentType.hxx" #include "binding/BooleanPropertyType.hxx" #include "binding/CategoryPropertyType.hxx" #include "binding/QuantityPropertyType.hxx" #include "binding/CountPropertyType.hxx" #include "binding/Boolean.hxx" #include "binding/Category.hxx" #include "binding/Count.hxx" #include "binding/Quantity.hxx" #undef XSD_DONT_INCLUDE_INLINE #else #include "binding/gml.hxx" #include "binding/geometryBasic0d1d.hxx" #include "binding/temporal.hxx" #include "binding/ValuePropertyType.hxx" #include "binding/ValueArrayPropertyType.hxx" #include "binding/CompositeValueType.hxx" #include "binding/ValueArrayType.hxx" #include "binding/CategoryExtentType.hxx" #include "binding/CountExtentType.hxx" #include "binding/QuantityExtentType.hxx" #include "binding/BooleanPropertyType.hxx" #include "binding/CategoryPropertyType.hxx" #include "binding/QuantityPropertyType.hxx" #include "binding/CountPropertyType.hxx" #include "binding/Boolean.hxx" #include "binding/Category.hxx" #include "binding/Count.hxx" #include "binding/Quantity.hxx" #endif // XSD_DONT_INCLUDE_INLINE /** * @brief C++ namespace for the %http://www.opengis.net/gml/3.2 * schema namespace. */ namespace gml32 { } #ifndef XSD_DONT_INCLUDE_INLINE #include "binding/gml.ixx" #include "binding/geometryBasic0d1d.ixx" #include "binding/temporal.ixx" #include "binding/ValuePropertyType.ixx" #include "binding/ValueArrayPropertyType.ixx" #include "binding/CompositeValueType.ixx" #include "binding/ValueArrayType.ixx" #include "binding/CategoryExtentType.ixx" #include "binding/CountExtentType.ixx" #include "binding/QuantityExtentType.ixx" #include "binding/BooleanPropertyType.ixx" #include "binding/CategoryPropertyType.ixx" #include "binding/QuantityPropertyType.ixx" #include "binding/CountPropertyType.ixx" #include "binding/Boolean.ixx" #include "binding/Category.ixx" #include "binding/Count.ixx" #include "binding/Quantity.ixx" #endif // XSD_DONT_INCLUDE_INLINE #include namespace gml32 { } #include #include #include #include namespace gml32 { /** * @name Parsing functions for the %Boolean document root. */ //@{ /** * @brief Parse a URI or a local file. * * @param uri A URI or a local file name. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::Boolean > Boolean_ (const ::std::string& uri, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with an error handler. * * @param uri A URI or a local file name. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Boolean > Boolean_ (const ::std::string& uri, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with a Xerces-C++ DOM error * handler. * * @param uri A URI or a local file name. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Boolean > Boolean_ (const ::std::string& uri, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream. * * @param is A standrad input stream. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::Boolean > Boolean_ (::std::istream& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with an error handler. * * @param is A standrad input stream. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Boolean > Boolean_ (::std::istream& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a Xerces-C++ DOM error * handler. * * @param is A standrad input stream. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Boolean > Boolean_ (::std::istream& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id. * * @param is A standrad input stream. * @param id A resource id. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::Boolean > Boolean_ (::std::istream& is, const ::std::string& id, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and an * error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Boolean > Boolean_ (::std::istream& is, const ::std::string& id, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and a * Xerces-C++ DOM error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Boolean > Boolean_ (::std::istream& is, const ::std::string& id, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source. * * @param is A Xerces-C++ input source. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::Boolean > Boolean_ (::xercesc::InputSource& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with an error handler. * * @param is A Xerces-C++ input source. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Boolean > Boolean_ (::xercesc::InputSource& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with a Xerces-C++ DOM * error handler. * * @param is A Xerces-C++ input source. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Boolean > Boolean_ (::xercesc::InputSource& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::Boolean > Boolean_ (const ::xercesc::DOMDocument& d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A pointer to the Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function is normally used together with the keep_dom and * own_dom parsing flags to assign ownership of the DOM document * to the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::Boolean > Boolean_ (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); //@} /** * @name Parsing functions for the %BooleanList document root. */ //@{ /** * @brief Parse a URI or a local file. * * @param uri A URI or a local file name. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::booleanOrNilReasonList > BooleanList (const ::std::string& uri, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with an error handler. * * @param uri A URI or a local file name. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::booleanOrNilReasonList > BooleanList (const ::std::string& uri, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with a Xerces-C++ DOM error * handler. * * @param uri A URI or a local file name. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::booleanOrNilReasonList > BooleanList (const ::std::string& uri, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream. * * @param is A standrad input stream. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::booleanOrNilReasonList > BooleanList (::std::istream& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with an error handler. * * @param is A standrad input stream. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::booleanOrNilReasonList > BooleanList (::std::istream& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a Xerces-C++ DOM error * handler. * * @param is A standrad input stream. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::booleanOrNilReasonList > BooleanList (::std::istream& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id. * * @param is A standrad input stream. * @param id A resource id. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::booleanOrNilReasonList > BooleanList (::std::istream& is, const ::std::string& id, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and an * error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::booleanOrNilReasonList > BooleanList (::std::istream& is, const ::std::string& id, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and a * Xerces-C++ DOM error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::booleanOrNilReasonList > BooleanList (::std::istream& is, const ::std::string& id, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source. * * @param is A Xerces-C++ input source. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::booleanOrNilReasonList > BooleanList (::xercesc::InputSource& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with an error handler. * * @param is A Xerces-C++ input source. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::booleanOrNilReasonList > BooleanList (::xercesc::InputSource& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with a Xerces-C++ DOM * error handler. * * @param is A Xerces-C++ input source. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::booleanOrNilReasonList > BooleanList (::xercesc::InputSource& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::booleanOrNilReasonList > BooleanList (const ::xercesc::DOMDocument& d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A pointer to the Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function is normally used together with the keep_dom and * own_dom parsing flags to assign ownership of the DOM document * to the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::booleanOrNilReasonList > BooleanList (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); //@} /** * @name Parsing functions for the %Category document root. * * A gml:Category has an optional XML attribute codeSpace, whose value is * a URI which identifies a dictionary, codelist or authority for the * term. */ //@{ /** * @brief Parse a URI or a local file. * * @param uri A URI or a local file name. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::Category > Category_ (const ::std::string& uri, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with an error handler. * * @param uri A URI or a local file name. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Category > Category_ (const ::std::string& uri, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with a Xerces-C++ DOM error * handler. * * @param uri A URI or a local file name. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Category > Category_ (const ::std::string& uri, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream. * * @param is A standrad input stream. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::Category > Category_ (::std::istream& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with an error handler. * * @param is A standrad input stream. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Category > Category_ (::std::istream& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a Xerces-C++ DOM error * handler. * * @param is A standrad input stream. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Category > Category_ (::std::istream& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id. * * @param is A standrad input stream. * @param id A resource id. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::Category > Category_ (::std::istream& is, const ::std::string& id, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and an * error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Category > Category_ (::std::istream& is, const ::std::string& id, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and a * Xerces-C++ DOM error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Category > Category_ (::std::istream& is, const ::std::string& id, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source. * * @param is A Xerces-C++ input source. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::Category > Category_ (::xercesc::InputSource& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with an error handler. * * @param is A Xerces-C++ input source. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Category > Category_ (::xercesc::InputSource& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with a Xerces-C++ DOM * error handler. * * @param is A Xerces-C++ input source. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Category > Category_ (::xercesc::InputSource& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::Category > Category_ (const ::xercesc::DOMDocument& d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A pointer to the Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function is normally used together with the keep_dom and * own_dom parsing flags to assign ownership of the DOM document * to the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::Category > Category_ (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); //@} /** * @name Parsing functions for the %CategoryList document root. */ //@{ /** * @brief Parse a URI or a local file. * * @param uri A URI or a local file name. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::CodeOrNilReasonListType > CategoryList (const ::std::string& uri, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with an error handler. * * @param uri A URI or a local file name. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CodeOrNilReasonListType > CategoryList (const ::std::string& uri, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with a Xerces-C++ DOM error * handler. * * @param uri A URI or a local file name. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CodeOrNilReasonListType > CategoryList (const ::std::string& uri, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream. * * @param is A standrad input stream. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::CodeOrNilReasonListType > CategoryList (::std::istream& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with an error handler. * * @param is A standrad input stream. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CodeOrNilReasonListType > CategoryList (::std::istream& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a Xerces-C++ DOM error * handler. * * @param is A standrad input stream. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CodeOrNilReasonListType > CategoryList (::std::istream& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id. * * @param is A standrad input stream. * @param id A resource id. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::CodeOrNilReasonListType > CategoryList (::std::istream& is, const ::std::string& id, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and an * error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CodeOrNilReasonListType > CategoryList (::std::istream& is, const ::std::string& id, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and a * Xerces-C++ DOM error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CodeOrNilReasonListType > CategoryList (::std::istream& is, const ::std::string& id, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source. * * @param is A Xerces-C++ input source. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::CodeOrNilReasonListType > CategoryList (::xercesc::InputSource& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with an error handler. * * @param is A Xerces-C++ input source. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CodeOrNilReasonListType > CategoryList (::xercesc::InputSource& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with a Xerces-C++ DOM * error handler. * * @param is A Xerces-C++ input source. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CodeOrNilReasonListType > CategoryList (::xercesc::InputSource& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::CodeOrNilReasonListType > CategoryList (const ::xercesc::DOMDocument& d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A pointer to the Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function is normally used together with the keep_dom and * own_dom parsing flags to assign ownership of the DOM document * to the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::CodeOrNilReasonListType > CategoryList (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); //@} /** * @name Parsing functions for the %Count document root. */ //@{ /** * @brief Parse a URI or a local file. * * @param uri A URI or a local file name. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::Count > Count_ (const ::std::string& uri, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with an error handler. * * @param uri A URI or a local file name. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Count > Count_ (const ::std::string& uri, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with a Xerces-C++ DOM error * handler. * * @param uri A URI or a local file name. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Count > Count_ (const ::std::string& uri, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream. * * @param is A standrad input stream. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::Count > Count_ (::std::istream& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with an error handler. * * @param is A standrad input stream. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Count > Count_ (::std::istream& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a Xerces-C++ DOM error * handler. * * @param is A standrad input stream. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Count > Count_ (::std::istream& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id. * * @param is A standrad input stream. * @param id A resource id. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::Count > Count_ (::std::istream& is, const ::std::string& id, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and an * error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Count > Count_ (::std::istream& is, const ::std::string& id, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and a * Xerces-C++ DOM error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Count > Count_ (::std::istream& is, const ::std::string& id, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source. * * @param is A Xerces-C++ input source. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::Count > Count_ (::xercesc::InputSource& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with an error handler. * * @param is A Xerces-C++ input source. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Count > Count_ (::xercesc::InputSource& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with a Xerces-C++ DOM * error handler. * * @param is A Xerces-C++ input source. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Count > Count_ (::xercesc::InputSource& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::Count > Count_ (const ::xercesc::DOMDocument& d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A pointer to the Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function is normally used together with the keep_dom and * own_dom parsing flags to assign ownership of the DOM document * to the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::Count > Count_ (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); //@} /** * @name Parsing functions for the %CountList document root. */ //@{ /** * @brief Parse a URI or a local file. * * @param uri A URI or a local file name. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::integerOrNilReasonList > CountList (const ::std::string& uri, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with an error handler. * * @param uri A URI or a local file name. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::integerOrNilReasonList > CountList (const ::std::string& uri, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with a Xerces-C++ DOM error * handler. * * @param uri A URI or a local file name. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::integerOrNilReasonList > CountList (const ::std::string& uri, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream. * * @param is A standrad input stream. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::integerOrNilReasonList > CountList (::std::istream& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with an error handler. * * @param is A standrad input stream. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::integerOrNilReasonList > CountList (::std::istream& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a Xerces-C++ DOM error * handler. * * @param is A standrad input stream. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::integerOrNilReasonList > CountList (::std::istream& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id. * * @param is A standrad input stream. * @param id A resource id. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::integerOrNilReasonList > CountList (::std::istream& is, const ::std::string& id, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and an * error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::integerOrNilReasonList > CountList (::std::istream& is, const ::std::string& id, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and a * Xerces-C++ DOM error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::integerOrNilReasonList > CountList (::std::istream& is, const ::std::string& id, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source. * * @param is A Xerces-C++ input source. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::integerOrNilReasonList > CountList (::xercesc::InputSource& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with an error handler. * * @param is A Xerces-C++ input source. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::integerOrNilReasonList > CountList (::xercesc::InputSource& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with a Xerces-C++ DOM * error handler. * * @param is A Xerces-C++ input source. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::integerOrNilReasonList > CountList (::xercesc::InputSource& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::integerOrNilReasonList > CountList (const ::xercesc::DOMDocument& d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A pointer to the Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function is normally used together with the keep_dom and * own_dom parsing flags to assign ownership of the DOM document * to the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::integerOrNilReasonList > CountList (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); //@} /** * @name Parsing functions for the %Quantity document root. * * An XML attribute uom ("unit of measure") is required, whose value is a * URI which identifies the definition of a ratio scale or units by which * the numeric value shall be multiplied, or an interval or position * scale on which the value occurs. */ //@{ /** * @brief Parse a URI or a local file. * * @param uri A URI or a local file name. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::Quantity > Quantity_ (const ::std::string& uri, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with an error handler. * * @param uri A URI or a local file name. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Quantity > Quantity_ (const ::std::string& uri, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with a Xerces-C++ DOM error * handler. * * @param uri A URI or a local file name. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Quantity > Quantity_ (const ::std::string& uri, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream. * * @param is A standrad input stream. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::Quantity > Quantity_ (::std::istream& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with an error handler. * * @param is A standrad input stream. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Quantity > Quantity_ (::std::istream& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a Xerces-C++ DOM error * handler. * * @param is A standrad input stream. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Quantity > Quantity_ (::std::istream& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id. * * @param is A standrad input stream. * @param id A resource id. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::Quantity > Quantity_ (::std::istream& is, const ::std::string& id, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and an * error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Quantity > Quantity_ (::std::istream& is, const ::std::string& id, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and a * Xerces-C++ DOM error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Quantity > Quantity_ (::std::istream& is, const ::std::string& id, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source. * * @param is A Xerces-C++ input source. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::Quantity > Quantity_ (::xercesc::InputSource& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with an error handler. * * @param is A Xerces-C++ input source. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Quantity > Quantity_ (::xercesc::InputSource& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with a Xerces-C++ DOM * error handler. * * @param is A Xerces-C++ input source. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::Quantity > Quantity_ (::xercesc::InputSource& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::Quantity > Quantity_ (const ::xercesc::DOMDocument& d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A pointer to the Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function is normally used together with the keep_dom and * own_dom parsing flags to assign ownership of the DOM document * to the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::Quantity > Quantity_ (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); //@} /** * @name Parsing functions for the %QuantityList document root. */ //@{ /** * @brief Parse a URI or a local file. * * @param uri A URI or a local file name. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::MeasureOrNilReasonListType > QuantityList (const ::std::string& uri, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with an error handler. * * @param uri A URI or a local file name. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::MeasureOrNilReasonListType > QuantityList (const ::std::string& uri, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with a Xerces-C++ DOM error * handler. * * @param uri A URI or a local file name. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::MeasureOrNilReasonListType > QuantityList (const ::std::string& uri, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream. * * @param is A standrad input stream. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::MeasureOrNilReasonListType > QuantityList (::std::istream& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with an error handler. * * @param is A standrad input stream. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::MeasureOrNilReasonListType > QuantityList (::std::istream& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a Xerces-C++ DOM error * handler. * * @param is A standrad input stream. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::MeasureOrNilReasonListType > QuantityList (::std::istream& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id. * * @param is A standrad input stream. * @param id A resource id. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::MeasureOrNilReasonListType > QuantityList (::std::istream& is, const ::std::string& id, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and an * error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::MeasureOrNilReasonListType > QuantityList (::std::istream& is, const ::std::string& id, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and a * Xerces-C++ DOM error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::MeasureOrNilReasonListType > QuantityList (::std::istream& is, const ::std::string& id, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source. * * @param is A Xerces-C++ input source. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::MeasureOrNilReasonListType > QuantityList (::xercesc::InputSource& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with an error handler. * * @param is A Xerces-C++ input source. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::MeasureOrNilReasonListType > QuantityList (::xercesc::InputSource& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with a Xerces-C++ DOM * error handler. * * @param is A Xerces-C++ input source. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::MeasureOrNilReasonListType > QuantityList (::xercesc::InputSource& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::MeasureOrNilReasonListType > QuantityList (const ::xercesc::DOMDocument& d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A pointer to the Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function is normally used together with the keep_dom and * own_dom parsing flags to assign ownership of the DOM document * to the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::MeasureOrNilReasonListType > QuantityList (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); //@} /** * @name Parsing functions for the %AbstractValue document root. * * gml:AbstractValue is an abstract element which acts as the head of a * substitution group which contains gml:AbstractScalarValue, * gml:AbstractScalarValueList, gml:CompositeValue and gml:ValueExtent, * and (transitively) the elements in their substitution groups. * These elements may be used in an application schema as variables, so * that in an XML instance document any member of its substitution group * may occur. */ //@{ /** * @brief Parse a URI or a local file. * * @param uri A URI or a local file name. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractValue (const ::std::string& uri, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with an error handler. * * @param uri A URI or a local file name. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractValue (const ::std::string& uri, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with a Xerces-C++ DOM error * handler. * * @param uri A URI or a local file name. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractValue (const ::std::string& uri, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream. * * @param is A standrad input stream. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractValue (::std::istream& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with an error handler. * * @param is A standrad input stream. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractValue (::std::istream& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a Xerces-C++ DOM error * handler. * * @param is A standrad input stream. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractValue (::std::istream& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id. * * @param is A standrad input stream. * @param id A resource id. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractValue (::std::istream& is, const ::std::string& id, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and an * error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractValue (::std::istream& is, const ::std::string& id, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and a * Xerces-C++ DOM error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractValue (::std::istream& is, const ::std::string& id, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source. * * @param is A Xerces-C++ input source. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractValue (::xercesc::InputSource& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with an error handler. * * @param is A Xerces-C++ input source. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractValue (::xercesc::InputSource& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with a Xerces-C++ DOM * error handler. * * @param is A Xerces-C++ input source. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractValue (::xercesc::InputSource& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractValue (const ::xercesc::DOMDocument& d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A pointer to the Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function is normally used together with the keep_dom and * own_dom parsing flags to assign ownership of the DOM document * to the object model. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractValue (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); //@} /** * @name Parsing functions for the %AbstractScalarValue document root. * * gml:AbstractScalarValue is an abstract element which acts as the head * of a substitution group which contains gml:Boolean, gml:Category, * gml:Count and gml:Quantity, and (transitively) the elements in their * substitution groups. */ //@{ /** * @brief Parse a URI or a local file. * * @param uri A URI or a local file name. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValue (const ::std::string& uri, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with an error handler. * * @param uri A URI or a local file name. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValue (const ::std::string& uri, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with a Xerces-C++ DOM error * handler. * * @param uri A URI or a local file name. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValue (const ::std::string& uri, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream. * * @param is A standrad input stream. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValue (::std::istream& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with an error handler. * * @param is A standrad input stream. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValue (::std::istream& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a Xerces-C++ DOM error * handler. * * @param is A standrad input stream. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValue (::std::istream& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id. * * @param is A standrad input stream. * @param id A resource id. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValue (::std::istream& is, const ::std::string& id, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and an * error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValue (::std::istream& is, const ::std::string& id, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and a * Xerces-C++ DOM error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValue (::std::istream& is, const ::std::string& id, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source. * * @param is A Xerces-C++ input source. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValue (::xercesc::InputSource& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with an error handler. * * @param is A Xerces-C++ input source. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValue (::xercesc::InputSource& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with a Xerces-C++ DOM * error handler. * * @param is A Xerces-C++ input source. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValue (::xercesc::InputSource& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValue (const ::xercesc::DOMDocument& d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A pointer to the Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function is normally used together with the keep_dom and * own_dom parsing flags to assign ownership of the DOM document * to the object model. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValue (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); //@} /** * @name Parsing functions for the %AbstractScalarValueList document root. * * gml:AbstractScalarValueList is an abstract element which acts as the * head of a substitution group which contains gml:BooleanList, * gml:CategoryList, gml:CountList and gml:QuantityList, and * (transitively) the elements in their substitution groups. */ //@{ /** * @brief Parse a URI or a local file. * * @param uri A URI or a local file name. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValueList (const ::std::string& uri, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with an error handler. * * @param uri A URI or a local file name. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValueList (const ::std::string& uri, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with a Xerces-C++ DOM error * handler. * * @param uri A URI or a local file name. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValueList (const ::std::string& uri, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream. * * @param is A standrad input stream. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValueList (::std::istream& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with an error handler. * * @param is A standrad input stream. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValueList (::std::istream& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a Xerces-C++ DOM error * handler. * * @param is A standrad input stream. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValueList (::std::istream& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id. * * @param is A standrad input stream. * @param id A resource id. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValueList (::std::istream& is, const ::std::string& id, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and an * error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValueList (::std::istream& is, const ::std::string& id, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and a * Xerces-C++ DOM error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValueList (::std::istream& is, const ::std::string& id, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source. * * @param is A Xerces-C++ input source. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValueList (::xercesc::InputSource& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with an error handler. * * @param is A Xerces-C++ input source. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValueList (::xercesc::InputSource& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with a Xerces-C++ DOM * error handler. * * @param is A Xerces-C++ input source. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValueList (::xercesc::InputSource& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValueList (const ::xercesc::DOMDocument& d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A pointer to the Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function is normally used together with the keep_dom and * own_dom parsing flags to assign ownership of the DOM document * to the object model. */ GEODESYML_API ::std::auto_ptr< ::xml_schema::type > AbstractScalarValueList (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); //@} /** * @name Parsing functions for the %valueProperty document root. * * Property that refers to, or contains, a Value. Convenience element for * general use. */ //@{ /** * @brief Parse a URI or a local file. * * @param uri A URI or a local file name. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueProperty (const ::std::string& uri, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with an error handler. * * @param uri A URI or a local file name. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueProperty (const ::std::string& uri, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with a Xerces-C++ DOM error * handler. * * @param uri A URI or a local file name. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueProperty (const ::std::string& uri, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream. * * @param is A standrad input stream. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueProperty (::std::istream& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with an error handler. * * @param is A standrad input stream. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueProperty (::std::istream& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a Xerces-C++ DOM error * handler. * * @param is A standrad input stream. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueProperty (::std::istream& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id. * * @param is A standrad input stream. * @param id A resource id. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueProperty (::std::istream& is, const ::std::string& id, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and an * error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueProperty (::std::istream& is, const ::std::string& id, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and a * Xerces-C++ DOM error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueProperty (::std::istream& is, const ::std::string& id, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source. * * @param is A Xerces-C++ input source. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueProperty (::xercesc::InputSource& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with an error handler. * * @param is A Xerces-C++ input source. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueProperty (::xercesc::InputSource& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with a Xerces-C++ DOM * error handler. * * @param is A Xerces-C++ input source. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueProperty (::xercesc::InputSource& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueProperty (const ::xercesc::DOMDocument& d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A pointer to the Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function is normally used together with the keep_dom and * own_dom parsing flags to assign ownership of the DOM document * to the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueProperty (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); //@} /** * @name Parsing functions for the %valueComponent document root. * * Property that refers to, or contains, a Value. */ //@{ /** * @brief Parse a URI or a local file. * * @param uri A URI or a local file name. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueComponent (const ::std::string& uri, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with an error handler. * * @param uri A URI or a local file name. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueComponent (const ::std::string& uri, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with a Xerces-C++ DOM error * handler. * * @param uri A URI or a local file name. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueComponent (const ::std::string& uri, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream. * * @param is A standrad input stream. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueComponent (::std::istream& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with an error handler. * * @param is A standrad input stream. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueComponent (::std::istream& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a Xerces-C++ DOM error * handler. * * @param is A standrad input stream. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueComponent (::std::istream& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id. * * @param is A standrad input stream. * @param id A resource id. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueComponent (::std::istream& is, const ::std::string& id, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and an * error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueComponent (::std::istream& is, const ::std::string& id, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and a * Xerces-C++ DOM error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueComponent (::std::istream& is, const ::std::string& id, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source. * * @param is A Xerces-C++ input source. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueComponent (::xercesc::InputSource& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with an error handler. * * @param is A Xerces-C++ input source. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueComponent (::xercesc::InputSource& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with a Xerces-C++ DOM * error handler. * * @param is A Xerces-C++ input source. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueComponent (::xercesc::InputSource& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueComponent (const ::xercesc::DOMDocument& d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A pointer to the Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function is normally used together with the keep_dom and * own_dom parsing flags to assign ownership of the DOM document * to the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValuePropertyType > valueComponent (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); //@} /** * @name Parsing functions for the %valueComponents document root. * * Property that contains Values. */ //@{ /** * @brief Parse a URI or a local file. * * @param uri A URI or a local file name. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayPropertyType > valueComponents (const ::std::string& uri, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with an error handler. * * @param uri A URI or a local file name. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayPropertyType > valueComponents (const ::std::string& uri, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with a Xerces-C++ DOM error * handler. * * @param uri A URI or a local file name. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayPropertyType > valueComponents (const ::std::string& uri, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream. * * @param is A standrad input stream. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayPropertyType > valueComponents (::std::istream& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with an error handler. * * @param is A standrad input stream. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayPropertyType > valueComponents (::std::istream& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a Xerces-C++ DOM error * handler. * * @param is A standrad input stream. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayPropertyType > valueComponents (::std::istream& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id. * * @param is A standrad input stream. * @param id A resource id. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayPropertyType > valueComponents (::std::istream& is, const ::std::string& id, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and an * error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayPropertyType > valueComponents (::std::istream& is, const ::std::string& id, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and a * Xerces-C++ DOM error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayPropertyType > valueComponents (::std::istream& is, const ::std::string& id, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source. * * @param is A Xerces-C++ input source. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayPropertyType > valueComponents (::xercesc::InputSource& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with an error handler. * * @param is A Xerces-C++ input source. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayPropertyType > valueComponents (::xercesc::InputSource& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with a Xerces-C++ DOM * error handler. * * @param is A Xerces-C++ input source. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayPropertyType > valueComponents (::xercesc::InputSource& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayPropertyType > valueComponents (const ::xercesc::DOMDocument& d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A pointer to the Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function is normally used together with the keep_dom and * own_dom parsing flags to assign ownership of the DOM document * to the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayPropertyType > valueComponents (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); //@} /** * @name Parsing functions for the %CompositeValue document root. * * gml:CompositeValue is an aggregate value built from other values . It * contains zero or an arbitrary number of gml:valueComponent elements, * and zero or one gml:valueComponents property elements. It may be used * for strongly coupled aggregates (vectors, tensors) or for arbitrary * collections of values. */ //@{ /** * @brief Parse a URI or a local file. * * @param uri A URI or a local file name. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::CompositeValueType > CompositeValue (const ::std::string& uri, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with an error handler. * * @param uri A URI or a local file name. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CompositeValueType > CompositeValue (const ::std::string& uri, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with a Xerces-C++ DOM error * handler. * * @param uri A URI or a local file name. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CompositeValueType > CompositeValue (const ::std::string& uri, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream. * * @param is A standrad input stream. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::CompositeValueType > CompositeValue (::std::istream& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with an error handler. * * @param is A standrad input stream. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CompositeValueType > CompositeValue (::std::istream& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a Xerces-C++ DOM error * handler. * * @param is A standrad input stream. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CompositeValueType > CompositeValue (::std::istream& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id. * * @param is A standrad input stream. * @param id A resource id. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::CompositeValueType > CompositeValue (::std::istream& is, const ::std::string& id, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and an * error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CompositeValueType > CompositeValue (::std::istream& is, const ::std::string& id, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and a * Xerces-C++ DOM error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CompositeValueType > CompositeValue (::std::istream& is, const ::std::string& id, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source. * * @param is A Xerces-C++ input source. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::CompositeValueType > CompositeValue (::xercesc::InputSource& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with an error handler. * * @param is A Xerces-C++ input source. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CompositeValueType > CompositeValue (::xercesc::InputSource& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with a Xerces-C++ DOM * error handler. * * @param is A Xerces-C++ input source. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CompositeValueType > CompositeValue (::xercesc::InputSource& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::CompositeValueType > CompositeValue (const ::xercesc::DOMDocument& d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A pointer to the Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function is normally used together with the keep_dom and * own_dom parsing flags to assign ownership of the DOM document * to the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::CompositeValueType > CompositeValue (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); //@} /** * @name Parsing functions for the %ValueArray document root. * * A Value Array is used for homogeneous arrays of primitive and * aggregate values. * The member values may be scalars, composites, arrays or lists. * ValueArray has the same content model as CompositeValue, but the * member values shall be homogeneous. The element declaration contains * a Schematron constraint which expresses this restriction precisely. * Since the members are homogeneous, the gml:referenceSystem (uom, * codeSpace) may be specified on the gml:ValueArray itself and inherited * by all the members if desired. */ //@{ /** * @brief Parse a URI or a local file. * * @param uri A URI or a local file name. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayType > ValueArray (const ::std::string& uri, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with an error handler. * * @param uri A URI or a local file name. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayType > ValueArray (const ::std::string& uri, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with a Xerces-C++ DOM error * handler. * * @param uri A URI or a local file name. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayType > ValueArray (const ::std::string& uri, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream. * * @param is A standrad input stream. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayType > ValueArray (::std::istream& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with an error handler. * * @param is A standrad input stream. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayType > ValueArray (::std::istream& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a Xerces-C++ DOM error * handler. * * @param is A standrad input stream. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayType > ValueArray (::std::istream& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id. * * @param is A standrad input stream. * @param id A resource id. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayType > ValueArray (::std::istream& is, const ::std::string& id, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and an * error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayType > ValueArray (::std::istream& is, const ::std::string& id, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and a * Xerces-C++ DOM error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayType > ValueArray (::std::istream& is, const ::std::string& id, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source. * * @param is A Xerces-C++ input source. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayType > ValueArray (::xercesc::InputSource& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with an error handler. * * @param is A Xerces-C++ input source. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayType > ValueArray (::xercesc::InputSource& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with a Xerces-C++ DOM * error handler. * * @param is A Xerces-C++ input source. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayType > ValueArray (::xercesc::InputSource& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayType > ValueArray (const ::xercesc::DOMDocument& d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A pointer to the Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function is normally used together with the keep_dom and * own_dom parsing flags to assign ownership of the DOM document * to the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::ValueArrayType > ValueArray (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); //@} /** * @name Parsing functions for the %CategoryExtent document root. */ //@{ /** * @brief Parse a URI or a local file. * * @param uri A URI or a local file name. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::CategoryExtentType > CategoryExtent (const ::std::string& uri, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with an error handler. * * @param uri A URI or a local file name. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CategoryExtentType > CategoryExtent (const ::std::string& uri, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with a Xerces-C++ DOM error * handler. * * @param uri A URI or a local file name. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CategoryExtentType > CategoryExtent (const ::std::string& uri, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream. * * @param is A standrad input stream. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::CategoryExtentType > CategoryExtent (::std::istream& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with an error handler. * * @param is A standrad input stream. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CategoryExtentType > CategoryExtent (::std::istream& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a Xerces-C++ DOM error * handler. * * @param is A standrad input stream. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CategoryExtentType > CategoryExtent (::std::istream& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id. * * @param is A standrad input stream. * @param id A resource id. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::CategoryExtentType > CategoryExtent (::std::istream& is, const ::std::string& id, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and an * error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CategoryExtentType > CategoryExtent (::std::istream& is, const ::std::string& id, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and a * Xerces-C++ DOM error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CategoryExtentType > CategoryExtent (::std::istream& is, const ::std::string& id, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source. * * @param is A Xerces-C++ input source. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::CategoryExtentType > CategoryExtent (::xercesc::InputSource& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with an error handler. * * @param is A Xerces-C++ input source. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CategoryExtentType > CategoryExtent (::xercesc::InputSource& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with a Xerces-C++ DOM * error handler. * * @param is A Xerces-C++ input source. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CategoryExtentType > CategoryExtent (::xercesc::InputSource& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::CategoryExtentType > CategoryExtent (const ::xercesc::DOMDocument& d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A pointer to the Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function is normally used together with the keep_dom and * own_dom parsing flags to assign ownership of the DOM document * to the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::CategoryExtentType > CategoryExtent (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); //@} /** * @name Parsing functions for the %CountExtent document root. */ //@{ /** * @brief Parse a URI or a local file. * * @param uri A URI or a local file name. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::CountExtentType > CountExtent (const ::std::string& uri, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with an error handler. * * @param uri A URI or a local file name. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CountExtentType > CountExtent (const ::std::string& uri, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with a Xerces-C++ DOM error * handler. * * @param uri A URI or a local file name. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CountExtentType > CountExtent (const ::std::string& uri, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream. * * @param is A standrad input stream. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::CountExtentType > CountExtent (::std::istream& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with an error handler. * * @param is A standrad input stream. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CountExtentType > CountExtent (::std::istream& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a Xerces-C++ DOM error * handler. * * @param is A standrad input stream. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CountExtentType > CountExtent (::std::istream& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id. * * @param is A standrad input stream. * @param id A resource id. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::CountExtentType > CountExtent (::std::istream& is, const ::std::string& id, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and an * error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CountExtentType > CountExtent (::std::istream& is, const ::std::string& id, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and a * Xerces-C++ DOM error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CountExtentType > CountExtent (::std::istream& is, const ::std::string& id, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source. * * @param is A Xerces-C++ input source. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::CountExtentType > CountExtent (::xercesc::InputSource& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with an error handler. * * @param is A Xerces-C++ input source. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CountExtentType > CountExtent (::xercesc::InputSource& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with a Xerces-C++ DOM * error handler. * * @param is A Xerces-C++ input source. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::CountExtentType > CountExtent (::xercesc::InputSource& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::CountExtentType > CountExtent (const ::xercesc::DOMDocument& d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A pointer to the Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function is normally used together with the keep_dom and * own_dom parsing flags to assign ownership of the DOM document * to the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::CountExtentType > CountExtent (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); //@} /** * @name Parsing functions for the %QuantityExtent document root. */ //@{ /** * @brief Parse a URI or a local file. * * @param uri A URI or a local file name. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::QuantityExtentType > QuantityExtent (const ::std::string& uri, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with an error handler. * * @param uri A URI or a local file name. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::QuantityExtentType > QuantityExtent (const ::std::string& uri, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a URI or a local file with a Xerces-C++ DOM error * handler. * * @param uri A URI or a local file name. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::QuantityExtentType > QuantityExtent (const ::std::string& uri, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream. * * @param is A standrad input stream. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::QuantityExtentType > QuantityExtent (::std::istream& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with an error handler. * * @param is A standrad input stream. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::QuantityExtentType > QuantityExtent (::std::istream& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a Xerces-C++ DOM error * handler. * * @param is A standrad input stream. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::QuantityExtentType > QuantityExtent (::std::istream& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id. * * @param is A standrad input stream. * @param id A resource id. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::QuantityExtentType > QuantityExtent (::std::istream& is, const ::std::string& id, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and an * error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::QuantityExtentType > QuantityExtent (::std::istream& is, const ::std::string& id, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a standard input stream with a resource id and a * Xerces-C++ DOM error handler. * * @param is A standrad input stream. * @param id A resource id. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * The resource id is used to identify the document being parsed in * diagnostics as well as to resolve relative paths. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::QuantityExtentType > QuantityExtent (::std::istream& is, const ::std::string& id, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source. * * @param is A Xerces-C++ input source. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function uses exceptions to report parsing errors. */ GEODESYML_API ::std::auto_ptr< ::gml32::QuantityExtentType > QuantityExtent (::xercesc::InputSource& is, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with an error handler. * * @param is A Xerces-C++ input source. * @param eh An error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::QuantityExtentType > QuantityExtent (::xercesc::InputSource& is, ::xml_schema::error_handler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ input source with a Xerces-C++ DOM * error handler. * * @param is A Xerces-C++ input source. * @param eh A Xerces-C++ DOM error handler. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function reports parsing errors by calling the error handler. */ GEODESYML_API ::std::auto_ptr< ::gml32::QuantityExtentType > QuantityExtent (::xercesc::InputSource& is, ::xercesc::DOMErrorHandler& eh, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::QuantityExtentType > QuantityExtent (const ::xercesc::DOMDocument& d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); /** * @brief Parse a Xerces-C++ DOM document. * * @param d A pointer to the Xerces-C++ DOM document. * @param f Parsing flags. * @param p Parsing properties. * @return A pointer to the root of the object model. * * This function is normally used together with the keep_dom and * own_dom parsing flags to assign ownership of the DOM document * to the object model. */ GEODESYML_API ::std::auto_ptr< ::gml32::QuantityExtentType > QuantityExtent (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d, ::xml_schema::flags f = 0, const ::xml_schema::properties& p = ::xml_schema::properties ()); //@} } #include #include #include #include #include namespace gml32 { /** * @name Serialization functions for the %Boolean document root. */ //@{ /** * @brief Serialize to a standard output stream. * * @param os A standrad output stream. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void Boolean_ (::std::ostream& os, const ::gml32::Boolean& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with an error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void Boolean_ (::std::ostream& os, const ::gml32::Boolean& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with a Xerces-C++ DOM * error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void Boolean_ (::std::ostream& os, const ::gml32::Boolean& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void Boolean_ (::xercesc::XMLFormatTarget& ft, const ::gml32::Boolean& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with an error * handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void Boolean_ (::xercesc::XMLFormatTarget& ft, const ::gml32::Boolean& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with a * Xerces-C++ DOM error handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void Boolean_ (::xercesc::XMLFormatTarget& ft, const ::gml32::Boolean& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to an existing Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param x An object model to serialize. * @param f Serialization flags. * * Note that it is your responsibility to create the DOM document * with the correct root element as well as set the necessary * namespace mapping attributes. */ GEODESYML_API void Boolean_ (::xercesc::DOMDocument& d, const ::gml32::Boolean& x, ::xml_schema::flags f = 0); /** * @brief Serialize to a new Xerces-C++ DOM document. * * @param x An object model to serialize. * @param m A namespace information map. * @param f Serialization flags. * @return A pointer to the new Xerces-C++ DOM document. */ GEODESYML_API ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > Boolean_ (const ::gml32::Boolean& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), ::xml_schema::flags f = 0); //@} /** * @name Serialization functions for the %BooleanList document root. */ //@{ /** * @brief Serialize to a standard output stream. * * @param os A standrad output stream. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void BooleanList (::std::ostream& os, const ::gml32::booleanOrNilReasonList& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with an error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void BooleanList (::std::ostream& os, const ::gml32::booleanOrNilReasonList& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with a Xerces-C++ DOM * error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void BooleanList (::std::ostream& os, const ::gml32::booleanOrNilReasonList& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void BooleanList (::xercesc::XMLFormatTarget& ft, const ::gml32::booleanOrNilReasonList& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with an error * handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void BooleanList (::xercesc::XMLFormatTarget& ft, const ::gml32::booleanOrNilReasonList& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with a * Xerces-C++ DOM error handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void BooleanList (::xercesc::XMLFormatTarget& ft, const ::gml32::booleanOrNilReasonList& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to an existing Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param x An object model to serialize. * @param f Serialization flags. * * Note that it is your responsibility to create the DOM document * with the correct root element as well as set the necessary * namespace mapping attributes. */ GEODESYML_API void BooleanList (::xercesc::DOMDocument& d, const ::gml32::booleanOrNilReasonList& x, ::xml_schema::flags f = 0); /** * @brief Serialize to a new Xerces-C++ DOM document. * * @param x An object model to serialize. * @param m A namespace information map. * @param f Serialization flags. * @return A pointer to the new Xerces-C++ DOM document. */ GEODESYML_API ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > BooleanList (const ::gml32::booleanOrNilReasonList& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), ::xml_schema::flags f = 0); //@} /** * @name Serialization functions for the %Category document root. * * A gml:Category has an optional XML attribute codeSpace, whose value is * a URI which identifies a dictionary, codelist or authority for the * term. */ //@{ /** * @brief Serialize to a standard output stream. * * @param os A standrad output stream. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void Category_ (::std::ostream& os, const ::gml32::Category& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with an error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void Category_ (::std::ostream& os, const ::gml32::Category& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with a Xerces-C++ DOM * error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void Category_ (::std::ostream& os, const ::gml32::Category& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void Category_ (::xercesc::XMLFormatTarget& ft, const ::gml32::Category& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with an error * handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void Category_ (::xercesc::XMLFormatTarget& ft, const ::gml32::Category& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with a * Xerces-C++ DOM error handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void Category_ (::xercesc::XMLFormatTarget& ft, const ::gml32::Category& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to an existing Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param x An object model to serialize. * @param f Serialization flags. * * Note that it is your responsibility to create the DOM document * with the correct root element as well as set the necessary * namespace mapping attributes. */ GEODESYML_API void Category_ (::xercesc::DOMDocument& d, const ::gml32::Category& x, ::xml_schema::flags f = 0); /** * @brief Serialize to a new Xerces-C++ DOM document. * * @param x An object model to serialize. * @param m A namespace information map. * @param f Serialization flags. * @return A pointer to the new Xerces-C++ DOM document. */ GEODESYML_API ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > Category_ (const ::gml32::Category& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), ::xml_schema::flags f = 0); //@} /** * @name Serialization functions for the %CategoryList document root. */ //@{ /** * @brief Serialize to a standard output stream. * * @param os A standrad output stream. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void CategoryList (::std::ostream& os, const ::gml32::CodeOrNilReasonListType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with an error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void CategoryList (::std::ostream& os, const ::gml32::CodeOrNilReasonListType& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with a Xerces-C++ DOM * error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void CategoryList (::std::ostream& os, const ::gml32::CodeOrNilReasonListType& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void CategoryList (::xercesc::XMLFormatTarget& ft, const ::gml32::CodeOrNilReasonListType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with an error * handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void CategoryList (::xercesc::XMLFormatTarget& ft, const ::gml32::CodeOrNilReasonListType& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with a * Xerces-C++ DOM error handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void CategoryList (::xercesc::XMLFormatTarget& ft, const ::gml32::CodeOrNilReasonListType& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to an existing Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param x An object model to serialize. * @param f Serialization flags. * * Note that it is your responsibility to create the DOM document * with the correct root element as well as set the necessary * namespace mapping attributes. */ GEODESYML_API void CategoryList (::xercesc::DOMDocument& d, const ::gml32::CodeOrNilReasonListType& x, ::xml_schema::flags f = 0); /** * @brief Serialize to a new Xerces-C++ DOM document. * * @param x An object model to serialize. * @param m A namespace information map. * @param f Serialization flags. * @return A pointer to the new Xerces-C++ DOM document. */ GEODESYML_API ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > CategoryList (const ::gml32::CodeOrNilReasonListType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), ::xml_schema::flags f = 0); //@} /** * @name Serialization functions for the %Count document root. */ //@{ /** * @brief Serialize to a standard output stream. * * @param os A standrad output stream. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void Count_ (::std::ostream& os, const ::gml32::Count& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with an error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void Count_ (::std::ostream& os, const ::gml32::Count& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with a Xerces-C++ DOM * error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void Count_ (::std::ostream& os, const ::gml32::Count& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void Count_ (::xercesc::XMLFormatTarget& ft, const ::gml32::Count& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with an error * handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void Count_ (::xercesc::XMLFormatTarget& ft, const ::gml32::Count& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with a * Xerces-C++ DOM error handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void Count_ (::xercesc::XMLFormatTarget& ft, const ::gml32::Count& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to an existing Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param x An object model to serialize. * @param f Serialization flags. * * Note that it is your responsibility to create the DOM document * with the correct root element as well as set the necessary * namespace mapping attributes. */ GEODESYML_API void Count_ (::xercesc::DOMDocument& d, const ::gml32::Count& x, ::xml_schema::flags f = 0); /** * @brief Serialize to a new Xerces-C++ DOM document. * * @param x An object model to serialize. * @param m A namespace information map. * @param f Serialization flags. * @return A pointer to the new Xerces-C++ DOM document. */ GEODESYML_API ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > Count_ (const ::gml32::Count& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), ::xml_schema::flags f = 0); //@} /** * @name Serialization functions for the %CountList document root. */ //@{ /** * @brief Serialize to a standard output stream. * * @param os A standrad output stream. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void CountList (::std::ostream& os, const ::gml32::integerOrNilReasonList& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with an error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void CountList (::std::ostream& os, const ::gml32::integerOrNilReasonList& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with a Xerces-C++ DOM * error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void CountList (::std::ostream& os, const ::gml32::integerOrNilReasonList& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void CountList (::xercesc::XMLFormatTarget& ft, const ::gml32::integerOrNilReasonList& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with an error * handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void CountList (::xercesc::XMLFormatTarget& ft, const ::gml32::integerOrNilReasonList& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with a * Xerces-C++ DOM error handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void CountList (::xercesc::XMLFormatTarget& ft, const ::gml32::integerOrNilReasonList& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to an existing Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param x An object model to serialize. * @param f Serialization flags. * * Note that it is your responsibility to create the DOM document * with the correct root element as well as set the necessary * namespace mapping attributes. */ GEODESYML_API void CountList (::xercesc::DOMDocument& d, const ::gml32::integerOrNilReasonList& x, ::xml_schema::flags f = 0); /** * @brief Serialize to a new Xerces-C++ DOM document. * * @param x An object model to serialize. * @param m A namespace information map. * @param f Serialization flags. * @return A pointer to the new Xerces-C++ DOM document. */ GEODESYML_API ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > CountList (const ::gml32::integerOrNilReasonList& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), ::xml_schema::flags f = 0); //@} /** * @name Serialization functions for the %Quantity document root. * * An XML attribute uom ("unit of measure") is required, whose value is a * URI which identifies the definition of a ratio scale or units by which * the numeric value shall be multiplied, or an interval or position * scale on which the value occurs. */ //@{ /** * @brief Serialize to a standard output stream. * * @param os A standrad output stream. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void Quantity_ (::std::ostream& os, const ::gml32::Quantity& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with an error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void Quantity_ (::std::ostream& os, const ::gml32::Quantity& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with a Xerces-C++ DOM * error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void Quantity_ (::std::ostream& os, const ::gml32::Quantity& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void Quantity_ (::xercesc::XMLFormatTarget& ft, const ::gml32::Quantity& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with an error * handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void Quantity_ (::xercesc::XMLFormatTarget& ft, const ::gml32::Quantity& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with a * Xerces-C++ DOM error handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void Quantity_ (::xercesc::XMLFormatTarget& ft, const ::gml32::Quantity& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to an existing Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param x An object model to serialize. * @param f Serialization flags. * * Note that it is your responsibility to create the DOM document * with the correct root element as well as set the necessary * namespace mapping attributes. */ GEODESYML_API void Quantity_ (::xercesc::DOMDocument& d, const ::gml32::Quantity& x, ::xml_schema::flags f = 0); /** * @brief Serialize to a new Xerces-C++ DOM document. * * @param x An object model to serialize. * @param m A namespace information map. * @param f Serialization flags. * @return A pointer to the new Xerces-C++ DOM document. */ GEODESYML_API ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > Quantity_ (const ::gml32::Quantity& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), ::xml_schema::flags f = 0); //@} /** * @name Serialization functions for the %QuantityList document root. */ //@{ /** * @brief Serialize to a standard output stream. * * @param os A standrad output stream. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void QuantityList (::std::ostream& os, const ::gml32::MeasureOrNilReasonListType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with an error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void QuantityList (::std::ostream& os, const ::gml32::MeasureOrNilReasonListType& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with a Xerces-C++ DOM * error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void QuantityList (::std::ostream& os, const ::gml32::MeasureOrNilReasonListType& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void QuantityList (::xercesc::XMLFormatTarget& ft, const ::gml32::MeasureOrNilReasonListType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with an error * handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void QuantityList (::xercesc::XMLFormatTarget& ft, const ::gml32::MeasureOrNilReasonListType& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with a * Xerces-C++ DOM error handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void QuantityList (::xercesc::XMLFormatTarget& ft, const ::gml32::MeasureOrNilReasonListType& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to an existing Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param x An object model to serialize. * @param f Serialization flags. * * Note that it is your responsibility to create the DOM document * with the correct root element as well as set the necessary * namespace mapping attributes. */ GEODESYML_API void QuantityList (::xercesc::DOMDocument& d, const ::gml32::MeasureOrNilReasonListType& x, ::xml_schema::flags f = 0); /** * @brief Serialize to a new Xerces-C++ DOM document. * * @param x An object model to serialize. * @param m A namespace information map. * @param f Serialization flags. * @return A pointer to the new Xerces-C++ DOM document. */ GEODESYML_API ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > QuantityList (const ::gml32::MeasureOrNilReasonListType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), ::xml_schema::flags f = 0); //@} /** * @name Serialization functions for the %AbstractValue document root. * * gml:AbstractValue is an abstract element which acts as the head of a * substitution group which contains gml:AbstractScalarValue, * gml:AbstractScalarValueList, gml:CompositeValue and gml:ValueExtent, * and (transitively) the elements in their substitution groups. * These elements may be used in an application schema as variables, so * that in an XML instance document any member of its substitution group * may occur. */ //@{ /** * @brief Serialize to a standard output stream. * * @param os A standrad output stream. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void AbstractValue (::std::ostream& os, const ::xml_schema::type& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with an error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void AbstractValue (::std::ostream& os, const ::xml_schema::type& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with a Xerces-C++ DOM * error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void AbstractValue (::std::ostream& os, const ::xml_schema::type& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void AbstractValue (::xercesc::XMLFormatTarget& ft, const ::xml_schema::type& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with an error * handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void AbstractValue (::xercesc::XMLFormatTarget& ft, const ::xml_schema::type& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with a * Xerces-C++ DOM error handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void AbstractValue (::xercesc::XMLFormatTarget& ft, const ::xml_schema::type& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to an existing Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param x An object model to serialize. * @param f Serialization flags. * * Note that it is your responsibility to create the DOM document * with the correct root element as well as set the necessary * namespace mapping attributes. */ GEODESYML_API void AbstractValue (::xercesc::DOMDocument& d, const ::xml_schema::type& x, ::xml_schema::flags f = 0); /** * @brief Serialize to a new Xerces-C++ DOM document. * * @param x An object model to serialize. * @param m A namespace information map. * @param f Serialization flags. * @return A pointer to the new Xerces-C++ DOM document. */ GEODESYML_API ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > AbstractValue (const ::xml_schema::type& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), ::xml_schema::flags f = 0); //@} /** * @name Serialization functions for the %AbstractScalarValue document root. * * gml:AbstractScalarValue is an abstract element which acts as the head * of a substitution group which contains gml:Boolean, gml:Category, * gml:Count and gml:Quantity, and (transitively) the elements in their * substitution groups. */ //@{ /** * @brief Serialize to a standard output stream. * * @param os A standrad output stream. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void AbstractScalarValue (::std::ostream& os, const ::xml_schema::type& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with an error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void AbstractScalarValue (::std::ostream& os, const ::xml_schema::type& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with a Xerces-C++ DOM * error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void AbstractScalarValue (::std::ostream& os, const ::xml_schema::type& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void AbstractScalarValue (::xercesc::XMLFormatTarget& ft, const ::xml_schema::type& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with an error * handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void AbstractScalarValue (::xercesc::XMLFormatTarget& ft, const ::xml_schema::type& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with a * Xerces-C++ DOM error handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void AbstractScalarValue (::xercesc::XMLFormatTarget& ft, const ::xml_schema::type& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to an existing Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param x An object model to serialize. * @param f Serialization flags. * * Note that it is your responsibility to create the DOM document * with the correct root element as well as set the necessary * namespace mapping attributes. */ GEODESYML_API void AbstractScalarValue (::xercesc::DOMDocument& d, const ::xml_schema::type& x, ::xml_schema::flags f = 0); /** * @brief Serialize to a new Xerces-C++ DOM document. * * @param x An object model to serialize. * @param m A namespace information map. * @param f Serialization flags. * @return A pointer to the new Xerces-C++ DOM document. */ GEODESYML_API ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > AbstractScalarValue (const ::xml_schema::type& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), ::xml_schema::flags f = 0); //@} /** * @name Serialization functions for the %AbstractScalarValueList document root. * * gml:AbstractScalarValueList is an abstract element which acts as the * head of a substitution group which contains gml:BooleanList, * gml:CategoryList, gml:CountList and gml:QuantityList, and * (transitively) the elements in their substitution groups. */ //@{ /** * @brief Serialize to a standard output stream. * * @param os A standrad output stream. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void AbstractScalarValueList (::std::ostream& os, const ::xml_schema::type& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with an error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void AbstractScalarValueList (::std::ostream& os, const ::xml_schema::type& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with a Xerces-C++ DOM * error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void AbstractScalarValueList (::std::ostream& os, const ::xml_schema::type& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void AbstractScalarValueList (::xercesc::XMLFormatTarget& ft, const ::xml_schema::type& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with an error * handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void AbstractScalarValueList (::xercesc::XMLFormatTarget& ft, const ::xml_schema::type& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with a * Xerces-C++ DOM error handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void AbstractScalarValueList (::xercesc::XMLFormatTarget& ft, const ::xml_schema::type& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to an existing Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param x An object model to serialize. * @param f Serialization flags. * * Note that it is your responsibility to create the DOM document * with the correct root element as well as set the necessary * namespace mapping attributes. */ GEODESYML_API void AbstractScalarValueList (::xercesc::DOMDocument& d, const ::xml_schema::type& x, ::xml_schema::flags f = 0); /** * @brief Serialize to a new Xerces-C++ DOM document. * * @param x An object model to serialize. * @param m A namespace information map. * @param f Serialization flags. * @return A pointer to the new Xerces-C++ DOM document. */ GEODESYML_API ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > AbstractScalarValueList (const ::xml_schema::type& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), ::xml_schema::flags f = 0); //@} /** * @name Serialization functions for the %valueProperty document root. * * Property that refers to, or contains, a Value. Convenience element for * general use. */ //@{ /** * @brief Serialize to a standard output stream. * * @param os A standrad output stream. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void valueProperty (::std::ostream& os, const ::gml32::ValuePropertyType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with an error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void valueProperty (::std::ostream& os, const ::gml32::ValuePropertyType& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with a Xerces-C++ DOM * error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void valueProperty (::std::ostream& os, const ::gml32::ValuePropertyType& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void valueProperty (::xercesc::XMLFormatTarget& ft, const ::gml32::ValuePropertyType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with an error * handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void valueProperty (::xercesc::XMLFormatTarget& ft, const ::gml32::ValuePropertyType& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with a * Xerces-C++ DOM error handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void valueProperty (::xercesc::XMLFormatTarget& ft, const ::gml32::ValuePropertyType& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to an existing Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param x An object model to serialize. * @param f Serialization flags. * * Note that it is your responsibility to create the DOM document * with the correct root element as well as set the necessary * namespace mapping attributes. */ GEODESYML_API void valueProperty (::xercesc::DOMDocument& d, const ::gml32::ValuePropertyType& x, ::xml_schema::flags f = 0); /** * @brief Serialize to a new Xerces-C++ DOM document. * * @param x An object model to serialize. * @param m A namespace information map. * @param f Serialization flags. * @return A pointer to the new Xerces-C++ DOM document. */ GEODESYML_API ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > valueProperty (const ::gml32::ValuePropertyType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), ::xml_schema::flags f = 0); //@} /** * @name Serialization functions for the %valueComponent document root. * * Property that refers to, or contains, a Value. */ //@{ /** * @brief Serialize to a standard output stream. * * @param os A standrad output stream. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void valueComponent (::std::ostream& os, const ::gml32::ValuePropertyType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with an error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void valueComponent (::std::ostream& os, const ::gml32::ValuePropertyType& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with a Xerces-C++ DOM * error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void valueComponent (::std::ostream& os, const ::gml32::ValuePropertyType& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void valueComponent (::xercesc::XMLFormatTarget& ft, const ::gml32::ValuePropertyType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with an error * handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void valueComponent (::xercesc::XMLFormatTarget& ft, const ::gml32::ValuePropertyType& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with a * Xerces-C++ DOM error handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void valueComponent (::xercesc::XMLFormatTarget& ft, const ::gml32::ValuePropertyType& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to an existing Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param x An object model to serialize. * @param f Serialization flags. * * Note that it is your responsibility to create the DOM document * with the correct root element as well as set the necessary * namespace mapping attributes. */ GEODESYML_API void valueComponent (::xercesc::DOMDocument& d, const ::gml32::ValuePropertyType& x, ::xml_schema::flags f = 0); /** * @brief Serialize to a new Xerces-C++ DOM document. * * @param x An object model to serialize. * @param m A namespace information map. * @param f Serialization flags. * @return A pointer to the new Xerces-C++ DOM document. */ GEODESYML_API ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > valueComponent (const ::gml32::ValuePropertyType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), ::xml_schema::flags f = 0); //@} /** * @name Serialization functions for the %valueComponents document root. * * Property that contains Values. */ //@{ /** * @brief Serialize to a standard output stream. * * @param os A standrad output stream. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void valueComponents (::std::ostream& os, const ::gml32::ValueArrayPropertyType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with an error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void valueComponents (::std::ostream& os, const ::gml32::ValueArrayPropertyType& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with a Xerces-C++ DOM * error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void valueComponents (::std::ostream& os, const ::gml32::ValueArrayPropertyType& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void valueComponents (::xercesc::XMLFormatTarget& ft, const ::gml32::ValueArrayPropertyType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with an error * handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void valueComponents (::xercesc::XMLFormatTarget& ft, const ::gml32::ValueArrayPropertyType& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with a * Xerces-C++ DOM error handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void valueComponents (::xercesc::XMLFormatTarget& ft, const ::gml32::ValueArrayPropertyType& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to an existing Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param x An object model to serialize. * @param f Serialization flags. * * Note that it is your responsibility to create the DOM document * with the correct root element as well as set the necessary * namespace mapping attributes. */ GEODESYML_API void valueComponents (::xercesc::DOMDocument& d, const ::gml32::ValueArrayPropertyType& x, ::xml_schema::flags f = 0); /** * @brief Serialize to a new Xerces-C++ DOM document. * * @param x An object model to serialize. * @param m A namespace information map. * @param f Serialization flags. * @return A pointer to the new Xerces-C++ DOM document. */ GEODESYML_API ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > valueComponents (const ::gml32::ValueArrayPropertyType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), ::xml_schema::flags f = 0); //@} /** * @name Serialization functions for the %CompositeValue document root. * * gml:CompositeValue is an aggregate value built from other values . It * contains zero or an arbitrary number of gml:valueComponent elements, * and zero or one gml:valueComponents property elements. It may be used * for strongly coupled aggregates (vectors, tensors) or for arbitrary * collections of values. */ //@{ /** * @brief Serialize to a standard output stream. * * @param os A standrad output stream. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void CompositeValue (::std::ostream& os, const ::gml32::CompositeValueType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with an error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void CompositeValue (::std::ostream& os, const ::gml32::CompositeValueType& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with a Xerces-C++ DOM * error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void CompositeValue (::std::ostream& os, const ::gml32::CompositeValueType& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void CompositeValue (::xercesc::XMLFormatTarget& ft, const ::gml32::CompositeValueType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with an error * handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void CompositeValue (::xercesc::XMLFormatTarget& ft, const ::gml32::CompositeValueType& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with a * Xerces-C++ DOM error handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void CompositeValue (::xercesc::XMLFormatTarget& ft, const ::gml32::CompositeValueType& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to an existing Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param x An object model to serialize. * @param f Serialization flags. * * Note that it is your responsibility to create the DOM document * with the correct root element as well as set the necessary * namespace mapping attributes. */ GEODESYML_API void CompositeValue (::xercesc::DOMDocument& d, const ::gml32::CompositeValueType& x, ::xml_schema::flags f = 0); /** * @brief Serialize to a new Xerces-C++ DOM document. * * @param x An object model to serialize. * @param m A namespace information map. * @param f Serialization flags. * @return A pointer to the new Xerces-C++ DOM document. */ GEODESYML_API ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > CompositeValue (const ::gml32::CompositeValueType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), ::xml_schema::flags f = 0); //@} /** * @name Serialization functions for the %ValueArray document root. * * A Value Array is used for homogeneous arrays of primitive and * aggregate values. * The member values may be scalars, composites, arrays or lists. * ValueArray has the same content model as CompositeValue, but the * member values shall be homogeneous. The element declaration contains * a Schematron constraint which expresses this restriction precisely. * Since the members are homogeneous, the gml:referenceSystem (uom, * codeSpace) may be specified on the gml:ValueArray itself and inherited * by all the members if desired. */ //@{ /** * @brief Serialize to a standard output stream. * * @param os A standrad output stream. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void ValueArray (::std::ostream& os, const ::gml32::ValueArrayType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with an error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void ValueArray (::std::ostream& os, const ::gml32::ValueArrayType& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with a Xerces-C++ DOM * error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void ValueArray (::std::ostream& os, const ::gml32::ValueArrayType& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void ValueArray (::xercesc::XMLFormatTarget& ft, const ::gml32::ValueArrayType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with an error * handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void ValueArray (::xercesc::XMLFormatTarget& ft, const ::gml32::ValueArrayType& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with a * Xerces-C++ DOM error handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void ValueArray (::xercesc::XMLFormatTarget& ft, const ::gml32::ValueArrayType& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to an existing Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param x An object model to serialize. * @param f Serialization flags. * * Note that it is your responsibility to create the DOM document * with the correct root element as well as set the necessary * namespace mapping attributes. */ GEODESYML_API void ValueArray (::xercesc::DOMDocument& d, const ::gml32::ValueArrayType& x, ::xml_schema::flags f = 0); /** * @brief Serialize to a new Xerces-C++ DOM document. * * @param x An object model to serialize. * @param m A namespace information map. * @param f Serialization flags. * @return A pointer to the new Xerces-C++ DOM document. */ GEODESYML_API ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > ValueArray (const ::gml32::ValueArrayType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), ::xml_schema::flags f = 0); //@} /** * @name Serialization functions for the %CategoryExtent document root. */ //@{ /** * @brief Serialize to a standard output stream. * * @param os A standrad output stream. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void CategoryExtent (::std::ostream& os, const ::gml32::CategoryExtentType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with an error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void CategoryExtent (::std::ostream& os, const ::gml32::CategoryExtentType& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with a Xerces-C++ DOM * error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void CategoryExtent (::std::ostream& os, const ::gml32::CategoryExtentType& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void CategoryExtent (::xercesc::XMLFormatTarget& ft, const ::gml32::CategoryExtentType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with an error * handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void CategoryExtent (::xercesc::XMLFormatTarget& ft, const ::gml32::CategoryExtentType& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with a * Xerces-C++ DOM error handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void CategoryExtent (::xercesc::XMLFormatTarget& ft, const ::gml32::CategoryExtentType& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to an existing Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param x An object model to serialize. * @param f Serialization flags. * * Note that it is your responsibility to create the DOM document * with the correct root element as well as set the necessary * namespace mapping attributes. */ GEODESYML_API void CategoryExtent (::xercesc::DOMDocument& d, const ::gml32::CategoryExtentType& x, ::xml_schema::flags f = 0); /** * @brief Serialize to a new Xerces-C++ DOM document. * * @param x An object model to serialize. * @param m A namespace information map. * @param f Serialization flags. * @return A pointer to the new Xerces-C++ DOM document. */ GEODESYML_API ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > CategoryExtent (const ::gml32::CategoryExtentType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), ::xml_schema::flags f = 0); //@} /** * @name Serialization functions for the %CountExtent document root. */ //@{ /** * @brief Serialize to a standard output stream. * * @param os A standrad output stream. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void CountExtent (::std::ostream& os, const ::gml32::CountExtentType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with an error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void CountExtent (::std::ostream& os, const ::gml32::CountExtentType& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with a Xerces-C++ DOM * error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void CountExtent (::std::ostream& os, const ::gml32::CountExtentType& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void CountExtent (::xercesc::XMLFormatTarget& ft, const ::gml32::CountExtentType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with an error * handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void CountExtent (::xercesc::XMLFormatTarget& ft, const ::gml32::CountExtentType& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with a * Xerces-C++ DOM error handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void CountExtent (::xercesc::XMLFormatTarget& ft, const ::gml32::CountExtentType& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to an existing Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param x An object model to serialize. * @param f Serialization flags. * * Note that it is your responsibility to create the DOM document * with the correct root element as well as set the necessary * namespace mapping attributes. */ GEODESYML_API void CountExtent (::xercesc::DOMDocument& d, const ::gml32::CountExtentType& x, ::xml_schema::flags f = 0); /** * @brief Serialize to a new Xerces-C++ DOM document. * * @param x An object model to serialize. * @param m A namespace information map. * @param f Serialization flags. * @return A pointer to the new Xerces-C++ DOM document. */ GEODESYML_API ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > CountExtent (const ::gml32::CountExtentType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), ::xml_schema::flags f = 0); //@} /** * @name Serialization functions for the %QuantityExtent document root. */ //@{ /** * @brief Serialize to a standard output stream. * * @param os A standrad output stream. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void QuantityExtent (::std::ostream& os, const ::gml32::QuantityExtentType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with an error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void QuantityExtent (::std::ostream& os, const ::gml32::QuantityExtentType& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a standard output stream with a Xerces-C++ DOM * error handler. * * @param os A standrad output stream. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void QuantityExtent (::std::ostream& os, const ::gml32::QuantityExtentType& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function uses exceptions to report serialization errors. */ GEODESYML_API void QuantityExtent (::xercesc::XMLFormatTarget& ft, const ::gml32::QuantityExtentType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with an error * handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh An error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void QuantityExtent (::xercesc::XMLFormatTarget& ft, const ::gml32::QuantityExtentType& x, ::xml_schema::error_handler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to a Xerces-C++ XML format target with a * Xerces-C++ DOM error handler. * * @param ft A Xerces-C++ XML format target. * @param x An object model to serialize. * @param eh A Xerces-C++ DOM error handler. * @param m A namespace information map. * @param e A character encoding to produce XML in. * @param f Serialization flags. * * This function reports serialization errors by calling the error * handler. */ GEODESYML_API void QuantityExtent (::xercesc::XMLFormatTarget& ft, const ::gml32::QuantityExtentType& x, ::xercesc::DOMErrorHandler& eh, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), const ::std::string& e = "UTF-8", ::xml_schema::flags f = 0); /** * @brief Serialize to an existing Xerces-C++ DOM document. * * @param d A Xerces-C++ DOM document. * @param x An object model to serialize. * @param f Serialization flags. * * Note that it is your responsibility to create the DOM document * with the correct root element as well as set the necessary * namespace mapping attributes. */ GEODESYML_API void QuantityExtent (::xercesc::DOMDocument& d, const ::gml32::QuantityExtentType& x, ::xml_schema::flags f = 0); /** * @brief Serialize to a new Xerces-C++ DOM document. * * @param x An object model to serialize. * @param m A namespace information map. * @param f Serialization flags. * @return A pointer to the new Xerces-C++ DOM document. */ GEODESYML_API ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > QuantityExtent (const ::gml32::QuantityExtentType& x, const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (), ::xml_schema::flags f = 0); //@} } #ifndef XSD_DONT_INCLUDE_INLINE #include "binding/valueObjects.ixx" #endif // XSD_DONT_INCLUDE_INLINE #include // Begin epilogue. // // // End epilogue. #endif // VALUE_OBJECTS_HXX The options for cxx-tree are: --file-per-type --output-dir binding --file-list $@ --file-list-prologue "gen := " --file-list-delim " \\\\n" --options-file common.options --options-file geodesyml.options geodesyml/geodesyml/GeodesyML.xsd common.options: --generate-serialization --generate-polymorphic --generate-inline --generate-doxygen --omit-default-attributes --export-symbol GEODESYML_API --hxx-prologue '#include "geodesyml.exports.hxx"' --output-dir binding/ --include-prefix binding/ --generate-ostream geodesyml.options: #--root-element GeodesyML --polymorphic-type-all --extern-xml-schema xml-schema.xsd --disable-warning F001 #--disable-warning T005 --namespace-map urn:xml-gov-au:icsm:egeodesy:0.2=geodesyml --namespace-map http://sopac.ucsd.edu/ns/geodesy/doc/igsSiteLog/2004=igsSiteLog --namespace-regex %.*/geodesy/doc/igsSiteLog/(.*)/2004%igsSiteLog$1% --namespace-regex %.*/geodesy/base/(.*)/20[0-9][0-9]/10%$1% --namespace-map http://www.opengis.net/gml/3.2=gml32 --namespace-map http://www.opengis.net/om/2.0=om --location-map http://sopac.ucsd.edu/ns/geodesy/doc/igsSiteLog/2004/igsSiteLog.xsd=../../igssitelog/igssitelog/igsSiteLog.xsd --location-regex %.*/geodesy/doc/igsSiteLog/(.*)/2004/(.*)%../../igssitelog/$1/$2% --location-regex %.*/geodesy/base/([^/]*)/.*/([^/]*)%../../igssitelog/$1/$2% --location-regex %http://schemas.opengis.net/gml/3.2.1/(.*)%../../gml/3.2.1/$1% --location-regex %http://schemas.opengis.net/om/2.0/(.*)%../../om/2.0/$1% --location-regex %.*/iso/19139/20070417/(.*)%../../iso19139/$1% --location-map http://www.w3.org/1999/xlink.xsd=../../xlink/1.0.0/xlink.xsd --location-map http://www.w3.org/2001/xml.xsd=../../xml/xml/xml.xsd # Resolve header inclusion guard conflict between BooleanPropertyType.hxx # and Boolean_PropertyType.hxx. # --type-file-regex %http://www.isotc211.org/2005/gco Boolean_PropertyType%GcoBooleanPropertyType% #--location-regex %.*/gml/3.2.1/(.*)%../../gml4geodesyml.xsd% What would be causing this compiler error? I could not find an option to generate forward declarations in the header file. Laurence Davies ____________________ Research Assistant in eGeodesy CRC-SI, UNSW Desk phone: (03) 8636 2373 Mobile: 0427 519 289 From jaume.faus at vianova.no Fri Jul 17 01:05:15 2015 From: jaume.faus at vianova.no (Jaume Dominguez Faus) Date: Fri Jul 17 06:00:45 2015 Subject: [xsd-users] namespace clash: suggestion for improvement Message-ID: <13ba7de2231d4c37baa67c46b56e21af@VN-EXCHANGE2.VN.Local> Hi, list. I am just upgrading to XSD 4.0 and I stumbled into this. In file serialization.txx lines 98 to 116 we find this code if (!x.null_content () && x.dom_content ().present ()) { // Clone the contents of the element. // using namespace xercesc; DOMDocument& doc (*e.getOwnerDocument ()); const DOMElement& se (x.dom_content ().get ()); DOMNamedNodeMap& sa (*se.getAttributes ()); for (XMLSize_t i (0), n (sa.getLength ()); i != n; ++i) e.setAttributeNode ( static_cast (doc.importNode (sa.item (i), true))); for (DOMNode* sn (se.getFirstChild ()); sn != 0; sn = sn->getNextSibling ()) e.appendChild (doc.importNode (sn, true)); } Which is fine in non-windows operating systems (I successfully upgraded in Linux and Mac). But it happens that in Windows this might cause a name clash with MS xml library (as follows) if another library includes it or similar. D:\SDKs\xsd-4.0.0\include\xsd/cxx/tree/serialization.txx(104) : error C2872: 'DOMDocument' : ambiguous symbol could be 'c:\program files (x86)\windows kits\8.1\include\um\msxml.h(183) : DOMDocument' or 'D:\SDKs\xerces-c-3.1.1\win64-vc-120\include\xercesc/dom/DOMDocument.hpp(64) : xercesc_3_1::DOMDocument' Since XSD is basically a header-only library and it is suggested that using namespace should be avoided in includeable files, maybe it is a good idea to remove the using namespace xercesc statement in line 102 and use it in all the types like this instead if (!x.null_content () && x.dom_content ().present ()) { // Clone the contents of the element. // xercesc::DOMDocument& doc (*e.getOwnerDocument ()); const xercesc::DOMElement& se (x.dom_content ().get ()); xercesc::DOMNamedNodeMap& sa (*se.getAttributes ()); for (XMLSize_t i (0), n (sa.getLength ()); i != n; ++i) e.setAttributeNode ( static_cast (doc.importNode (sa.item (i), true))); for (xercesc::DOMNode* sn (se.getFirstChild ()); sn != 0; sn = sn->getNextSibling ()) e.appendChild (doc.importNode (sn, true)); } Doing like that I can build without problems (except for the fact I could need to "hack" if newer versions don't consider this). Just a suggestion. Regards. From boris at codesynthesis.com Fri Jul 17 06:11:30 2015 From: boris at codesynthesis.com (Boris Kolpackov) Date: Fri Jul 17 06:11:45 2015 Subject: [xsd-users] RE: Compiler Error CXX-Tree parser types undeclared In-Reply-To: References: Message-ID: Hi Laurence, Can you try the 4.1.0.a5 pre-release? I think you are running into a bug that has been fixed: http://codesynthesis.com/~boris/tmp/xsd/ Boris From laurence.davies at unsw.edu.au Sun Jul 19 20:55:05 2015 From: laurence.davies at unsw.edu.au (Laurence Davies) Date: Sun Jul 19 20:55:17 2015 Subject: [xsd-users] RE: Compiler Error CXX-Tree parser types undeclared In-Reply-To: References: , Message-ID: Hi Boris, Thanks for following this up. Do you have a Linux version of a5? I'm using Ubuntu 14.04 to generate and compile. Also, will the xsdbin output be the same as 4.0.0 on the same architecture? Laurence Davies ____________________ Research Assistant in eGeodesy CRC-SI, UNSW Desk phone: (03) 8636 2373 Mobile: 0427 519 289 ________________________________________ From: Boris Kolpackov [boris@codesynthesis.com] Sent: Friday, 17 July 2015 8:11 PM To: Laurence Davies Cc: xsd-users@codesynthesis.com Subject: Re: [xsd-users] RE: Compiler Error CXX-Tree parser types undeclared Hi Laurence, Can you try the 4.1.0.a5 pre-release? I think you are running into a bug that has been fixed: http://codesynthesis.com/~boris/tmp/xsd/ Boris From laurence.davies at unsw.edu.au Mon Jul 20 03:22:54 2015 From: laurence.davies at unsw.edu.au (Laurence Davies) Date: Mon Jul 20 03:23:16 2015 Subject: [xsd-users] RE: Compiler Error CXX-Tree parser types undeclared In-Reply-To: References: , , Message-ID: Hi Boris, I ran the windows version of a5 on the schema using the same makefile and added them to the Visual Studio 2010 solution after removing the old 4.0.0-generated classes. Unfortunately the compiler errors remain and are exactly the same. I've confirmed that I'm using the new headers with the following line generated by the new version in each header, so it isn't a mistake of using the same old classes. #if (XSD_INT_VERSION != 4009905L) #error XSD runtime version mismatch #endif Would you like me to send you the solution? Laurence Davies ____________________ Research Assistant in eGeodesy CRC-SI, UNSW Desk phone: (03) 8636 2373 Mobile: 0427 519 289 ________________________________________ From: Laurence Davies Sent: Monday, 20 July 2015 10:55 AM To: xsd-users@codesynthesis.com Subject: RE: [xsd-users] RE: Compiler Error CXX-Tree parser types undeclared Hi Boris, Thanks for following this up. Do you have a Linux version of a5? I'm using Ubuntu 14.04 to generate and compile. Also, will the xsdbin output be the same as 4.0.0 on the same architecture? Laurence Davies ____________________ Research Assistant in eGeodesy CRC-SI, UNSW Desk phone: (03) 8636 2373 Mobile: 0427 519 289 ________________________________________ From: Boris Kolpackov [boris@codesynthesis.com] Sent: Friday, 17 July 2015 8:11 PM To: Laurence Davies Cc: xsd-users@codesynthesis.com Subject: Re: [xsd-users] RE: Compiler Error CXX-Tree parser types undeclared Hi Laurence, Can you try the 4.1.0.a5 pre-release? I think you are running into a bug that has been fixed: http://codesynthesis.com/~boris/tmp/xsd/ Boris From yury.zaytsev at traveltainment.de Fri Jul 17 08:56:57 2015 From: yury.zaytsev at traveltainment.de (Yury Zaytsev) Date: Mon Jul 20 13:07:31 2015 Subject: [xsd-users] Parallelization of the serializer Message-ID: Hi, I have found out that the runtime of my program that serializes a very large number of objects in a loop using the streaming serializer is entirely dominated by the calls to s.next(), that is at this point there is nothing I can really optimize at a higher level. Therefore, I would like to serialize in parallel from several threads. This brings me to the question of what can I safely assume about the thread-safety of the serializer? A naive attempt to cilk_for my serialization loop has lead to a segfault, so I assume that it simply isn't thread-safe :-) I realize that in theory, I can create a pool of serializers and spin on a lock in my worked threads until one becomes available, but this sounds like a substantial amount of work (as compared to a simple OpenMP or Cilk Plus solution). So, as an alternative, would it be possible to make the serializer compatible with a Cilk Plus ostream reducer without too much investments? https://www.cilkplus.org/tutorial-reducer-ostream https://www.cilkplus.org/docs/doxygen/include-dir/group___reducers_ostream.html Another approach could be to use Cilk Plus holders to store the serializers, but I haven't quite figured this out yet. Have I overlooked anything? I would appreciate pointers to other approaches to parallelize with a minimal amount of extra work :-) All the best, -- Dr. Yury V. Zaytsev Senior Software Developer IT Data Production TravelTainment GmbH Carlo-Schmid-Stra?e 12 52146 W?rselen/Aachen, Germany yury.zaytsev@traveltainment.de http://www.traveltainment.de Amtsgericht Aachen, HRB 15873 Gesch?ftsf?hrer: Bernhard Steffens (Vorsitzender), Dr. Oliver Rengelshausen From boris at codesynthesis.com Mon Jul 20 13:30:28 2015 From: boris at codesynthesis.com (Boris Kolpackov) Date: Mon Jul 20 13:30:31 2015 Subject: [xsd-users] namespace clash: suggestion for improvement In-Reply-To: <13ba7de2231d4c37baa67c46b56e21af@VN-EXCHANGE2.VN.Local> References: <13ba7de2231d4c37baa67c46b56e21af@VN-EXCHANGE2.VN.Local> Message-ID: Hi Jaume, Jaume Dominguez Faus writes: > D:\SDKs\xsd-4.0.0\include\xsd/cxx/tree/serialization.txx(104) : > error C2872: 'DOMDocument' : ambiguous symbol Yes, this is a known issue that has been fixed for the upcoming release. You can also apply the patch to 4.0.0 quite easily: http://scm.codesynthesis.com/?p=xsd/xsd.git;a=commit;h=a066f175060a6ada5c60c378ca4dab6e9b571e35 Boris From boris at codesynthesis.com Tue Jul 21 12:37:03 2015 From: boris at codesynthesis.com (Boris Kolpackov) Date: Tue Jul 21 12:37:04 2015 Subject: [xsd-users] RE: Compiler Error CXX-Tree parser types undeclared In-Reply-To: References: Message-ID: Hi Laurence, Laurence Davies writes: > Would you like me to send you the solution? Can you reproduce the problem on Linux? Sounds like this is not Windows- specific and I would much prefer to debug it on Linux. Thanks, Boris From boris at codesynthesis.com Tue Jul 21 12:44:17 2015 From: boris at codesynthesis.com (Boris Kolpackov) Date: Tue Jul 21 12:44:20 2015 Subject: [xsd-users] Parallelization of the serializer In-Reply-To: References: Message-ID: Hi Yury, Yury Zaytsev writes: > This brings me to the question of what can I safely assume about the > thread-safety of the serializer? A naive attempt to cilk_for my > serialization loop has lead to a segfault, so I assume that it simply > isn't thread-safe :-) Yes, underneath it uses Xerces-C++ DOM serializer, about which one shouldn't make any assumptions ;-). I think the only approach that has a chance of working is to create a separate serializer for each "loop iteration" (which in reality might run in a separate thread). This will work much better for an XML that doesn't use namespaces since the serializer maintains a namespace stack. We could probable even copy it with a bit of effort. Boris From boris at codesynthesis.com Tue Jul 21 12:54:46 2015 From: boris at codesynthesis.com (Boris Kolpackov) Date: Tue Jul 21 12:54:48 2015 Subject: [xsd-users] CodeSynthesis/tree (version 4.0.0) and Nvidia NVCC compiler (CUDA version 7.0) In-Reply-To: <1879628193.3025281.1436999182473.JavaMail.yahoo@mail.yahoo.com> References: <1879628193.3025281.1436999182473.JavaMail.yahoo@mail.yahoo.com> Message-ID: Hi All, Thanks for the analysis. All Herald writes: > The short answer is that I really don't know what is causing it. Basically > when I include the *.hxx header files generated by CodeSynthesis from XSD > schemas in *.cu source code to be compiled and linked under nvcc that is > when the problem occurs. The nvcc compiler sets aside device-side storage in > cuda global constant memory for every *.cu source file in which *.hxx files > are included, and additional memory is required for each source file. The > nvcc linker will fail whenever the cumulative global constant memory exceeds > 64K bytes and this limits the number of source files. The header file size > does not matter. If I take a very small header and include it many times it > fails. If I take a larger header and include it just a few times it also > fails. While this sounds totally brain-dead to me, perhaps there is a simple solution: take all the generated headers that you are interested in using, include them into a single header file, and run the pre-processor on it. This will give you a single (and massive) header without any includes that you can then try to include into your .cu files. > I realize that this is a bug in the NVCC compiler and not a > limitation of CodeSynthesis ... but modifying CodeSynthesis might > be the easiest way to resolve the problem. Every compiler has its > unique quirks... I don't mind adding work-arounds to XSD as long as they don't make the code unmaintainable. At this stage, we don't even know what they are. Boris From laurence.davies at unsw.edu.au Tue Jul 21 19:53:50 2015 From: laurence.davies at unsw.edu.au (Laurence Davies) Date: Tue Jul 21 19:54:00 2015 Subject: [xsd-users] RE: Compiler Error CXX-Tree parser types undeclared In-Reply-To: References: , Message-ID: Hi Boris, I can understand that. i tried building with XSD 4.0.0 on Linux and it produces similar errors. The first is: In file included from ./binding/gml.hxx:118:0, from ./binding/dynamicFeature.hxx:89, from binding/dynamicFeature.cxx:41: ./binding/deprecatedTypes.hxx:28654:20: error: ?HistoryPropertyType? is not a member of ?gml32? ::std::auto_ptr< ::gml32::HistoryPropertyType > If not, I've hosted the build files in my dropbox here: https://www.dropbox.com/s/9w7nzq220qhiv0e/geodesyml_0.2_binding.tar.gz?dl=0 Call `make libgeodesyml.so` to attempt to build the library. I've removed the driver executable since it isn't up-to-date for this build. Thank you and regards, Laurence Davies ____________________ Research Assistant in eGeodesy CRC-SI, UNSW Desk phone: (03) 8636 2373 Mobile: 0427 519 289 ________________________________________ From: Boris Kolpackov [boris@codesynthesis.com] Sent: Wednesday, 22 July 2015 2:37 AM To: Laurence Davies Cc: xsd-users@codesynthesis.com Subject: Re: [xsd-users] RE: Compiler Error CXX-Tree parser types undeclared Hi Laurence, Laurence Davies writes: > Would you like me to send you the solution? Can you reproduce the problem on Linux? Sounds like this is not Windows- specific and I would much prefer to debug it on Linux. Thanks, Boris From doliva at magaya.com Thu Jul 23 16:35:06 2015 From: doliva at magaya.com (Daniel Oliva) Date: Fri Jul 24 13:05:44 2015 Subject: [xsd-users] double values precision Message-ID: Hi, I would like to format double values so during serialization they contain only two decimals. How can I do it? Is there any configuration flag or any function parameter that allows me to set this behavior? Thanks in advance, Daniel Oliva | Software Engineer II [cid:image001.jpg@01D0C565.887FA5A0] 7950 NW 53rd Street, Suite 300 Miami, FL 33166 | phone: 786.845.9150 fax: 786.363.1784 | www.magaya.com This email message and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify the sender via returned email. Please note that any views or opinions expressed in this email are solely those of the author and do not necessarily represent those of the company. Although Magaya Corporation operates anti-virus programs, it does not accept responsibility for any damage whatsoever that is caused by viruses being passed. Please consider the environment before printing this email. -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 12342 bytes Desc: image001.jpg Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20150723/3cbabfbf/image001.jpg From debian at jff-webhosting.net Sun Jul 26 07:49:55 2015 From: debian at jff-webhosting.net (=?ISO-8859-1?Q?J=F6rg_Frings-F=FCrst?=) Date: Sun Jul 26 07:50:00 2015 Subject: [xsd-users] xsd & Debian & gcc-5 Message-ID: <1437911395.13064.12.camel@jff-webhosting.net> Hi, this mail is only for info. Debian switch the standard compiler to gcc-5. In the new lib libstdc++ the type of system_error are changed[1]. A short description about this can be found at[2]. The source, which may be affected, can be found at[3]. CU J?rg [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=793289 [2] https://wiki.debian.org/GCC5#libstdc.2B-.2B-_c.2B-.2B-11_incompatibilities_.284.9_and_5.29 [3] https://codesearch.debian.net/results/catch.*%3A%3Afailure%20package%3Axsd/page_0 -- New: GPG Fingerprint: 63E0 075F C8D4 3ABB 35AB 30EE 09F8 9F3C 8CA1 D25D GPG key (long) : 09F89F3C8CA1D25D GPG Key : 8CA1D25D CAcert Key S/N : 0E:D4:56 Old pgp Key: BE581B6E (revoked since 2014-12-31). J?rg Frings-F?rst D-54526 Niederkail Threema: SYR8SJXB IRC: j_f-f@freenode.net j_f-f@oftc.net My wish list: - Please send me a picture from the nature at your home. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: This is a digitally signed message part Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20150726/a6aa65ff/attachment.pgp From boris at codesynthesis.com Mon Jul 27 11:48:57 2015 From: boris at codesynthesis.com (Boris Kolpackov) Date: Mon Jul 27 11:48:56 2015 Subject: [xsd-users] xsd & Debian & gcc-5 In-Reply-To: <1437911395.13064.12.camel@jff-webhosting.net> References: <1437911395.13064.12.camel@jff-webhosting.net> Message-ID: Hi J?rg, J?rg Frings-F?rst writes: > In the new lib libstdc++ the type of system_error are changed[1]. A > short description about this can be found at[2]. Thanks for the heads-up. AFAICS, XSD is not affected since it has a header-only runtime. This means that there is no separately-built library (which can be build with the old ABI) and application that links to it (which can be build with the new ABI). Boris From boris at codesynthesis.com Mon Jul 27 12:01:46 2015 From: boris at codesynthesis.com (Boris Kolpackov) Date: Mon Jul 27 12:01:45 2015 Subject: [xsd-users] double values precision In-Reply-To: References: Message-ID: Hi Daniel, Daniel Oliva writes: > I would like to format double values so during serialization they > contain only two decimals. Quoting from examples/cxx/tree/custom/double/README: This example shows how to customize parsing and serialization code for the xsd:double XML Schema built-in type using the type customization mechanism provided by the C++/Tree Mapping. For more information on type customization see the C++/Tree Mapping Customization Guide, particularly sections 1 and 4: http://wiki.codesynthesis.com/Tree/Customization_guide In this example our schema uses xsd:double to represent a price. There are two potential problems with this choice of a price type. First, xsd:double can be serialized in the scientific notation which would be an unusual way of representing a price. Second, we would like to limit the number of fraction digits in our prices to 2. Furthermore, we would like to always have two fraction digits, even if one or both of them are zeros, for example: 12.99, 12.90, 12.00. In case we can modify the schema, a better approach would be to define the price type as a restriction of the xsd:decimal type (always fixed notation) and specify the fractionDigits facet to limit the number of fraction digits to 2. However, there is no way in XML Schema to specify that there should always be exactly 2 fraction digits. Therefore, it may still be desirable to customize this price type to get the required serialization behavior. Finally, it is worth noting that the behavior achieved in this example via type customization can also be achieved by compiling your code with the following macros defined: XSD_TREE_DOUBLE_FIXED XSD_TREE_DOUBLE_PRECISION 2 However, the type customization approach while requiring more work is cleaner since it does not rely on global macro definitions. Boris From laurence.davies at unsw.edu.au Tue Jul 28 02:11:46 2015 From: laurence.davies at unsw.edu.au (Laurence Davies) Date: Tue Jul 28 02:11:57 2015 Subject: [xsd-users] RE: Compiler Error CXX-Tree parser types undeclared In-Reply-To: References: , , Message-ID: Hi again Boris, I've had no luck solving the cause of these compiler errors on my own yet. I can add in the necessary headers and it will resolve those errors, but to know why this is happening would be good. This build (a5) has another compiler error in type-factory-map.txx on line 435. A lot of abstract types cannot be instantiated. Here is an example of the error from Visual Studio 2010: 1>D:\git\eGeodesy\0.2.1\geodesyml\marshaller\windows\GeodesyML_VS10\include\xsd/cxx/tree/type-factory-map.txx(435): error C2259: 'gml32::AbstractCoordinateSystemType' : cannot instantiate abstract class 1> due to following members: 1> 'gml32::AbstractCoordinateSystemType *gml32::AbstractCoordinateSystemType::_clone(xml_schema::flags,xsd::cxx::tree::_type *) const' : is abstract 1> D:\git\eGeodesy\0.2.1\geodesyml\marshaller\windows\GeodesyML_VS10\include\binding/AbstractCoordinateSystemType.hxx(329) : see declaration of 'gml32::AbstractCoordinateSystemType::_clone' 1> D:\git\eGeodesy\0.2.1\geodesyml\marshaller\windows\GeodesyML_VS10\include\xsd/cxx/tree/type-factory-map.txx(469) : see reference to function template instantiation 'std::auto_ptr<_Ty> xsd::cxx::tree::factory_impl(const xercesc_3_1::DOMElement &,xsd::cxx::tree::flags,xsd::cxx::tree::container *)' being compiled 1> with 1> [ 1> _Ty=xml_schema::type, 1> T=gml32::AbstractCoordinateSystemType 1> ] 1> D:\git\eGeodesy\0.2.1\geodesyml\marshaller\windows\GeodesyML_VS10\include\xsd/cxx/tree/type-factory-map.txx(463) : while compiling class template member function 'xsd::cxx::tree::element_factory_initializer::element_factory_initializer(const C *,const C *,const C *,const C *)' 1> with 1> [ 1> id=0, 1> C=char, 1> T=gml32::AbstractCoordinateSystemType 1> ] 1> ..\source\binding\coordinateSystems.cxx(71) : see reference to class template instantiation 'xsd::cxx::tree::element_factory_initializer' being compiled 1> with 1> [ 1> id=0, 1> C=char, 1> T=gml32::AbstractCoordinateSystemType 1> ] Laurence Davies ____________________ Research Assistant in eGeodesy CRC-SI, UNSW Desk phone: (03) 8636 2373 Mobile: 0427 519 289 ________________________________________ From: Laurence Davies Sent: Wednesday, 22 July 2015 9:53 AM To: xsd-users@codesynthesis.com Subject: RE: [xsd-users] RE: Compiler Error CXX-Tree parser types undeclared Hi Boris, I can understand that. i tried building with XSD 4.0.0 on Linux and it produces similar errors. The first is: In file included from ./binding/gml.hxx:118:0, from ./binding/dynamicFeature.hxx:89, from binding/dynamicFeature.cxx:41: ./binding/deprecatedTypes.hxx:28654:20: error: ?HistoryPropertyType? is not a member of ?gml32? ::std::auto_ptr< ::gml32::HistoryPropertyType > If not, I've hosted the build files in my dropbox here: https://www.dropbox.com/s/9w7nzq220qhiv0e/geodesyml_0.2_binding.tar.gz?dl=0 Call `make libgeodesyml.so` to attempt to build the library. I've removed the driver executable since it isn't up-to-date for this build. Thank you and regards, Laurence Davies ____________________ Research Assistant in eGeodesy CRC-SI, UNSW Desk phone: (03) 8636 2373 Mobile: 0427 519 289 ________________________________________ From: Boris Kolpackov [boris@codesynthesis.com] Sent: Wednesday, 22 July 2015 2:37 AM To: Laurence Davies Cc: xsd-users@codesynthesis.com Subject: Re: [xsd-users] RE: Compiler Error CXX-Tree parser types undeclared Hi Laurence, Laurence Davies writes: > Would you like me to send you the solution? Can you reproduce the problem on Linux? Sounds like this is not Windows- specific and I would much prefer to debug it on Linux. Thanks, Boris From boris at codesynthesis.com Tue Jul 28 10:44:54 2015 From: boris at codesynthesis.com (Boris Kolpackov) Date: Tue Jul 28 10:44:51 2015 Subject: [xsd-users] RE: Compiler Error CXX-Tree parser types undeclared In-Reply-To: References: Message-ID: Hi Laurence, Laurence Davies writes: > If not, I've hosted the build files in my dropbox here: > https://www.dropbox.com/s/9w7nzq220qhiv0e/geodesyml_0.2_binding.tar.gz?dl=0 Ok, I've downloaded the archive, cleaned it up of all the ELF binaries you have included (always a bad idea). Then ran: make libgeodesyml.so After multiple "Comparing..." lines, got this error: http://sopac.ucsd.edu/ns/geodesy/doc/igsSiteLog/equipment/2004/antenna.xsd:54:73 error: namespace 'http://sopac.ucsd.edu/ns/geodesy/base/geodeticEquipment/gnssAntenna/2003/10' is referenced without import declaration Can you send me a test case that doesn't do anything fancy? Specifically, it should just run the XSD compiler and then try to compile the generated code which should lead to the errors you are observing. Boris From boris at codesynthesis.com Tue Jul 28 11:12:06 2015 From: boris at codesynthesis.com (Boris Kolpackov) Date: Tue Jul 28 11:12:14 2015 Subject: [xsd-users] RE: Compiler Error CXX-Tree parser types undeclared In-Reply-To: References: Message-ID: Hi Laurence, Ok, I think I fixed this issue (and maybe the other one, who knows). Can you try the a6: http://codesynthesis.com/~boris/tmp/xsd/ Boris From laurence.davies at unsw.edu.au Wed Jul 29 01:23:38 2015 From: laurence.davies at unsw.edu.au (Laurence Davies) Date: Wed Jul 29 01:23:48 2015 Subject: [xsd-users] RE: Compiler Error CXX-Tree parser types undeclared In-Reply-To: References: , Message-ID: Hi Boris, After running your latest a6 and using the generated classes I'm still getting the compiler errors sadly. This is the first. Error 1 error C2039: 'booleanOrNilReasonList' : is not a member of 'gml32' D:\git\eGeodesy\0.2.1\geodesyml\marshaller\windows\GeodesyML_VS10\include\binding\valueObjects.hxx 511 The other error hasn't popped up yet. I'll let you know if it does. Laurence Davies ____________________ Research Assistant in eGeodesy CRC-SI, UNSW Desk phone: (03) 8636 2373 Mobile: 0427 519 289 ________________________________________ From: Boris Kolpackov [boris@codesynthesis.com] Sent: Wednesday, 29 July 2015 1:12 AM To: Laurence Davies Cc: xsd-users@codesynthesis.com Subject: Re: [xsd-users] RE: Compiler Error CXX-Tree parser types undeclared Hi Laurence, Ok, I think I fixed this issue (and maybe the other one, who knows). Can you try the a6: http://codesynthesis.com/~boris/tmp/xsd/ Boris