25 #ifndef WPROPERTYHELPER_H
26 #define WPROPERTYHELPER_H
31 #include "WPropertyVariable.h"
32 #include "constraints/WPropertyConstraintConfirmOverwrite.h"
33 #include "constraints/WPropertyConstraintIsDirectory.h"
34 #include "constraints/WPropertyConstraintIsValid.h"
35 #include "constraints/WPropertyConstraintNotEmpty.h"
36 #include "constraints/WPropertyConstraintPathExists.h"
37 #include "constraints/WPropertyConstraintSelectOnlyOne.h"
48 namespace PC_SELECTONLYONE
55 void addTo( WPropSelection prop );
68 void addTo( WPropSelection prop );
75 void addTo( WPropString prop );
82 void addTo( WPropFilename prop );
88 namespace PC_PATHEXISTS
95 void addTo( WPropFilename prop );
101 namespace PC_ISDIRECTORY
108 void addTo( WPropFilename prop );
114 namespace PC_CONFIRMOVERWRITE
121 void addTo( WPropFilename prop );
134 void addTo( WPropSelection prop );
void addTo(WPropFilename prop)
Add the PC_CONFIRMOVERWRITE constraint to the property.
void addTo(WPropFilename prop)
Add the PC_PATHEXISTS constraint to the property.
void addTo(WPropSelection prop)
Add the PC_ISVALID constraint to the property.
void addTo(WPropSelection prop)
Add the PC_NOTEMPTY constraint to the property.
void addTo(WPropFilename prop)
Add the PC_PATHEXISTS constraint to the property.
void addTo(WPropSelection prop)
Add the PC_SELECTONLYONE constraint to the property.
This namespace contains several utility functions to handle properties.