diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-02-22 14:44:30 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-02-22 14:44:30 +0200 |
commit | 2c0a77a8f4565b6ef76c32b970df48369b3d0456 (patch) | |
tree | 6c8d18b27efa644cf852cfdb42158864895ac5b9 /libxsd/xsd/cxx/tree/types.txx | |
parent | 5a2282e394b4049d3db96c2c28e8622e7193a014 (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/types.txx')
-rw-r--r-- | libxsd/xsd/cxx/tree/types.txx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libxsd/xsd/cxx/tree/types.txx b/libxsd/xsd/cxx/tree/types.txx index a13a466..8d6d79f 100644 --- a/libxsd/xsd/cxx/tree/types.txx +++ b/libxsd/xsd/cxx/tree/types.txx @@ -204,8 +204,8 @@ namespace xsd // idref // - template <typename T, typename C, typename B> - idref<T, C, B>* idref<T, C, B>:: + template <typename C, typename B, typename T> + idref<C, B, T>* idref<C, B, T>:: _clone (flags f, container* c) const { return new idref (*this, f, c); @@ -216,8 +216,8 @@ namespace xsd // non-trivial to track down cases. So we are going to use the // old-n-ugly this-> techniques. // - template <typename T, typename C, typename B> - const _type* idref<T, C, B>:: + template <typename C, typename B, typename T> + const _type* idref<C, B, T>:: get_ () const { if (!this->empty () && this->_container () != 0) @@ -228,8 +228,8 @@ namespace xsd return 0; } - template <typename T, typename C, typename B> - _type* idref<T, C, B>:: + template <typename C, typename B, typename T> + _type* idref<C, B, T>:: get_ () { if (!this->empty () && this->_container () != 0) @@ -240,8 +240,8 @@ namespace xsd return 0; } - template <typename T, typename C, typename B> - void idref<T, C, B>:: + template <typename C, typename B, typename T> + void idref<C, B, T>:: true_ () { } |