JAPAn
Just Another Parity Analyzer
|
An options class which parses command line, config file and environment. More...
#include <iostream>
#include <string>
#include <vector>
#include <boost/program_options.hpp>
#include <TString.h>
#include "QwLog.h"
Go to the source code of this file.
Data Structures | |
class | QwOptions |
Command-line and configuration file options processor. More... | |
Macros | |
#define | gQwOptions QwOptions::Instance() |
#define | default_bool_value(b) |
Functions | |
const char * | getenv_safe (const char *name) |
const std::string | getenv_safe_string (const char *name) |
const TString | getenv_safe_TString (const char *name) |
An options class which parses command line, config file and environment.
Command-line options processing using Boost.Program_options.
Definition in file QwOptions.h.
#define default_bool_value | ( | b | ) |
Definition at line 54 of file QwOptions.h.
#define gQwOptions QwOptions::Instance() |
Definition at line 31 of file QwOptions.h.
Referenced by main(), main(), QwPromptSummary::PrintCSV(), QwEventRing::ProcessOptions(), and QwRootFile::QwRootFile().
|
inline |
Definition at line 34 of file QwOptions.h.
References QwLog::endl(), QwError, and QwWarning.
Referenced by getenv_safe_string(), and getenv_safe_TString().
|
inline |
Definition at line 43 of file QwOptions.h.
References getenv_safe().
Referenced by main(), and main().
|
inline |
Definition at line 46 of file QwOptions.h.
References getenv_safe().
Referenced by main().