Defines the range of a value. More...
#include <cadex/PMI/SemanticAttribute.hxx>
Public Member Functions | |
| RangeAttribute () | |
| Constructor. | |
| RangeAttribute (double theLowerLimit, double theUpperLimit) | |
| Constructor. | |
| void | SetUpperLimit (double theValue) |
| Sets the upper limit. | |
| double | UpperLimit () const |
| Returns the upper limit. | |
| void | SetLowerLimit (double theValue) |
| Sets the lower limit. | |
| double | LowerLimit () const |
| Returns the lower limit. | |
Public Member Functions inherited from cadex::PMI::SemanticAttribute | |
| void | Accept (SemanticAttributeVisitor &theVisitor) const |
Public Member Functions inherited from cadex::BaseObject | |
| size_t | Id () const |
| Return unique identifier of public object. | |
| internal::BaseObjectImpl * | Impl () const |
| bool | IsNull () const |
| operator bool () const | |
| template<typename T > | |
| bool | IsOfType () const |
| template<typename T > | |
| T * | Impl () const |
| Reserved for internal use. | |
Static Public Member Functions | |
| static bool | CompareType (const BaseObject &theObject) |
| Returns true if theObject has the RangeAttribute type. | |
Static Public Member Functions inherited from cadex::PMI::SemanticAttribute | |
| static bool | CompareType (const BaseObject &theObject) |
| Returns true if theObject has the SemanticAttribute type. | |
Protected Member Functions | |
| RangeAttribute (const ImplType &theImpl) | |
Protected Member Functions inherited from cadex::PMI::SemanticAttribute | |
| SemanticAttribute (const ImplType &theImpl) | |
Protected Member Functions inherited from cadex::BaseObject | |
| BaseObject (const ImplType &theImpl) | |
Additional Inherited Members | |
Public Types inherited from cadex::BaseObject | |
| typedef std::shared_ptr< internal::BaseObjectImpl > | ImplType |
Defines the range of a value.
| double cadex::PMI::RangeAttribute::LowerLimit | ( | ) | const |
Returns the lower limit.
Returns 0 by default.
| double cadex::PMI::RangeAttribute::UpperLimit | ( | ) | const |
Returns the upper limit.
Returns 0 by default.