#include <Events_InfoMessage.h>
-
+// used only for GUI xml data reading
+// LCOV_EXCL_START
Config_DataModelReader::Config_DataModelReader()
: Config_XMLReader(DATAMODEL_FILE), isRootReading(true), myIsResultLink(false)
{
{
return getFolderFeatures(theFolderName, myRootFolderNames, myRootFeaturesList);
}
-
+// LCOV_EXCL_STOP
myTranslator[aName][aSource] = aTranslat;
}
}
-// LCOV_EXCL_STOP
//******************************************************************************
//******************************************************************************
}
return true;
}
+// LCOV_EXCL_STOP
std::string Config_Translator::translate(const Events_InfoMessage& theInfo)
{
return aMsg;
}
-
+// LCOV_EXCL_START
std::string Config_Translator::codec(const std::string& theContext)
{
return (myCodecs.count(theContext) > 0)? myCodecs[theContext] : "UTF-8";
{
return codec(theInfo.context());
}
+// LCOV_EXCL_STOP
#ifdef _DEBUG
#ifdef MISSED_TRANSLATION
REMOVE_BACK_REF(theObject);
owner()->data()->sendAttributeUpdated(this);
} else {
+ // LCOV_EXCL_START
// create new lists because for the current moment remove one of the duplicated elements
// from the list is buggy
TDF_LabelList anOldList = myRef->List();
REMOVE_BACK_REF(theObject);
owner()->data()->sendAttributeUpdated(this);
}
+ // LCOV_EXCL_STOP
}
}
else { // in case of empty object remove, the first empty object is removed from the list
return mySize->Get();
}
+// LCOV_EXCL_START
+
// returns true if theShape is same with theInList or is contained in it (a compound)
static bool isIn(GeomShapePtr theInList, GeomShapePtr theShape) {
if (theShape->isSame(theInList))
}
return false;
}
+// LCOV_EXCL_STOP
const std::string Model_AttributeSelectionList::selectionType() const
{
myIsCashed = false;
}
-
+// LCOV_EXCL_START
void Model_AttributeSelectionList::cashValues(const bool theEnabled)
{
myIsCashed = theEnabled;
}
}
}
+// LCOV_EXCL_STOP
bool Model_AttributeSelectionList::isGeometricalSelection() const
{