/** \file
\brief ProgramOptions internal header */
-#ifndef IH_ProgramOptions_
-#define IH_ProgramOptions_ 1
+#ifndef IH_SENF_Scheduler_Console_ProgramOptions_
+#define IH_SENF_Scheduler_Console_ProgramOptions_ 1
// Custom includes
#include <boost/scoped_ptr.hpp>
public:
typedef boost::intrusive_ptr<ProgramOptionsSource> ptr;
- static ptr create(int argc, char ** argv);
+ static ptr create(int argc, char const ** argv);
template <class Container>
ProgramOptionsSource & nonOptions(Container & container);
ProgramOptionsSource & alias(char letter, std::string const & longOpt, bool withArg=false);
private:
- ProgramOptionsSource(int argc, char ** argv);
+ ProgramOptionsSource(int argc, char const ** argv);
virtual void v_parse(RestrictedExecutor & executor);
typedef std::map<char, ShortOption> ShortOptions;
int argc_;
- char ** argv_;
+ char const ** argv_;
CommandParser parser_;
ShortOptions shortOptions_;
boost::scoped_ptr<NonOptionContainer> nonOptions_;