This class defines a value‐semantic object that holds a pattern, four threshold levels, and an attribute set. For each of these fields there is an accessor for obtaining the field value and a manipulator for changing that value. There are a few methods as well for directly adding/removing/searching attributes.
Synopsis
Declared in <ball_rule.h>
class Rule;
Description
Additionally, this class supports a complete set of value semantic operations, including copy construction, assignment and equality comparison, and ostream printing. A precise operational definition of when two instances have the same value can be found in the description of operator== for the class. This class is exception neutral with no guarantee of rollback: If an exception is thrown during the invocation of a method on a pre‐existing instance, the object is left in a valid state, but its value is undefined. In no event is memory leaked. Finally, aliasing (e.g., using all or part of an object as both source and destination) is supported in all cases.
Member Functions
Name |
Description |
|
Constructors |
Assign to this object the value of the specified |
|
Add an attribute having the specified |
|
DEPRECATED: Use |
|
Return an iterator referring to the first member of the attribute set maintained by this object. |
|
Return an iterator referring to one past the last member of the attribute set maintained by this object. |
|
Return |
|
Return |
|
DEPRECATED: Use |
|
Return |
|
Return the number of attributes managed by this object. |
|
DEPRECATED: Use |
|
Return the pass level of this object. |
|
Return the pattern of this object. |
|
Format this object to the specified output |
|
Return the record level of this object. |
|
Remove all attributes from this rule. |
|
DEPRECATED: Use |
|
Remove the attribute having the specified |
|
DEPRECATED: Use |
|
Set the threshold levels of this object to the specified |
|
Set the pattern of this object to the specified |
|
Return the trigger‐all level of this object. |
|
Return the trigger level of this object. |
|
|
Declare that this type uses a |
Static Member Functions
Name |
Description |
Return a hash value calculated from the specified |
Friends
Name |
Description |
Write the value of the specified |
|
Return |
|
Return |
Created with MrDocs