Sierra Toolkit Version of the Day
sierra::Diag::TimerParser Class Reference

Class TimerParser implements the bit mask parser for the timer's bit masks. More...

#include <Timer.hpp>

Inheritance diagram for sierra::Diag::TimerParser:
Collaboration diagram for sierra::Diag::TimerParser:

List of all members.

Public Member Functions

 TimerParser ()
Mask parse (const char *mask_string) const
 Member function parse parses the mask string and generates the corresponding bit mask.
virtual void parseArg (const std::string &name, const std::string &arg) const

Public Attributes

stk::diag::MetricsMask m_metricsSetMask
stk::diag::MetricsMask m_metricsMask

Detailed Description

Class TimerParser implements the bit mask parser for the timer's bit masks.

Definition at line 790 of file Timer.hpp.


Constructor & Destructor Documentation

sierra::Diag::TimerParser::TimerParser ( )

Creates a new TimerParser instance.

Definition at line 1111 of file Timer.cpp.


Member Function Documentation

OptionMaskParser::Mask sierra::Diag::TimerParser::parse ( const char *  mask_string) const [virtual]

Member function parse parses the mask string and generates the corresponding bit mask.

Parameters:
mask_stringa std::string const reference to the mask string.
Returns:
a Mask value of the bitmask corresponding to the mask string.

Reimplemented from stk::diag::OptionMaskParser.

Definition at line 1151 of file Timer.cpp.

void sierra::Diag::TimerParser::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 1173 of file Timer.cpp.


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