| 708 | } |
| 709 | |
| 710 | std::map<std::string, std::string> |
| 711 | XdmfArray::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 | |
| 730 | std::string |
| 731 | XdmfArray::getItemTag() const |
no test coverage detected