Sierra Toolkit  Version of the Day
WriterParser.hpp
1 #ifndef STK_UTIL_Diag_WriterParser_h
2 #define STK_UTIL_Diag_WriterParser_h
3 
4 #include <stk_util/diag/Option.hpp>
5 
6 namespace stk_classic {
7 namespace diag {
8 
13 
19 {
20 public:
27 
28 public:
34  WriterParser();
35 
46  Mask parse(const char *mask_string) const;
47 
58  virtual void parseArg(const std::string &name, const std::string &arg) const;
59 };
60 
64 
65 } // namespace diag
66 } // namespace stk_classic
67 
68 namespace sierra {
69 namespace Diag {
70 
71 typedef stk_classic::diag::WriterParser WriterParser;
72 
73 } // namespace Diag
74 } // namespace sierra
75 
76 #endif // STK_UTIL_Diag_WriterParser_h
Definition: Env.cpp:53
virtual void parseArg(const std::string &name, const std::string &arg) const
Member function parseArg parses the argument and its argument values.
WriterParser()
Creates a new WriterParser instance containing the lowerest level PrintMask names.
Sierra Toolkit.
OptionMaskParser::Mask Mask
Typedef Mask bring the OptionMaskParser Mask definition into this namespace.
OptionMask Mask
Mask for this option.
Definition: Option.hpp:261
Mask parse(const char *mask_string) const
Member function parse returns the mask which results from parsing the mask_string.
Class WriterParser implements a parser a Writer PrintMask string.