]> SALOME platform Git repositories - modules/shaper.git/blob - src/PartSet/PartSet_Validators.h
Salome HOME
10cdcf26a72e3fd5064ea39a6abbefc210746818
[modules/shaper.git] / src / PartSet / PartSet_Validators.h
1 // File:        PartSet_Validators.h
2 // Created:     09 July 2014
3 // Author:      Vitaly SMETANNIKOV
4
5 #ifndef PartSet_Validators_H
6 #define PartSet_Validators_H
7
8 #include "PartSet.h"
9
10 #include <ModuleBase_SelectionValidator.h>
11 #include <ModuleBase_ISelection.h>
12
13 class PartSet_DistanceValidator: public ModuleBase_SelectionValidator
14 {
15 public:
16   PARTSET_EXPORT virtual bool isValid(const ModuleBase_ISelection* theSelection) const;
17 };
18
19 class PartSet_LengthValidator: public ModuleBase_SelectionValidator
20 {
21 public:
22   PARTSET_EXPORT virtual bool isValid(const ModuleBase_ISelection* theSelection) const;
23 };
24
25 #endif