25 #ifndef WPROPERTYCONSTRAINTCONFIRMOVERWRITE_H
26 #define WPROPERTYCONSTRAINTCONFIRMOVERWRITE_H
30 #include "../WPropertyTypes.h"
31 #include "WPropertyConstraintTypes.h"
36 template <
typename T >
65 virtual PROPERTYCONSTRAINT_TYPE
getType();
72 virtual std::shared_ptr< typename WPropertyVariable< T >::PropertyConstraint >
clone();
77 template <
typename T >
82 template <
typename T >
87 template <
typename T >
93 template <
typename T >
96 return PC_CONFIRMOVERWRITE;
99 template <
typename T >
This class allows constraining properties to be existing filenames.
virtual std::shared_ptr< typename WPropertyVariable< T >::PropertyConstraint > clone()
Method to clone the constraint and create a new one with the correct dynamic type.
virtual bool accept(std::shared_ptr< WPropertyVariable< T > > property, const T &value)
Checks whether the specified value is a directory or not.
virtual ~WPropertyConstraintConfirmOverwrite()
Destructor.
WPropertyConstraintConfirmOverwrite()
Constructor.
virtual PROPERTYCONSTRAINT_TYPE getType()
Allows simple identification of the real constraint type.
PropertyConstraint()
Default constructor.
A named property class with a concrete type.