X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=inline;f=src%2FFiltersAPI%2FFiltersAPI_Argument.h;h=19374e3b7e2eb8eed55d8b37b37fa22de23c3018;hb=7ae186c144dfecba2dedeaeba2b6691cef9408f8;hp=2e3d2108a3d97ae2a27f32db5039cb532a790a70;hpb=30b704bbf16a3e6bfda63b6f1df05da40b6a939b;p=modules%2Fshaper.git diff --git a/src/FiltersAPI/FiltersAPI_Argument.h b/src/FiltersAPI/FiltersAPI_Argument.h index 2e3d2108a..19374e3b7 100644 --- a/src/FiltersAPI/FiltersAPI_Argument.h +++ b/src/FiltersAPI/FiltersAPI_Argument.h @@ -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;