oaDMAttr Class Reference


Public Methods

 oaDMAttr ()
 oaDMAttr (const oaString &nameIn, const oaString &value)
const oaStringgetName () const
const oaStringgetValue () const
void setName (const oaString &nameIn)
void setValue (const oaString &valueIn)
oaBoolean operator== (const oaDMAttr &other) const
oaBoolean operator!= (const oaDMAttr &other) const

Detailed Description

The oaDMAttr and oaDMAttrArray classes hold the definition of attribute, which is a name-value pair, used by DM systems.


Constructor & Destructor Documentation

oaDMAttr::oaDMAttr   [inline]
 

This is the default constructor for the oaDMAttr class.

oaDMAttr::oaDMAttr const oaString &    nameIn,
const oaString &    value
[inline]
 

This is a constructor for the oaDMAttr class.

Parameters:
nameIn the name of this dmAttribute.
value the value of this dmAttribute


Member Function Documentation

const oaString & oaDMAttr::getName   const [inline]
 

This function returns the name of this DMAttribute.

const oaString & oaDMAttr::getValue   const [inline]
 

This function returns the value of this DMAttribute.

oaBoolean oaDMAttr::operator!= const oaDMAttr &    other const [inline]
 

This is the inequality operator for an oaDMAttr. This function returns a boolean indicating whether this object is not equivalent to the specified object.

Parameters:
other The attribute to compare this attribute to

oaBoolean oaDMAttr::operator== const oaDMAttr &    other const [inline]
 

This is the equality operator for an oaDMAttr. This function returns a boolean indicating whether this object is equivalent to the specified object.

Parameters:
other The attribute to compare this attribute to

void oaDMAttr::setName const oaString &    nameIn [inline]
 

This function sets the name of this dmAttr object.

Parameters:
nameIn input name

void oaDMAttr::setValue const oaString &    valueIn [inline]
 

This function sets the value of this dmAttr object.

Parameters:
valueIn input value


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

Return to top of page