Represents a single regular expression parsing rule. More...
|Default constructor. |
|ms_parserule (const ms_parserule &src)|
|Copying constructor. |
|void||copyFrom (const ms_parserule *right)|
|Copies all contents from another instance. |
|Initialises the instance. |
|std::string||getRuleStr () const|
|Returns a string representing the rule. |
|bool||isAvailable () const|
|Call this member to check if this rule has been specified in the file or just a placeholder. |
|ms_parserule &||operator= (const ms_parserule &right)|
|Assignment operator for C++ client applications. |
|void||setAvailable (const bool value)|
|Change the availability of the rule. |
|void||setRuleStr (const char *str)|
|Change the rule string. |
Represents a single regular expression parsing rule.
Instances of this class can be stored in ms_parseoptions as a list of parse rules specified in
PARSE section of
Call this member to check if this rule has been specified in the file or just a placeholder.
Parse rules in the
PARSE section are specified in arbitrary order with their unique numbers. There might be gaps and unspecified rules. Therefore, it is recommended to check if the rule is actually available in the file before retrieving its properties.
By default this returns FALSE.
|void setAvailable||(||const bool||value )|
Change the availability of the rule.
See isAvailable() for more information.
|value||boolean whether the rule is available or not|
|Copyright © 2016 Matrix Science Ltd. All Rights Reserved. Generated on Fri Jun 2 2017 01:44:53|