------------------------------------------------------------------------------
| 2910 | |
| 2911 | //------------------------------------------------------------------------------ |
| 2912 | int vtkMPASReader::GetDimensionSize(const std::string& dim) |
| 2913 | { |
| 2914 | this->UpdateDimensions(); |
| 2915 | |
| 2916 | typedef Internal::DimMetaDataMap::const_iterator Iter; |
| 2917 | Iter it = this->Internals->dimMetaDataMap.find(dim); |
| 2918 | if (it == this->Internals->dimMetaDataMap.end()) |
| 2919 | { |
| 2920 | return -1; |
| 2921 | } |
| 2922 | return static_cast<int>(it->second.dimSize); |
| 2923 | } |
| 2924 | |
| 2925 | //------------------------------------------------------------------------------ |
| 2926 | // Set vertical level to be viewed. |
nothing calls this directly
no test coverage detected