oaSizeOp Class Reference


Public Methods

 oaSizeOp (oaSizeOpEnum valueIn)
 oaSizeOp (const oaString &name)
 ~oaSizeOp ()
const oaStringgetName () const
 operator oaSizeOpEnum () const

Detailed Description

The oaSizeOp class encapsulates the enumerated values that describe the different uses of a sized layer object.

See Enum Wrappers in the Programmers Guide for a discussion of enum wrappers.

enum oaSizeOpEnum
 

Enumeration values:
oacGrowSizeOp  "GROW"
oacShrinkSizeOp  "SHRINK"


Constructor & Destructor Documentation

oaSizeOp::oaSizeOp oaSizeOpEnum    valueIn [inline]
 

This function constructs an instance of an oaSizeOp class using the specified oaSizeOpEnum value.

Parameters:
valueIn type of size operation

oaSizeOp::oaSizeOp const oaString &    name
 

This function constructs an instance of an oaSizeOp class using the oaSizeOpEnum associated with the specified string name. This name must be defined in the legal set of names associated with oaSizeOpEnum.

Parameters:
name name of size operation
Exceptions:
oacInvalidSizeOpName 

oaSizeOp::~oaSizeOp   [inline]
 

This function destroys this instance of the oaSizeOp class.


Member Function Documentation

const oaString & oaSizeOp::getName   const
 

This function returns the name string associated with the encapsulated oaSizeOpEnum object.

oaSizeOp::operator oaSizeOpEnum   const [inline]
 

This operator casts this oaSizeOp object into the corresponding oaSizeOpEnum value.


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

Return to top of page