* @brief Create a new URI from a string. * * Perform as if by calling `vtkURI::Parse(uri.data(), uri.size())`. * * @param uri the URI string representation, may be empty. * @return nullptr if URI syntax checks do not pass, otherwise a new vtkURI. */
| 235 | * @return nullptr if URI syntax checks do not pass, otherwise a new vtkURI. |
| 236 | */ |
| 237 | static vtkSmartPointer<vtkURI> Parse(const std::string& uri) |
| 238 | { |
| 239 | return Parse(uri.data(), uri.size()); |
| 240 | } |
| 241 | |
| 242 | /** |
| 243 | * @brief Create a new URI from a string. |
no test coverage detected