From ee4eb695119bce96515b330f9fc83ddd67da5c62 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 2 Dec 2009 12:26:05 +0200 Subject: Implement de-registering polymorphic type information This is required for DLL/shared library unloading. --- libxsd/xsd/cxx/tree/stream-extraction-map.hxx | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libxsd/xsd/cxx/tree/stream-extraction-map.hxx') diff --git a/libxsd/xsd/cxx/tree/stream-extraction-map.hxx b/libxsd/xsd/cxx/tree/stream-extraction-map.hxx index 14a5423..5d31b6a 100644 --- a/libxsd/xsd/cxx/tree/stream-extraction-map.hxx +++ b/libxsd/xsd/cxx/tree/stream-extraction-map.hxx @@ -35,6 +35,9 @@ namespace xsd extractor, bool override = true); + void + unregister_type (const qualified_name& name); + std::auto_ptr extract (istream&, flags, container*); @@ -87,6 +90,11 @@ namespace xsd struct stream_extraction_initializer { stream_extraction_initializer (const C* name, const C* ns); + ~stream_extraction_initializer (); + + private: + const C* name_; + const C* ns_; }; } } -- cgit v1.1