oaConstraintGroupOperator Class Reference


Public Methods

 oaConstraintGroupOperator (oaConstraintGroupOperatorEnum valueIn)
 oaConstraintGroupOperator (const oaString &name)
 ~oaConstraintGroupOperator ()
const oaStringgetName () const
 operator oaConstraintGroupOperatorEnum () const

Detailed Description

The oaConstraintGroupOperator class is an enum wrapper class for oaConstraintGroupOperatorEnum values. This class enumerates the list of built-in operators that can be applied to an oaConstraintGroup.

See Enum Wrappers in the Programmers Guide for a discussion of enum wrappers. In addition, refer to Combining Constraints in Constraint Groups in the Creating and Modeling Process Rules and Constraints section of the Programmers Guide.

enum oaConstraintGroupOperatorEnum
 

Enumeration values:
oacPrecedenceGroupOperator  "precedence"
oacAndGroupOperator  "and"
oacOrGroupOperator  "or"


Constructor & Destructor Documentation

oaConstraintGroupOperator::oaConstraintGroupOperator oaConstraintGroupOperatorEnum    valueIn [inline]
 

This function constructs an oaConstraintGroupOperator object taking an oaConstraintGroupOperatorEnum as input.

Parameters:
valueIn The constraint group operator value.

oaConstraintGroupOperator::oaConstraintGroupOperator const oaString &    name
 

This function constructs an oaConstraintGroupOperator object taking a string name as input. The name must be in the legal set of names associated with an oaConstraintGroupOperatorEnum.

Parameters:
name Name of An oaConstraintGroupOperatorEnum value.
Exceptions:
oacInvalidConstraintGroupOperatorName 

oaConstraintGroupOperator::~oaConstraintGroupOperator   [inline]
 

This function destroys this oaConstraintGroupOperator object.


Member Function Documentation

const oaString & oaConstraintGroupOperator::getName   const
 

This function returns the string name of the enum value associated with this oaConstraintGroupOperator object.

oaConstraintGroupOperator::operator oaConstraintGroupOperatorEnum   const [inline]
 

This function casts this oaConstraintGroupOperator object into the corresponding oaConstraintGroupOperatorEnum value.


The documentation for this class was generated from the following files:

Return to top of page