aboutsummaryrefslogtreecommitdiff
path: root/libxsd/xsd/cxx/tree/serialization.txx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-02-22 14:44:30 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-02-22 14:44:30 +0200
commit2c0a77a8f4565b6ef76c32b970df48369b3d0456 (patch)
tree6c8d18b27efa644cf852cfdb42158864895ac5b9 /libxsd/xsd/cxx/tree/serialization.txx
parent5a2282e394b4049d3db96c2c28e8622e7193a014 (diff)
Add support for excluding export code from compilation
Affected options: --generate-xml-schema, --export-maps, --import-maps. New macros: XSD_NO_EXPORT, XSD_MAP_VISIBILITY. Reorder template arguments for the idref type.
Diffstat (limited to 'libxsd/xsd/cxx/tree/serialization.txx')
-rw-r--r--libxsd/xsd/cxx/tree/serialization.txx12
1 files changed, 6 insertions, 6 deletions
diff --git a/libxsd/xsd/cxx/tree/serialization.txx b/libxsd/xsd/cxx/tree/serialization.txx
index 322febe..29364f4 100644
--- a/libxsd/xsd/cxx/tree/serialization.txx
+++ b/libxsd/xsd/cxx/tree/serialization.txx
@@ -533,23 +533,23 @@ namespace xsd
// idref
//
- template <typename T, typename C, typename B>
+ template <typename C, typename B, typename T>
inline void
- operator<< (xercesc::DOMElement& e, const idref<T, C, B>& x)
+ operator<< (xercesc::DOMElement& e, const idref<C, B, T>& x)
{
bits::insert<C> (e, x);
}
- template <typename T, typename C, typename B>
+ template <typename C, typename B, typename T>
inline void
- operator<< (xercesc::DOMAttr& a, const idref<T, C, B>& x)
+ operator<< (xercesc::DOMAttr& a, const idref<C, B, T>& x)
{
bits::insert<C> (a, x);
}
- template <typename T, typename C, typename B>
+ template <typename C, typename B, typename T>
inline void
- operator<< (list_stream<C>& ls, const idref<T, C, B>& x)
+ operator<< (list_stream<C>& ls, const idref<C, B, T>& x)
{
ls.os_ << x;
}