Sierra Toolkit Version of the Day
stk::diag::WriterParser Class Reference

Class WriterParser implements a parser a Writer PrintMask string. More...

#include <WriterParser.hpp>

Inheritance diagram for stk::diag::WriterParser:
Collaboration diagram for stk::diag::WriterParser:

List of all members.

Public Types

typedef OptionMaskParser::Mask Mask
 Typedef Mask bring the OptionMaskParser Mask definition into this namespace.

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.
virtual void parseArg (const std::string &name, const std::string &arg) const
 Member function parseArg parses the argument and its argument values.

Detailed Description

Class WriterParser implements a parser a Writer PrintMask string.

Definition at line 18 of file WriterParser.hpp.


Member Function Documentation

OptionMaskParser::Mask stk::diag::WriterParser::parse ( const char *  mask_string) const [virtual]

Member function parse returns the mask which results from parsing the mask_string.

Parameters:
mask_stringa std::string const reference to the string to be parsed.
Returns:
a Mask value of the result from parsing the mask string.

Reimplemented from stk::diag::OptionMaskParser.

Definition at line 26 of file WriterParser.cpp.

void stk::diag::WriterParser::parseArg ( const std::string &  name,
const std::string &  arg 
) const [virtual]

Member function parseArg parses the argument and its argument values.

Parameters:
namea std::string const reference to the argument name.
arga std::string const reference to the argument values.

Reimplemented from stk::diag::OptionMaskParser.

Definition at line 35 of file WriterParser.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines