aboutsummaryrefslogtreecommitdiff
path: root/libxsde/xsde/cxx/parser/validating/xml-schema-pskel.ixx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-03-28 19:27:51 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-03-28 19:27:51 +0200
commitb8749d41c4ded030201744f321b4e38a9093fd98 (patch)
tree3f451cbbf4e33c4319bd7a108bae843b2e573807 /libxsde/xsde/cxx/parser/validating/xml-schema-pskel.ixx
parentf5b85ddc9a0e3ac4bb8a200d2ab1a05d5ca9f41b (diff)
Add facet support for other string-based types (parser)
Diffstat (limited to 'libxsde/xsde/cxx/parser/validating/xml-schema-pskel.ixx')
-rw-r--r--libxsde/xsde/cxx/parser/validating/xml-schema-pskel.ixx94
1 files changed, 93 insertions, 1 deletions
diff --git a/libxsde/xsde/cxx/parser/validating/xml-schema-pskel.ixx b/libxsde/xsde/cxx/parser/validating/xml-schema-pskel.ixx
index c08fb09..61a862e 100644
--- a/libxsde/xsde/cxx/parser/validating/xml-schema-pskel.ixx
+++ b/libxsde/xsde/cxx/parser/validating/xml-schema-pskel.ixx
@@ -503,7 +503,7 @@ namespace xsde
}
#endif
- inline const string_pskel::facets& string_pskel::
+ inline const string_facets::facets& string_pskel::
_facets () const
{
#ifdef XSDE_REUSE_STYLE_TIEIN
@@ -530,6 +530,18 @@ namespace xsde
}
#endif
+ inline const string_facets::facets& normalized_string_pskel::
+ _facets () const
+ {
+#ifdef XSDE_REUSE_STYLE_TIEIN
+ if (parent_ != 0)
+ return static_cast<const normalized_string_pskel&> (
+ *parent_).facets_;
+ else
+#endif
+ return facets_;
+ }
+
// token_pskel
//
#ifdef XSDE_REUSE_STYLE_TIEIN
@@ -545,6 +557,16 @@ namespace xsde
{
}
#endif
+ inline const string_facets::facets& token_pskel::
+ _facets () const
+ {
+#ifdef XSDE_REUSE_STYLE_TIEIN
+ if (parent_ != 0)
+ return static_cast<const token_pskel&> (*parent_).facets_;
+ else
+#endif
+ return facets_;
+ }
// name_pskel
//
@@ -561,6 +583,16 @@ namespace xsde
{
}
#endif
+ inline const string_facets::facets& name_pskel::
+ _facets () const
+ {
+#ifdef XSDE_REUSE_STYLE_TIEIN
+ if (parent_ != 0)
+ return static_cast<const name_pskel&> (*parent_).facets_;
+ else
+#endif
+ return facets_;
+ }
// nmtoken_pskel
//
@@ -577,6 +609,16 @@ namespace xsde
{
}
#endif
+ inline const string_facets::facets& nmtoken_pskel::
+ _facets () const
+ {
+#ifdef XSDE_REUSE_STYLE_TIEIN
+ if (parent_ != 0)
+ return static_cast<const nmtoken_pskel&> (*parent_).facets_;
+ else
+#endif
+ return facets_;
+ }
// nmtokens_pskel
//
@@ -609,6 +651,16 @@ namespace xsde
{
}
#endif
+ inline const string_facets::facets& ncname_pskel::
+ _facets () const
+ {
+#ifdef XSDE_REUSE_STYLE_TIEIN
+ if (parent_ != 0)
+ return static_cast<const ncname_pskel&> (*parent_).facets_;
+ else
+#endif
+ return facets_;
+ }
// id_pskel
//
@@ -625,6 +677,16 @@ namespace xsde
{
}
#endif
+ inline const string_facets::facets& id_pskel::
+ _facets () const
+ {
+#ifdef XSDE_REUSE_STYLE_TIEIN
+ if (parent_ != 0)
+ return static_cast<const id_pskel&> (*parent_).facets_;
+ else
+#endif
+ return facets_;
+ }
// idref_pskel
//
@@ -641,6 +703,16 @@ namespace xsde
{
}
#endif
+ inline const string_facets::facets& idref_pskel::
+ _facets () const
+ {
+#ifdef XSDE_REUSE_STYLE_TIEIN
+ if (parent_ != 0)
+ return static_cast<const idref_pskel&> (*parent_).facets_;
+ else
+#endif
+ return facets_;
+ }
// idrefs_pskel
//
@@ -673,6 +745,16 @@ namespace xsde
{
}
#endif
+ inline const string_facets::facets& language_pskel::
+ _facets () const
+ {
+#ifdef XSDE_REUSE_STYLE_TIEIN
+ if (parent_ != 0)
+ return static_cast<const language_pskel&> (*parent_).facets_;
+ else
+#endif
+ return facets_;
+ }
// uri_pskel
//
@@ -689,6 +771,16 @@ namespace xsde
{
}
#endif
+ inline const string_facets::facets& uri_pskel::
+ _facets () const
+ {
+#ifdef XSDE_REUSE_STYLE_TIEIN
+ if (parent_ != 0)
+ return static_cast<const uri_pskel&> (*parent_).facets_;
+ else
+#endif
+ return facets_;
+ }
// qname_pskel
//