16 #ifndef INCLUDE_NN_NLIB_FILESTYLEURI_H_ 17 #define INCLUDE_NN_NLIB_FILESTYLEURI_H_ 21 #include "nn/nlib/Swap.h" 36 bool Parse(
const char* first,
const char* last) NLIB_NOEXCEPT
NLIB_NONNULL;
37 bool Parse(
const char* str) NLIB_NOEXCEPT {
45 char (&buf)[N])
const NLIB_NOEXCEPT {
46 return this->ComposeString(buf, N);
57 struct FileStyleUriPrivate;
58 mutable FileStyleUriPrivate* prv_;
63 #ifndef __cpp_rvalue_references 66 #endif // INCLUDE_NN_NLIB_FILESTYLEURI_H_ #define NLIB_DISALLOW_COPY_AND_ASSIGN(TypeName)
Prohibits use of the copy constructor and assignment operator for the class specified by TypeName...
The class for parsing URIs that use the file scheme and for constructing URI strings.
bool Parse(const char *str) noexcept
Returns Parse(str, str + nlib_strlen(str)).
bool ComposeString(char(&buf)[N]) const noexcept
Writes a URI string.
#define NLIB_NOEXCEPT
Defines noexcept geared to the environment, or the equivalent.
#define NLIB_CEXPR
Defines constexpr if it is available for use. If not, holds an empty string.
A file that contains the configuration information for each development environment.
The class for parsing and constructing regular URIs.
Defines the class for handling URIs.
#define NLIB_FINAL
Defines final if it is available for use. If not, holds an empty string.
constexpr FileStyleUri() noexcept
Instantiates the object with default parameters (default constructor). Initializes an object...