Toposhape/Part: Transfer in PropoertyTopoShape and related
This commit is contained in:
@@ -189,6 +189,17 @@ const std::string &ComplexGeoData::elementMapPrefix() {
|
||||
return prefix;
|
||||
}
|
||||
|
||||
std::string ComplexGeoData::getElementMapVersion() const {
|
||||
return "4";
|
||||
}
|
||||
|
||||
bool ComplexGeoData::checkElementMapVersion(const char * ver) const
|
||||
{
|
||||
return !boost::equals(ver, "3")
|
||||
&& !boost::equals(ver, "4")
|
||||
&& !boost::starts_with(ver, "3.");
|
||||
}
|
||||
|
||||
size_t ComplexGeoData::getElementMapSize(bool flush) const
|
||||
{
|
||||
if (flush) {
|
||||
@@ -653,5 +664,18 @@ void ComplexGeoData::beforeSave() const
|
||||
}
|
||||
}
|
||||
|
||||
void ComplexGeoData::hashChildMaps()
|
||||
{
|
||||
flushElementMap();
|
||||
if (_elementMap)
|
||||
_elementMap->hashChildMaps(Tag);
|
||||
}
|
||||
|
||||
bool ComplexGeoData::hasChildElementMap() const
|
||||
{
|
||||
flushElementMap();
|
||||
return _elementMap && _elementMap->hasChildElementMap();
|
||||
}
|
||||
|
||||
|
||||
// NOLINTEND(cppcoreguidelines-pro-bounds-pointer-arithmetic)
|
||||
|
||||
Reference in New Issue
Block a user