Defines a maximum value. More...
#include <cadex/PMI/SemanticAttribute.hxx>
Public Member Functions | |
MaximumValueAttribute () | |
Constructor. | |
MaximumValueAttribute (double theMaxValue) | |
Constructor. | |
void | SetMaxValue (double theValue) |
Sets the maximum value. | |
double | MaxValue () const |
Returns the maximum value. | |
![]() | |
void | Accept (SemanticAttributeVisitor &theVisitor) const |
![]() | |
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 MaximumValueAttribute type. | |
![]() | |
static bool | CompareType (const BaseObject &theObject) |
Returns true if theObject has the SemanticAttribute type. | |
Protected Member Functions | |
MaximumValueAttribute (const ImplType &theImpl) | |
![]() | |
SemanticAttribute (const ImplType &theImpl) | |
![]() | |
BaseObject (const ImplType &theImpl) | |
Additional Inherited Members | |
![]() | |
typedef std::shared_ptr< internal::BaseObjectImpl > | ImplType |
Defines a maximum value.
double cadex::PMI::MaximumValueAttribute::MaxValue | ( | ) | const |
Returns the maximum value.
Returns 0 by default.