diff options
Diffstat (limited to 'xsd-frontend/semantic-graph/elements.hxx')
-rw-r--r-- | xsd-frontend/semantic-graph/elements.hxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/xsd-frontend/semantic-graph/elements.hxx b/xsd-frontend/semantic-graph/elements.hxx index d92841b..9bf0462 100644 --- a/xsd-frontend/semantic-graph/elements.hxx +++ b/xsd-frontend/semantic-graph/elements.hxx @@ -862,12 +862,11 @@ namespace XSDFrontend class Restricts: public virtual Inherits { - protected: + public: typedef Cult::Containers::Map<WideString, WideString> Facets; - public: typedef Facets::Iterator FacetIterator; @@ -902,6 +901,12 @@ namespace XSDFrontend facets_[name] = value; } + Facets const& + facets () const + { + return facets_; + } + protected: friend class Bits::Graph<Node, Edge>; |