{
}
+FiltersAPI_Argument::FiltersAPI_Argument(const bool theValue)
+ : myBoolean(theValue)
+{
+}
+
FiltersAPI_Argument::FiltersAPI_Argument(const std::string& theValue)
: myValue(theValue)
{
{
if (mySelectionAttr)
theDumper << mySelectionAttr;
- else if (mySelection.variantType() == ModelHighAPI_Selection::VT_Empty)
- theDumper << "\"" << myValue << "\"";
+ else if (mySelection.variantType() == ModelHighAPI_Selection::VT_Empty) {
+ if (myValue.empty())
+ theDumper << myBoolean;
+ else
+ theDumper << "\"" << myValue << "\"";
+ }
}