Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::CommandLineParser Class Reference

Wrapper class to handle command line parsing. More...

#include <commandlineparser.h>

Public Member Functions

 CommandLineParser (int argc, char **argv)
 
void parse (int argc, char **argv)
 
void parse ()
 
std::filesystem::path getOutputPath () const
 
std::filesystem::path getWorkspacePath () const
 
std::filesystem::path getLogToFileFileName () const
 
std::vector< std::filesystem::path > getModuleSearchPaths () const
 
bool getQuitApplicationAfterStartup () const
 
bool getLoadWorkspaceFromArg () const
 
bool getShowSplashScreen () const
 
bool getLogToFile () const
 
bool getLogToConsole () const
 
const std::vector< std::string > & getArgs () const
 
const std::vector< std::string > & getIgnoredArgs () const
 
void processCallbacks ()
 
void add (TCLAP::Arg *arg, std::function< void()> callback=nullptr, int priority=0)
 
void remove (TCLAP::Arg *arg)
 

Detailed Description

Wrapper class to handle command line parsing.

Wraps around TCLAP to provide command line argument parsing.


The documentation for this class was generated from the following file: