| 154 | } |
| 155 | |
| 156 | vtkInformation* GetCurrentMetaData() |
| 157 | { |
| 158 | if (this->PassSelf || !this->ChildIterator) |
| 159 | { |
| 160 | return nullptr; |
| 161 | } |
| 162 | |
| 163 | if (this->ChildIterator->PassSelf) |
| 164 | { |
| 165 | if (this->Reverse) |
| 166 | { |
| 167 | if (!this->ReverseIter->MetaData) |
| 168 | { |
| 169 | this->ReverseIter->MetaData.TakeReference(vtkInformation::New()); |
| 170 | } |
| 171 | return this->ReverseIter->MetaData; |
| 172 | } |
| 173 | else |
| 174 | { |
| 175 | if (!this->Iter->MetaData) |
| 176 | { |
| 177 | this->Iter->MetaData.TakeReference(vtkInformation::New()); |
| 178 | } |
| 179 | return this->Iter->MetaData; |
| 180 | } |
| 181 | } |
| 182 | return this->ChildIterator->GetCurrentMetaData(); |
| 183 | } |
| 184 | |
| 185 | vtkTypeBool HasCurrentMetaData() |
| 186 | { |
nothing calls this directly
no test coverage detected