| 4995 | } |
| 4996 | |
| 4997 | int vtkExodusIIReaderPrivate::GetObjectArrayStatus(int otyp, int i) |
| 4998 | { |
| 4999 | std::map<int, std::vector<ArrayInfoType>>::iterator it = this->ArrayInfo.find(otyp); |
| 5000 | if (it != this->ArrayInfo.end()) |
| 5001 | { |
| 5002 | int N = (int)it->second.size(); |
| 5003 | if (i < 0 || i >= N) |
| 5004 | { |
| 5005 | vtkDebugMacro("You requested array " << i << " in a collection of only " << N << " arrays."); |
| 5006 | return 0; |
| 5007 | } |
| 5008 | return it->second[i].Status; |
| 5009 | } |
| 5010 | vtkDebugMacro("Could not find collection of arrays for objects of type " |
| 5011 | << otyp << " (" << objtype_names[this->GetObjectTypeIndexFromObjectType(otyp)] << ")."); |
| 5012 | return 0; |
| 5013 | } |
| 5014 | |
| 5015 | void vtkExodusIIReaderPrivate::GetInitialObjectArrayStatus(int otyp, ArrayInfoType* objType) |
| 5016 | { |
no test coverage detected