25 #ifndef WPROPERTYHELPER_H
26 #define WPROPERTYHELPER_H
28 #include <boost/shared_ptr.hpp>
30 #include "WPropertyVariable.h"
32 #include "constraints/WPropertyConstraintNotEmpty.h"
33 #include "constraints/WPropertyConstraintPathExists.h"
34 #include "constraints/WPropertyConstraintIsDirectory.h"
35 #include "constraints/WPropertyConstraintSelectOnlyOne.h"
36 #include "constraints/WPropertyConstraintIsValid.h"
42 namespace WPropertyHelper
47 namespace PC_SELECTONLYONE
54 void addTo( WPropSelection prop );
67 void addTo( WPropSelection prop );
74 void addTo( WPropString prop );
81 void addTo( WPropFilename prop );
87 namespace PC_PATHEXISTS
94 void addTo( WPropFilename prop );
100 namespace PC_ISDIRECTORY
107 void addTo( WPropFilename prop );
120 void addTo( WPropSelection prop );
124 #endif // WPROPERTYHELPER_H
void addTo(WPropFilename prop)
Add the PC_PATHEXISTS constraint to the property.
void addTo(WPropFilename prop)
Add the PC_PATHEXISTS constraint to the property.
void addTo(WPropSelection prop)
Add the PC_NOTEMPTY constraint to the property.
void addTo(WPropSelection prop)
Add the PC_ISVALID constraint to the property.
void addTo(WPropSelection prop)
Add the PC_SELECTONLYONE constraint to the property.