diff options
Diffstat (limited to 'xsd-frontend/semantic-graph')
-rw-r--r-- | xsd-frontend/semantic-graph/elements.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xsd-frontend/semantic-graph/elements.hxx b/xsd-frontend/semantic-graph/elements.hxx index 98fb180..d295a17 100644 --- a/xsd-frontend/semantic-graph/elements.hxx +++ b/xsd-frontend/semantic-graph/elements.hxx @@ -10,6 +10,7 @@ #include <list> #include <vector> #include <iosfwd> +#include <cstddef> // std::size_t #include <utility> // std::pair #include <cstdlib> // abort #include <cassert> @@ -342,6 +343,12 @@ namespace XSDFrontend return names_.end (); } + std::size_t + names_size () const + { + return names_.size (); + } + virtual NamesIteratorPair find (Name const& name) const { |