1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // File: GeomValidators_EdgeOrVertex.h
4 // Created: 19 Mar 2015
5 // Author: Natalia ERMOLAEVA
7 #ifndef GeomValidators_EdgeOrVertex_H
8 #define GeomValidators_EdgeOrVertex_H
10 #include "GeomValidators.h"
11 #include "ModelAPI_AttributeValidator.h"
13 #include <StdSelect_TypeOfEdge.hxx>
17 * A validator of selection
19 class GeomValidators_EdgeOrVertex : public ModelAPI_AttributeValidator
22 GEOMVALIDATORS_EXPORT GeomValidators_EdgeOrVertex() {}
23 //! returns true if attribute is valid
24 //! \param theAttribute the checked attribute
25 //! \param theArguments arguments of the attribute
26 GEOMVALIDATORS_EXPORT virtual bool isValid(const AttributePtr& theAttribute,
27 const std::list<std::string>& theArguments) const;