16 #ifndef INCLUDE_NN_NLIB_NATIVEPATHMAPPER_H_ 17 #define INCLUDE_NN_NLIB_NATIVEPATHMAPPER_H_ 20 #include "nn/nlib/Swap.h" 34 errno_t AddMap(
const char* native_prefix,
45 const char* uri_path)
const NLIB_NOEXCEPT {
46 return ResolvePath(count, native, N, uri_path);
50 struct NativePathMapperPrivate;
51 NativePathMapperPrivate* prv_;
56 #ifndef __cpp_rvalue_references 59 #endif // INCLUDE_NN_NLIB_NATIVEPATHMAPPER_H_ #define NLIB_DISALLOW_COPY_AND_ASSIGN(TypeName)
Prohibits use of the copy constructor and assignment operator for the class specified by TypeName...
constexpr NativePathMapper() noexcept
Instantiates the object.
~NativePathMapper() noexcept
Destructor.
The class for getting the native path string from the URI path notation that is not machine-dependent...
#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.
errno_t ResolvePath(size_t *count, char(&native)[N], const char *uri_path) const noexcept
Returns ResolvePath(count, native, N, uri_path).
#define NLIB_FINAL
Defines final if it is available for use. If not, holds an empty string.