OpenWalnut
1.5.0dev
|
This class is derived from PropertyConstraint and ensures that only even values are valid. More...
Private Member Functions | |
virtual bool | accept (std::shared_ptr< WPropertyVariable< WPVBaseTypes::PV_INT > > property, const WPVBaseTypes::PV_INT &value) |
You need to overwrite this method. More... | |
virtual std::shared_ptr< WPropertyVariable< WPVBaseTypes::PV_INT >::PropertyConstraint > | clone () |
Method to clone the constraint and create a new one with the correct dynamic type. More... | |
Additional Inherited Members | |
Public Member Functions inherited from WPropertyVariable< T >::PropertyConstraint | |
PropertyConstraint () | |
Default constructor. More... | |
virtual | ~PropertyConstraint () |
Destructor. More... | |
virtual bool | accept (std::shared_ptr< WPropertyVariable< T > > property, const T &value)=0 |
This method decides whether the specified value is valid for a specific property. More... | |
virtual PROPERTYCONSTRAINT_TYPE | getType () |
Allows simple identification of the real constraint type. More... | |
Static Public Member Functions inherited from WPropertyVariable< T >::PropertyConstraint | |
static std::shared_ptr< PropertyConstraint > | create (PROPERTYCONSTRAINT_TYPE type) |
This method creates a constraint using the specified type. More... | |
This class is derived from PropertyConstraint and ensures that only even values are valid.
Definition at line 176 of file WMHARDIToSphericalHarmonics.h.
|
privatevirtual |
You need to overwrite this method.
It decides whether the specified new value should be accepted or not.
property | the property thats going to be changed. |
value | the new value |
Definition at line 366 of file WMHARDIToSphericalHarmonics.cpp.
|
privatevirtual |
Method to clone the constraint and create a new one with the correct dynamic type.
Implements WPropertyVariable< T >::PropertyConstraint.
Definition at line 372 of file WMHARDIToSphericalHarmonics.cpp.