|
LibreOffice Module codemaker (master) 1
|
#include <cppuoptions.hxx>
Public Member Functions | |
| CppuOptions () | |
| bool | initOptions (int ac, char *av[], bool bCmdFile=false) override |
| OString | prepareHelp () override |
| OString | prepareVersion () const |
Public Member Functions inherited from Options | |
| 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 |
Additional Inherited Members | |
Protected Attributes inherited from Options | |
| ::rtl::OString | m_program |
| StringVector | m_inputFiles |
| StringVector | m_extra_input_files |
| OptionMap | m_options |
Definition at line 24 of file cppuoptions.hxx.
|
inline |
Definition at line 27 of file cppuoptions.hxx.
|
overridevirtual |
| IllegalArgument |
Implements Options.
Definition at line 31 of file cppuoptions.cxx.
References FILE, i, index, initOptions(), Options::isValid(), Options::m_extra_input_files, Options::m_inputFiles, Options::m_options, Options::m_program, name, prepareHelp(), and SEPARATOR.
Referenced by initOptions(), and SAL_IMPLEMENT_MAIN_WITH_ARGS().
|
overridevirtual |
Implements Options.
Definition at line 292 of file cppuoptions.cxx.
References help, Options::m_program, and prepareVersion().
Referenced by initOptions().
| OString CppuOptions::prepareVersion | ( | ) | const |
Definition at line 318 of file cppuoptions.cxx.
References Options::m_program.
Referenced by prepareHelp().