|
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. More... | |
Public Types inherited from stk_classic::diag::OptionMaskParser | |
| typedef OptionMask | Mask |
| Mask for this option. | |
Public Member Functions | |
| WriterParser () | |
| Creates a new WriterParser instance containing the lowerest level PrintMask names. More... | |
| 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... | |
Public Member Functions inherited from stk_classic::diag::OptionMaskParser | |
| 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 |
Public Member Functions inherited from stk_classic::diag::OptionDescription | |
| virtual | ~OptionDescription () |
Additional Inherited Members | |
Protected Attributes inherited from stk_classic::diag::OptionMaskParser | |
| 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.
Typedef Mask bring the OptionMaskParser Mask definition into this namespace.
Definition at line 26 of file WriterParser.hpp.
| stk_classic::diag::WriterParser::WriterParser | ( | ) |
Creates a new WriterParser instance containing the lowerest level PrintMask names.
Definition at line 14 of file WriterParser.cpp.
|
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.