| 16 | #include <cctype> |
| 17 | |
| 18 | VTK_ABI_NAMESPACE_BEGIN |
| 19 | bool vtkExodusIIReaderVariableCheck::Start(std::string name, const int* truth, int numTruth) |
| 20 | { |
| 21 | this->SeqTruth.clear(); |
| 22 | this->SeqTruth.insert(this->SeqTruth.begin(), truth, truth + numTruth); |
| 23 | this->OriginalNames.clear(); |
| 24 | bool result = this->StartInternal(name, truth, numTruth); |
| 25 | bool atLeastOne = false; |
| 26 | for (int i = 0; i < numTruth; ++i) |
| 27 | { |
| 28 | if (truth[i]) |
| 29 | atLeastOne = true; |
| 30 | } |
| 31 | return result && atLeastOne; |
| 32 | } |
| 33 | |
| 34 | std::vector<std::string>::size_type vtkExodusIIReaderVariableCheck::Length() |
| 35 | { |