#include <CommandLineOptions.hh>
◆ element_type
typedef Option LDASTools::AL::CommandLineOptions::OptionSet::element_type |
◆ key_container_type
typedef LDASTools::AL:: unordered_map< int, option_container_type::const_iterator > LDASTools::AL::CommandLineOptions::OptionSet::key_container_type |
|
protected |
◆ name_container_type
typedef LDASTools::AL::unordered_map< std::string, option_container_type::const_iterator > LDASTools::AL::CommandLineOptions::OptionSet::name_container_type |
|
protected |
◆ option_container_type
◆ subcommand_container_type
typedef std::list< const OptionSet* > LDASTools::AL::CommandLineOptions::OptionSet::subcommand_container_type |
|
protected |
◆ Add() [1/2]
void LDASTools::AL::CommandLineOptions::OptionSet::Add |
( |
const Option & |
Opt | ) |
|
◆ Add() [2/2]
void LDASTools::AL::CommandLineOptions::OptionSet::Add |
( |
const OptionSet & |
Opts | ) |
|
◆ Description()
void LDASTools::AL::CommandLineOptions::OptionSet::Description |
( |
const std::string & |
Text | ) |
|
|
inline |
◆ hanging_par()
void LDASTools::AL::CommandLineOptions::OptionSet::hanging_par |
( |
ostream & |
Stream, |
|
|
size_t |
Indent, |
|
|
const std::string & |
Paragraph |
|
) |
| |
|
staticprotected |
Format a paragraph of data.
- Parameters
-
[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.
- Note
- The current assumption is a screen width of 72 characters.
◆ operator[]() [1/2]
◆ operator[]() [2/2]
◆ Summary()
void LDASTools::AL::CommandLineOptions::OptionSet::Summary |
( |
const std::string & |
Text | ) |
|
|
inline |
◆ SummaryOnly()
bool LDASTools::AL::CommandLineOptions::OptionSet::SummaryOnly |
( |
| ) |
const |
|
inline |
◆ Synopsis()
void LDASTools::AL::CommandLineOptions::OptionSet::Synopsis |
( |
const std::string & |
Text | ) |
|
|
inline |
◆ Write()
ostream & LDASTools::AL::CommandLineOptions::OptionSet::Write |
( |
ostream & |
Stream, |
|
|
int |
Indent = 0 |
|
) |
| const |
◆ m_description
std::string LDASTools::AL::CommandLineOptions::OptionSet::m_description |
|
protected |
◆ m_key_mapping
◆ m_name_mapping
◆ m_options
◆ m_subcommands
◆ m_summary
std::string LDASTools::AL::CommandLineOptions::OptionSet::m_summary |
|
protected |
◆ m_synopsis
std::string LDASTools::AL::CommandLineOptions::OptionSet::m_synopsis |
|
protected |
The documentation for this class was generated from the following files: