Range.hpp
Go to the documentation of this file.
70 template<typename TYPE> std::ostream& operator <<(std::ostream& _os, const eproperty::Range<TYPE>& _obj) {
void setString(const std::string &_newVal) override
Set a new value of the Property (with string interface).
Range template of the property (limit with a min and a max value)
Definition: Range.hpp:19
Range(CLASS_TYPE *_owner, const std::string &_name, const TYPE &_defaultValue, const TYPE &_min, const TYPE &_max, const std::string &_description="", void(CLASS_TYPE::*_setObs)()=nullptr)
Create a parameter with a specific type.
Definition: Range.hpp:35
std::string getPropertyType() const override
Get the Property type of the class in string mode.
Simple Value of the property (need to implement fuction etk::from_string<TYPE> to use it) ...
Definition: Value.hpp:20
void setDirectCheck(const TYPE &_newVal) override
Set the value of the current parameter (check range and ... if needed).