X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FConsole%2FProgramOptions.ih;h=29c2ebf8cf5a83993e01673b63663bb858e1c911;hb=9cb871b939efe93e35dd96808d25089399acfc46;hp=7bbbf0cc3131b935e1b6573227bfacdb9fda2d5e;hpb=3a43b572a2c0028b353d47e86fa7546633d6e2cf;p=senf.git diff --git a/senf/Utils/Console/ProgramOptions.ih b/senf/Utils/Console/ProgramOptions.ih index 7bbbf0c..29c2ebf 100644 --- a/senf/Utils/Console/ProgramOptions.ih +++ b/senf/Utils/Console/ProgramOptions.ih @@ -1,6 +1,6 @@ // $Id$ // -// Copyright (C) 2008 +// Copyright (C) 2008 // Fraunhofer Institute for Open Communication Systems (FOKUS) // Competence Center NETwork research (NET), St. Augustin, GERMANY // Stefan Bund @@ -35,7 +35,7 @@ namespace senf { namespace console { namespace detail { - + #ifndef DOXYGEN class ProgramOptionsSource : public ConfigSource @@ -48,10 +48,10 @@ namespace detail { template ProgramOptionsSource & nonOptions(Container & container); ProgramOptionsSource & alias(char letter, std::string const & longOpt, bool withArg=false); - + private: ProgramOptionsSource(int argc, char const ** argv); - + virtual void v_parse(RestrictedExecutor & executor); void parseLongOption(std::string const & arg, RestrictedExecutor & executor); @@ -84,7 +84,7 @@ namespace detail { }; typedef std::map ShortOptions; - + int argc_; char const ** argv_; CommandParser parser_;