------------------------------------------------------------------------------
| 2882 | |
| 2883 | //------------------------------------------------------------------------------ |
| 2884 | int vtkMPASReader::GetDimensionCurrentIndex(const std::string& dim) |
| 2885 | { |
| 2886 | this->UpdateDimensions(); |
| 2887 | |
| 2888 | typedef Internal::DimMetaDataMap::const_iterator Iter; |
| 2889 | Iter it = this->Internals->dimMetaDataMap.find(dim); |
| 2890 | if (it == this->Internals->dimMetaDataMap.end()) |
| 2891 | { |
| 2892 | return -1; |
| 2893 | } |
| 2894 | return static_cast<int>(it->second.curIdx); |
| 2895 | } |
| 2896 | |
| 2897 | //------------------------------------------------------------------------------ |
| 2898 | void vtkMPASReader::SetDimensionCurrentIndex(const std::string& dim, int idx) |
no test coverage detected