From d80d096ee8743fd6f7382d274272b0b6d7faf9bf Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 18 Oct 2010 11:17:51 +0200 Subject: Support for schema evolution using substitution groups New examples: hybrid/evolution/ignore and hybrid/evolution/passthrough. --- .../xsde/cxx/parser/substitution-map-callback.hxx | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 libxsde/xsde/cxx/parser/substitution-map-callback.hxx (limited to 'libxsde/xsde/cxx/parser/substitution-map-callback.hxx') diff --git a/libxsde/xsde/cxx/parser/substitution-map-callback.hxx b/libxsde/xsde/cxx/parser/substitution-map-callback.hxx new file mode 100644 index 0000000..97d22c9 --- /dev/null +++ b/libxsde/xsde/cxx/parser/substitution-map-callback.hxx @@ -0,0 +1,29 @@ +// file : xsde/cxx/parser/substitution-map-callback.hxx +// author : Boris Kolpackov +// copyright : Copyright (c) 2005-2010 Code Synthesis Tools CC +// license : GNU GPL v2 + exceptions; see accompanying LICENSE file + +#ifndef XSDE_CXX_PARSER_SUBSTITUTION_MAP_CALLBACK_HXX +#define XSDE_CXX_PARSER_SUBSTITUTION_MAP_CALLBACK_HXX + +#include + +namespace xsde +{ + namespace cxx + { + namespace parser + { + void + parser_smap_callback ( + bool (*callback) ( + const ro_string& root_ns, + const ro_string& root_name, + const ro_string& member_ns, + const ro_string& member_name, + const char*& type)); + } + } +} + +#endif // XSDE_CXX_PARSER_SUBSTITUTION_MAP_CALLBACK_HXX -- cgit v1.1