Sierra Toolkit
Version of the Day
|
Class WriterParser implements a parser a Writer PrintMask string. More...
#include <WriterParser.hpp>
Public Types | |
typedef OptionMaskParser::Mask | Mask |
Typedef Mask bring the OptionMaskParser Mask definition into this namespace. | |
![]() | |
typedef OptionMask | Mask |
Mask for this option. | |
Public Member Functions | |
WriterParser () | |
Creates a new WriterParser instance containing the lowerest level PrintMask names. | |
Mask | parse (const char *mask_string) const |
Member function parse returns the mask which results from parsing the mask_string. More... | |
virtual void | parseArg (const std::string &name, const std::string &arg) const |
Member function parseArg parses the argument and its argument values. More... | |
![]() | |
OptionMaskParser () | |
virtual | ~OptionMaskParser () |
const OptionMaskNameMap & | getOptionMaskNameMap () const |
Mask & | operator[] (const std::string &name) |
void | mask (const std::string &name, const Mask l_mask, const std::string &description) |
std::ostream & | describe (std::ostream &os) const |
![]() | |
virtual | ~OptionDescription () |
Additional Inherited Members | |
![]() | |
OptionMaskNameMap | m_optionMaskNameMap |
Mask name vector. | |
OptionMask | m_optionMask |
Most recently parsed mask. | |
bool | m_status |
Result of most recent parse. | |
Class WriterParser implements a parser a Writer PrintMask string.
Definition at line 18 of file WriterParser.hpp.
|
virtual |
Member function parse returns the mask which results from parsing the mask_string.
mask_string | a std::string const reference to the string to be parsed. |
Reimplemented from stk_classic::diag::OptionMaskParser.
Definition at line 26 of file WriterParser.cpp.
|
virtual |
Member function parseArg parses the argument and its argument values.
name | a std::string const reference to the argument name. |
arg | a std::string const reference to the argument values. |
Reimplemented from stk_classic::diag::OptionMaskParser.
Definition at line 35 of file WriterParser.cpp.