Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
WCCL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Analysers
WCCL
Commits
d2f021f8
Commit
d2f021f8
authored
Mar 11, 2011
by
Adam Wardynski
Browse files
Options
Downloads
Patches
Plain Diff
MatchAction - ABC for actions of match rules.
parent
f88f97eb
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
libwccl/ops/match/matchaction.h
+24
-0
24 additions, 0 deletions
libwccl/ops/match/matchaction.h
libwccl/ops/tagaction.h
+1
-1
1 addition, 1 deletion
libwccl/ops/tagaction.h
with
25 additions
and
1 deletion
libwccl/ops/match/matchaction.h
0 → 100644
+
24
−
0
View file @
d2f021f8
#ifndef LIBWCCL_OPS_MATCH_MATCHACTION_H
#define LIBWCCL_OPS_MATCH_MATCHACTION_H
namespace
Wccl
{
/**
* Abstract base class for actions in WCCL match rules
*/
class
MatchAction
:
public
Expression
{
public:
/**
* @returns Name of the action.
*/
virtual
std
::
string
name
()
const
=
0
;
/**
* Executes the action for the given execution context.
*/
virtual
void
execute
(
const
ActionExecContext
&
context
)
const
=
0
;
};
}
/* end ns Wccl */
#endif // LIBWCCL_OPS_MATCH_MATCHACTION_H
This diff is collapsed.
Click to expand it.
libwccl/ops/tagaction.h
+
1
−
1
View file @
d2f021f8
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
namespace
Wccl
{
namespace
Wccl
{
/**
/**
* Abstract base class for actions in WCCL rules
* Abstract base class for actions in WCCL
tagging
rules
*/
*/
class
TagAction
:
public
Expression
class
TagAction
:
public
Expression
{
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment