------------------------------------------------------------------------------
| 212 | |
| 213 | //------------------------------------------------------------------------------ |
| 214 | void vtkInformationExecutivePortVectorKey::Print(ostream& os, vtkInformation* info) |
| 215 | { |
| 216 | // Print the value. |
| 217 | if (this->Has(info)) |
| 218 | { |
| 219 | vtkExecutive** executives = this->GetExecutives(info); |
| 220 | int* ports = this->GetPorts(info); |
| 221 | int length = this->Length(info); |
| 222 | const char* sep = ""; |
| 223 | for (int i = 0; i < length; ++i) |
| 224 | { |
| 225 | if (executives[i]) |
| 226 | { |
| 227 | os << sep << executives[i]->GetClassName() << "(" << executives[i] << ") port " << ports[i]; |
| 228 | } |
| 229 | else |
| 230 | { |
| 231 | os << sep << "(nullptr) port " << ports[i]; |
| 232 | } |
| 233 | sep = ", "; |
| 234 | } |
| 235 | } |
| 236 | } |
| 237 | |
| 238 | //------------------------------------------------------------------------------ |
| 239 | void |
nothing calls this directly
no test coverage detected