SHAPER 9.16.0
ConstructionPlugin_Validators.h
1// Copyright (C) 2014-2026 CEA, EDF
2//
3// This library is free software; you can redistribute it and/or
4// modify it under the terms of the GNU Lesser General Public
5// License as published by the Free Software Foundation; either
6// version 2.1 of the License, or (at your option) any later version.
7//
8// This library is distributed in the hope that it will be useful,
9// but WITHOUT ANY WARRANTY; without even the implied warranty of
10// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11// Lesser General Public License for more details.
12//
13// You should have received a copy of the GNU Lesser General Public
14// License along with this library; if not, write to the Free Software
15// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16//
17// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18//
19
20#ifndef ConstructionPlugin_Validators_H_
21#define ConstructionPlugin_Validators_H_
22
23#include <ModelAPI_AttributeValidator.h>
24
29{
30public:
35 virtual bool isValid(const AttributePtr& theAttribute,
36 const std::list<std::string>& theArguments,
37 Events_InfoMessage& theError) const;
38};
39
44{
45public:
50 virtual bool isValid(const AttributePtr& theAttribute,
51 const std::list<std::string>& theArguments,
52 Events_InfoMessage& theError) const;
53};
54
59{
60public:
65 virtual bool isValid(const AttributePtr& theAttribute,
66 const std::list<std::string>& theArguments,
67 Events_InfoMessage& theError) const;
68};
69
74{
75public:
80 virtual bool isValid(const AttributePtr& theAttribute,
81 const std::list<std::string>& theArguments,
82 Events_InfoMessage& theError) const;
83};
84
89{
90public:
95 virtual bool isValid(const AttributePtr& theAttribute,
96 const std::list<std::string>& theArguments,
97 Events_InfoMessage& theError) const;
98};
99
104{
105public:
110 virtual bool isValid(const AttributePtr& theAttribute,
111 const std::list<std::string>& theArguments,
112 Events_InfoMessage& theError) const;
113};
114
119{
120public:
125 virtual bool isValid(const AttributePtr& theAttribute,
126 const std::list<std::string>& theArguments,
127 Events_InfoMessage& theError) const;
128};
129
134{
135public:
140 virtual bool isValid(const AttributePtr& theAttribute,
141 const std::list<std::string>& theArguments,
142 Events_InfoMessage& theError) const;
143};
144
145#endif
A validator for selection two parallel planes.
Definition: ConstructionPlugin_Validators.h:104
virtual bool isValid(const AttributePtr &theAttribute, const std::list< std::string > &theArguments, Events_InfoMessage &theError) const
Definition: ConstructionPlugin_Validators.cpp:346
A validator for selection of a result but not a feature.
Definition: ConstructionPlugin_Validators.h:134
virtual bool isValid(const AttributePtr &theAttribute, const std::list< std::string > &theArguments, Events_InfoMessage &theError) const
Definition: ConstructionPlugin_Validators.cpp:474
A validator for selection line and point for plane.
Definition: ConstructionPlugin_Validators.h:74
virtual bool isValid(const AttributePtr &theAttribute, const std::list< std::string > &theArguments, Events_InfoMessage &theError) const
Definition: ConstructionPlugin_Validators.cpp:235
A validator for selection three points for plane.
Definition: ConstructionPlugin_Validators.h:59
virtual bool isValid(const AttributePtr &theAttribute, const std::list< std::string > &theArguments, Events_InfoMessage &theError) const
Definition: ConstructionPlugin_Validators.cpp:160
A validator for selection two parallel planes.
Definition: ConstructionPlugin_Validators.h:89
virtual bool isValid(const AttributePtr &theAttribute, const std::list< std::string > &theArguments, Events_InfoMessage &theError) const
Definition: ConstructionPlugin_Validators.cpp:293
A validator for selection edge and plane for point by intersection.
Definition: ConstructionPlugin_Validators.h:44
virtual bool isValid(const AttributePtr &theAttribute, const std::list< std::string > &theArguments, Events_InfoMessage &theError) const
Definition: ConstructionPlugin_Validators.cpp:106
A validator for selection lines for point by intersection.
Definition: ConstructionPlugin_Validators.h:29
virtual bool isValid(const AttributePtr &theAttribute, const std::list< std::string > &theArguments, Events_InfoMessage &theError) const
Definition: ConstructionPlugin_Validators.cpp:44
A validator for selection three non parallel planes.
Definition: ConstructionPlugin_Validators.h:119
virtual bool isValid(const AttributePtr &theAttribute, const std::list< std::string > &theArguments, Events_InfoMessage &theError) const
Definition: ConstructionPlugin_Validators.cpp:399
An event message for sending a string message which has to be translated.
Definition: Events_InfoMessage.h:35
Generic validator for any attribute of a feature.
Definition: ModelAPI_AttributeValidator.h:31