oaCMAttrArray Class Reference


Public Methods

 oaCMAttrArray (oaUInt4 sizeIn=0)
 oaCMAttrArray (const oaCMAttrArray &arrayIn)
oaBoolean hasUnsetAttrs () const
oaUInt4 findByName (const oaString &nameIn) const
oaCMAttrArray & operator= (const oaCMAttrArray &rhs)

Detailed Description

The oaCMAttrArray is an array of oaCMAttrs. The oaCMAttrArray class is used in the definition of the oaCMProtocol class and is part of the OpenAccess change management system (CMS).


Constructor & Destructor Documentation

oaCMAttrArray::oaCMAttrArray oaUInt4    sizeIn = 0
 

This oaCMAttrArray constructor sets the number of CMAttrs according to sizeIn and allocates storage for them.

Parameters:
sizeIn The number of CMAttrs for which to allocate storage in the array.

oaCMAttrArray::oaCMAttrArray const oaCMAttrArray &    arrayIn
 

This is the oaCMAttrArray copy constructor.

Parameters:
arrayIn The array to copy.


Member Function Documentation

oaUInt4 oaCMAttrArray::findByName const oaString &    nameIn const
 

This function returns the index of the attribute with the matching name. If an attribute with the same name is not found, oacNullIndex is returned.

Parameters:
nameIn The attribute name to find.

oaBoolean oaCMAttrArray::hasUnsetAttrs   const
 

This function returns true if at least one of the attributes in the attribute array does not have its value set.

oaCMAttrArray & oaCMAttrArray::operator= const oaCMAttrArray &    rhs
 

This is the oaCMAttrArray assignment operator.

Parameters:
rhs The attribute array to assign to this attribute array.


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

Return to top of page