#include <Merge.h>
During the process of merging every item of the source library will be subjected to match against every rule in a rule vector sequentially.
Public Member Functions | |
Rule (Arxx::Action Action) | |
Rule (const Arxx::Rule &Rule) | |
virtual bool | bMatch (Arxx::Context &Context) const =0 |
This function returns whether the current item matches in the context. | |
virtual void | vAct (Arxx::Context &Context) const |
Arxx::Action | GetAction (Arxx::Context &Context) const |
This function is called by the merger whenever a rule is matched. | |
Private Attributes | |
Arxx::Action | m_Action |
Arxx::Rule::Rule | ( | Arxx::Action | Action | ) | [inline] |
Arxx::Rule::Rule | ( | const Arxx::Rule & | Rule | ) | [inline] |
virtual bool Arxx::Rule::bMatch | ( | Arxx::Context & | Context | ) | const [pure virtual] |
This function returns whether the current item matches in the context.
Context | The current settings in the merging process. |
false - The merger will simply skip this rule and proceed to the next.
Arxx::Action Arxx::Rule::GetAction | ( | Arxx::Context & | Context | ) | const [inline] |
This function is called by the merger whenever a rule is matched.
Context | The context in which the merger asks for the action. |
Here is the call graph for this function:
virtual void Arxx::Rule::vAct | ( | Arxx::Context & | Context | ) | const [inline, virtual] |
Arxx::Action Arxx::Rule::m_Action [private] |