VTK
9.4.20241108
|
Represent an URI component. More...
#include <vtkURI.h>
Classes | |
struct | UndefinedTag |
Public Member Functions | |
vtkURIComponent ()=default | |
Default constructor. | |
vtkURIComponent (std::string str) | |
Default constructor. | |
vtkURIComponent (const char *str) | |
Default constructor. | |
vtkURIComponent (UndefinedTag) | |
Constructs an undefined component. | |
~vtkURIComponent ()=default | |
vtkURIComponent (const vtkURIComponent &)=default | |
vtkURIComponent & | operator= (const vtkURIComponent &)=default |
vtkURIComponent (vtkURIComponent &&)=default | |
vtkURIComponent & | operator= (vtkURIComponent &&)=default |
const std::string & | GetValue () const noexcept |
bool | IsDefined () const noexcept |
operator bool () const noexcept | |
bool | operator== (const vtkURIComponent &other) const noexcept |
bool | operator!= (const vtkURIComponent &other) const noexcept |
Static Public Attributes | |
static constexpr UndefinedTag | Undefined {} |
Represent an URI component.
An URI can have an empty but defined component. This applies to authority, path, query and fragment. This is mainly used for strong string reconstruction, example: vtkURI::Parse("file://?#")->ToString()
must return "file://?#"
, all components are empty, but defined, so they must be restored when recomposition the URI string representation. URI path is always defined for a valid URI.
|
default |
Default constructor.
Constructs an undefined component.
|
inline |
|
inline |
|
inline |
Constructs an undefined component.
|
default |
|
default |
|
default |
|
default |
|
default |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlineexplicitnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
staticconstexpr |