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)
TypeName で指定されたクラスのコピーコンストラクタと代入演算子を禁止します。
constexpr NativePathMapper() noexcept
コンストラクタです。
~NativePathMapper() noexcept
デストラクタです。
機種依存しないURIによるパス記述からネイティブのパス文字列を得るためのクラスです。 ...
#define NLIB_NOEXCEPT
環境に合わせてnoexcept 又は同等の定義がされます。
#define NLIB_CEXPR
利用可能であればconstexprが定義されます。そうでない場合は空文字列です。
errno_t ResolvePath(size_t *count, char(&native)[N], const char *uri_path) const noexcept
ResolvePath(count, native, N, uri_path) を返します。
#define NLIB_FINAL
利用可能であればfinalが定義されます。そうでない場合は空文字列です。