oaShapeAngleType Class Reference


Public Methods

 oaShapeAngleType (oaShapeAngleTypeEnum typeIn)
 oaShapeAngleType (const oaString &name)
 ~oaShapeAngleType ()
const oaStringgetName () const
 operator oaShapeAngleTypeEnum () const

Detailed Description

The oaShapeAngleType class is an enum wrapper class for oaShapeAngleTypeEnum values.

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

enum oaShapeAngleTypeEnum
 

Enumeration values:
oacAllShapeAngleType  "all"
oacDiagonalAndOrthogonalShapeAngleType  "diagonalAndOrthogonal"
oacOrthogonalOnlyShapeAngleType  "orthogonalOnly"


Constructor & Destructor Documentation

oaShapeAngleType::oaShapeAngleType oaShapeAngleTypeEnum    typeIn [inline]
 

This constructor for the oaShapeAngleType class enum wrapper takes an oaShapeAngleTypeEnum value.

Parameters:
typeIn an oaShapeAngleTypeEnum value.

oaShapeAngleType::oaShapeAngleType const oaString &    name
 

This function creates an instance of an oaShapeAngleType class using the oaShapeAngleTypeEnum associated with the specified string name. This name must be defined in the legal set of names associated with oaShapeAngleTypeEnum.

Parameters:
name The name of an oaShapeAngleType.
Exceptions:
oacInvalidShapeAngleTypeName 

oaShapeAngleType::~oaShapeAngleType   [inline]
 

This function destroys this oaShapeAngleType instance.


Member Function Documentation

const oaString & oaShapeAngleType::getName   const
 

This function returns the string name that corresponds to an oaShapeAngleTypeEnum value.

oaShapeAngleType::operator oaShapeAngleTypeEnum   const [inline]
 

This operator casts this oaShapeAngleType object into the corresponding oaShapeAngleType.


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

Return to top of page