* @brief Load a resource referenced by an URI * * Perform as if by calling `this->Load(uri.data(), uri.size())`. * * @param uri URI string representation, may be empty. * @return A `vtkResourceStream` on the loaded resource on success, nullptr otherwise. */
| 178 | * @return A `vtkResourceStream` on the loaded resource on success, nullptr otherwise. |
| 179 | */ |
| 180 | vtkSmartPointer<vtkResourceStream> Load(const std::string& uri) |
| 181 | { |
| 182 | return this->Load(uri.data(), uri.size()); |
| 183 | } |
| 184 | |
| 185 | /** |
| 186 | * @brief Load a resource referenced by an URI |