diff options
Diffstat (limited to 'cli/html.cxx')
-rw-r--r-- | cli/html.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cli/html.cxx b/cli/html.cxx index b147703..be675c7 100644 --- a/cli/html.cxx +++ b/cli/html.cxx @@ -162,6 +162,17 @@ namespace virtual void traverse (type& c) { + string const& n (options.class_ ()); + + if (!n.empty ()) + { + string fqn (fq_name (c, false)); + fqn = string (fqn, 2, fqn.size () - 2); // Get rid of leading ::. + + if (n != fqn) + return; + } + os << "<dl class=\"options\">" << endl; names (c, names_option_); @@ -170,6 +181,7 @@ namespace } private: + bool generated_; option option_; traversal::names names_option_; }; |