如何向C+ +转换添加新规则?
随着规则数量增加,管理它们变得非常困难,很难决定在何处添加新规则。
As the number of rules grows, it becomes difficult to manage them, and it is tough to decide where to add a new rule.
Extend Transform:向一个已存在转换添加新规则,提取器或者转换。
ExtendTransform: Add new rules, extractors, or transforms to an existing transform.
通过添加新规则,本篇文章致力于扩展从UML到 C++ 的转换,因为大多数情况下,这一般是您最需要做的。
This article concentrates on extending the UML to C++ transformation by adding new rules, because that is what you will most commonly need to do.
这将向画布添加一个名为Rule1的新规则。
在该列表的底部添加一个名为Rule6的新规则。
为了向转换添加一个新规则,您需要完成三件事。
There are three things that you need to do to add a new rule to the transform.
当有人想到了新的规则并提交补丁或是请求时,新规则就会被添加进来。
New rules are added as folks think of them and submit patches or feature requests.
使用自动化工具支持重复测试,确保新规则添加到集合中时,旧规则不会被违背。
Using automated tools further allows for repeatable testing to ensure that as new rules are added to the collection, the older rules are not broken.
您可能会想,添加一条新规则,要比创建规则类和向插件添加一个扩展容易。
As you might expect, adding a new rule is a simple matter of creating a rule class and adding an extension to the plug-in.
记得您还为Promo使用计划添加了一个新规则,该规则的计费增量为一秒。
Remember that you also added a new rule for the Promo usage plan, that has a billing increment of one second.
该联动框架可以有效地为IDS添加未知攻击的新规则,并能有效阻断这些新型攻击,提高了管理效率。
This framework is able to add new rules for unbeknown attack of IDS, it's also effective to hold back the new attack and improves the manage efficiency.
我们添加了一个新规则,用来避免一些“改变类别”的效应使人觉得迷糊。
We added a new rule to prevent some of the confusing interactions with type-changing effects.
如果你使用一个已经存在的整数向规则链中添加规则,新规则会自动加到那条规则的前面。
If you specify an existing number when adding a rule to a chain, iptables adds the new rule before (or above) the existing rule.
如果你使用一个已经存在的整数向规则链中添加规则,新规则会自动加到那条规则的前面。
If you specify an existing number when adding a rule to a chain, iptables adds the new rule before (or above) the existing rule.
应用推荐