MCPcopy Create free account
hub / github.com/Kitware/VTK / getItemProperties

Method getItemProperties

ThirdParty/xdmf3/vtkxdmf3/core/XdmfArray.cpp:710–728  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

708}
709
710std::map<std::string, std::string>
711XdmfArray::getItemProperties() const
712{
713 std::map<std::string, std::string> arrayProperties;
714 if(mHeavyDataControllers.size() > 0) {
715 mHeavyDataControllers[0]->getProperties(arrayProperties);
716 }
717 else {
718 arrayProperties.insert(std::make_pair("Format", "XML"));
719 }
720 arrayProperties.insert(std::make_pair("Dimensions",
721 this->getDimensionsString()));
722 if(mName.compare("") != 0) {
723 arrayProperties.insert(std::make_pair("Name", mName));
724 }
725 shared_ptr<const XdmfArrayType> type = this->getArrayType();
726 type->getProperties(arrayProperties);
727 return arrayProperties;
728}
729
730std::string
731XdmfArray::getItemTag() const

Callers 1

visitMethod · 0.45

Calls 6

getDimensionsStringMethod · 0.95
getArrayTypeMethod · 0.95
sizeMethod · 0.45
getPropertiesMethod · 0.45
insertMethod · 0.45
compareMethod · 0.45

Tested by

no test coverage detected