|
ldas-tools-al 2.6.7
|
#include <CommandLineOptions.hh>


Public Types | |
| typedef Option | element_type |
| typedef Option | element_type |
Public Member Functions | |
| void | Add (const Option &Opt) |
| void | Add (const OptionSet &Opts) |
| void | Description (const std::string &Text) |
| void | Summary (const std::string &Text) |
| bool | SummaryOnly () const |
| void | Synopsis (const std::string &Text) |
| ostream & | Write (ostream &Stream, int Indent=0) const |
| const Option & | operator[] (const std::string &Name) const |
| const Option & | operator[] (int) const |
| void | Add (const Option &Opt) |
| void | Add (const OptionSet &Opts) |
| void | Description (const std::string &Text) |
| void | Summary (const std::string &Text) |
| bool | SummaryOnly () const |
| void | Synopsis (const std::string &Text) |
| ostream & | Write (ostream &Stream, int Indent=0) const |
| const Option & | operator[] (const std::string &Name) const |
| const Option & | operator[] (int) const |
Protected Types | |
| typedef std::list< Option > | option_container_type |
| typedef LDASTools::AL::unordered_map< int, option_container_type::const_iterator > | key_container_type |
| typedef LDASTools::AL::unordered_map< std::string, option_container_type::const_iterator > | name_container_type |
| typedef std::list< const OptionSet * > | subcommand_container_type |
| typedef std::list< Option > | option_container_type |
| typedef LDASTools::AL::unordered_map< int, option_container_type::const_iterator > | key_container_type |
| typedef LDASTools::AL::unordered_map< std::string, option_container_type::const_iterator > | name_container_type |
| typedef std::list< const OptionSet * > | subcommand_container_type |
Static Protected Member Functions | |
| static void | hanging_par (ostream &Stream, size_t Indent, const std::string &Paragraph) |
| Format a paragraph of data. | |
| static void | hanging_par (ostream &Stream, size_t Indent, const std::string &Paragraph) |
| Format a paragraph of data. | |
Protected Attributes | |
| option_container_type | m_options |
| name_container_type | m_name_mapping |
| key_container_type | m_key_mapping |
| subcommand_container_type | m_subcommands |
| std::string | m_description |
| std::string | m_summary |
| std::string | m_synopsis |
| typedef Option LDASTools::AL::CommandLineOptions::OptionSet::element_type |
| typedef Option LDASTools::AL::CommandLineOptions::OptionSet::element_type |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| void LDASTools::AL::CommandLineOptions::OptionSet::Add | ( | const Option & | Opt | ) |
| void LDASTools::AL::CommandLineOptions::OptionSet::Add | ( | const Option & | Opt | ) |
| void LDASTools::AL::CommandLineOptions::OptionSet::Add | ( | const OptionSet & | Opts | ) |
| void LDASTools::AL::CommandLineOptions::OptionSet::Add | ( | const OptionSet & | Opts | ) |
|
inline |
| void LDASTools::AL::CommandLineOptions::OptionSet::Description | ( | const std::string & | Text | ) |
|
staticprotected |
Format a paragraph of data.
| [in] | Stream | Output stream where the paragraph is to be written. |
| [in] | Indent | The number of columns to indent each line of the paragraph. |
| [in] | Paragraph | The text of the paragraph. |
This method formats a string of text appropriately for a fixed width display.
|
staticprotected |
Format a paragraph of data.
| [in] | Stream | Output stream where the paragraph is to be written. |
| [in] | Indent | The number of columns to indent each line of the paragraph. |
| [in] | Paragraph | The text of the paragraph. |
| const CommandLineOptions::Option & LDASTools::AL::OptionSet::operator[] | ( | const std::string & | Name | ) | const |
| const Option & LDASTools::AL::CommandLineOptions::OptionSet::operator[] | ( | const std::string & | Name | ) | const |
| const CommandLineOptions::Option & LDASTools::AL::OptionSet::operator[] | ( | int | Key | ) | const |
|
inline |
| void LDASTools::AL::CommandLineOptions::OptionSet::Summary | ( | const std::string & | Text | ) |
|
inline |
| bool LDASTools::AL::CommandLineOptions::OptionSet::SummaryOnly | ( | ) | const |
|
inline |
| void LDASTools::AL::CommandLineOptions::OptionSet::Synopsis | ( | const std::string & | Text | ) |
| ostream & LDASTools::AL::CommandLineOptions::OptionSet::Write | ( | ostream & | Stream, |
| int | Indent = 0 ) const |
| ostream & LDASTools::AL::CommandLineOptions::OptionSet::Write | ( | ostream & | Stream, |
| int | Indent = 0 ) const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |