Salome HOME
Create validators for constraint operations
[modules/shaper.git] / src / ModuleBase / ModuleBase_SelectionValidator.h
1 // File:        ModuleBase_SelectionValidator.h
2 // Created:     8 Jul 2014
3 // Author:      Vitaly SMETANNIKOV
4
5 #ifndef ModuleBase_SelectionValidator_H
6 #define ModuleBase_SelectionValidator_H
7
8 #include "ModuleBase.h"
9 #include "ModuleBase_ISelection.h"
10
11 #include <ModelAPI_Validator.h>
12
13
14 class ModuleBase_SelectionValidator: public ModelAPI_Validator
15 {
16 public:
17   virtual bool isValid(const ModuleBase_ISelection* theSelection) const = 0;
18 };
19
20 #endif