25 #ifndef WPROPERTYHELPER_H
26 #define WPROPERTYHELPER_H
29 #include <boost/shared_ptr.hpp>
32 #include "WPropertyVariable.h"
34 #include "constraints/WPropertyConstraintNotEmpty.h"
35 #include "constraints/WPropertyConstraintPathExists.h"
36 #include "constraints/WPropertyConstraintIsDirectory.h"
37 #include "constraints/WPropertyConstraintSelectOnlyOne.h"
38 #include "constraints/WPropertyConstraintIsValid.h"
49 namespace PC_SELECTONLYONE
56 void addTo( WPropSelection prop );
69 void addTo( WPropSelection prop );
76 void addTo( WPropString prop );
83 void addTo( WPropFilename prop );
89 namespace PC_PATHEXISTS
96 void addTo( WPropFilename prop );
102 namespace PC_ISDIRECTORY
109 void addTo( WPropFilename prop );
122 void addTo( WPropSelection prop );
126 #endif // WPROPERTYHELPER_H
void addTo(WPropFilename prop)
Add the PC_PATHEXISTS constraint to the property.
This namespace contains several utility functions to handle properties.
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.