LibreOffice Module codemaker (master) 1
|
#include <options.hxx>
Public Member Functions | |
Options () | |
virtual | ~Options () |
virtual bool | initOptions (int ac, char *av[], bool bCmdFile=false)=0 |
virtual ::rtl::OString | prepareHelp ()=0 |
const ::rtl::OString & | getProgramName () const |
bool | isValid (const ::rtl::OString &option) const |
const OString & | getOption (const ::rtl::OString &option) const |
const StringVector & | getInputFiles () const |
const StringVector & | getExtraInputFiles () const |
Protected Attributes | |
::rtl::OString | m_program |
StringVector | m_inputFiles |
StringVector | m_extra_input_files |
OptionMap | m_options |
Definition at line 43 of file options.hxx.
Options::Options | ( | ) |
Definition at line 22 of file options.cxx.
|
virtual |
Definition at line 24 of file options.cxx.
|
inline |
Definition at line 61 of file options.hxx.
References m_extra_input_files.
Referenced by SAL_IMPLEMENT_MAIN_WITH_ARGS().
|
inline |
Definition at line 59 of file options.hxx.
References m_inputFiles.
Referenced by SAL_IMPLEMENT_MAIN_WITH_ARGS().
const OString & Options::getOption | ( | const ::rtl::OString & | option | ) | const |
IllegalArgument |
Definition at line 31 of file options.cxx.
References i, m_options, and option.
Referenced by SAL_IMPLEMENT_MAIN_WITH_ARGS().
|
inline |
Definition at line 54 of file options.hxx.
References m_program.
|
pure virtual |
IllegalArgument |
Implemented in CppuOptions, and JavaOptions.
bool Options::isValid | ( | const ::rtl::OString & | option | ) | const |
Definition at line 26 of file options.cxx.
References m_options, and option.
Referenced by CppuOptions::initOptions(), produce(), and SAL_IMPLEMENT_MAIN_WITH_ARGS().
|
pure virtual |
Implemented in CppuOptions, and JavaOptions.
|
protected |
Definition at line 66 of file options.hxx.
Referenced by getExtraInputFiles(), CppuOptions::initOptions(), and JavaOptions::initOptions().
|
protected |
Definition at line 65 of file options.hxx.
Referenced by getInputFiles(), CppuOptions::initOptions(), and JavaOptions::initOptions().
|
protected |
Definition at line 67 of file options.hxx.
Referenced by getOption(), CppuOptions::initOptions(), JavaOptions::initOptions(), and isValid().
|
protected |
Definition at line 64 of file options.hxx.
Referenced by getProgramName(), CppuOptions::initOptions(), JavaOptions::initOptions(), CppuOptions::prepareHelp(), JavaOptions::prepareHelp(), CppuOptions::prepareVersion(), and JavaOptions::prepareVersion().