Salome HOME
Implement filter "F12: Topologically connected Faces"
[modules/shaper.git] / src / FiltersAPI / FiltersAPI_Argument.h
index 2e3d2108a3d97ae2a27f32db5039cb532a790a70..19374e3b7e2eb8eed55d8b37b37fa22de23c3018 100644 (file)
@@ -36,6 +36,9 @@ class FiltersAPI_Argument
 public:
   FILTERSAPI_EXPORT FiltersAPI_Argument();
 
+  FILTERSAPI_EXPORT
+  FiltersAPI_Argument(const bool theValue);
+
   FILTERSAPI_EXPORT
   FiltersAPI_Argument(const std::string& theValue);
 
@@ -49,6 +52,7 @@ public:
   FILTERSAPI_EXPORT
   virtual ~FiltersAPI_Argument();
 
+  const bool boolean() const { return myBoolean; }
   const std::string& string() const { return myValue; }
   const ModelHighAPI_Selection& selection() const { return mySelection; }
 
@@ -57,6 +61,7 @@ public:
   void dump(ModelHighAPI_Dumper& theDumper) const;
 
 private:
+  bool myBoolean;
   std::string myValue;
   ModelHighAPI_Selection mySelection;
   AttributeSelectionPtr mySelectionAttr;