| 82 | } |
| 83 | |
| 84 | void BroadcastStringVector( |
| 85 | vtkMultiProcessController* controller, std::vector<std::string>& svec, int rank) |
| 86 | { |
| 87 | unsigned long len = static_cast<unsigned long>(svec.size()); |
| 88 | controller->Broadcast(&len, 1, 0); |
| 89 | if (rank) |
| 90 | svec.resize(len); |
| 91 | std::vector<std::string>::iterator it; |
| 92 | for (it = svec.begin(); it != svec.end(); ++it) |
| 93 | { |
| 94 | BroadcastString(controller, *it, rank); |
| 95 | } |
| 96 | } |
| 97 | |
| 98 | void BroadcastDoubleVector( |
| 99 | vtkMultiProcessController* controller, std::vector<double>& dvec, int rank) |
no test coverage detected