X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Console%2FParse.cc;h=c06a2bc9b9f42a9b0f1cd47844dc765e5c2f27bf;hb=6e417a227d417cef20d55af94e2474fbe9c280b8;hp=bf49f31aed9347be78ca60f6a7bd21b6eb7c39e9;hpb=9c0078ac0054789badff2a987364ed0448b080ef;p=senf.git diff --git a/Console/Parse.cc b/Console/Parse.cc index bf49f31..c06a2bc 100644 --- a/Console/Parse.cc +++ b/Console/Parse.cc @@ -41,6 +41,8 @@ namespace senf { namespace console { namespace detail { +#ifndef DOXYGEN + struct ParserAccess { static void init(ParseCommandInfo & info) @@ -149,11 +151,15 @@ namespace detail { } }; +#endif + }}} /////////////////////////////////////////////////////////////////////////// // senf::console::ParseCommandInfo +#ifndef DOXYGEN + struct senf::console::ParseCommandInfo::MakeRange { typedef ParseCommandInfo::argument_value_type result_type; @@ -168,6 +174,8 @@ struct senf::console::ParseCommandInfo::MakeRange } }; +#endif + prefix_ void senf::console::ParseCommandInfo::finalize() { arguments_.resize( tempArguments_.size() ); @@ -211,6 +219,8 @@ prefix_ std::ostream & senf::console::operator<<(std::ostream & stream, /////////////////////////////////////////////////////////////////////////// // senf::console::CommandParser +#ifndef DOXYGEN + struct senf::console::CommandParser::Impl { typedef detail::CommandGrammar Grammar; @@ -222,6 +232,8 @@ struct senf::console::CommandParser::Impl Impl() : dispatcher(), context(), grammar(dispatcher, context) {} }; +#endif + prefix_ senf::console::CommandParser::CommandParser() : impl_ (new Impl()) {}