| 
    MGL(Win32)
    
   | 
 
MGL ファイル用各種定義 [詳解]
#include <cstdint>#include <mgl/common/mgl_result_wrapper.h>#include <mgl/hash/mgl_hash_fnv1a.h>#include <mgl/stl/mgl_stl_memory.h>型定義 | |
| using | MGL::File::SharedDelegate = std::shared_ptr<Delegate> | 
| デリゲートの共有ポインタ  | |
| using | MGL::File::Result = MGL::ResultWrapper<Error, Error::None, Error::NoOperation> | 
| ファイル関連の処理結果  | |
列挙型 | |
| enum class | MGL::File::DelegateKey : uint32_t | 
| デリゲートキーの型  | |
| enum class | MGL::File::OpenMode : uint8_t { None , Read , Write } | 
| オープンモード  [詳解] | |
| enum class | MGL::File::MountAccessType : uint8_t { ReadOnly , Writable } | 
| マウント時のアクセスタイプ  [詳解] | |
| enum class | MGL::File::SeekType : uint8_t { Top , End , Current } | 
| シークタイプ  [詳解] | |
| enum class | MGL::File::Error : uint16_t {  None = 0 , NoOperation = 100 , NotImplemented = 101 , NotSupported = 102 , InvalidDelegate = 103 , InvalidArgument = 104 , InvalidPathFormat = 105 , BadImplement = 106 , DelegateAlreadyExist = 200 , DelegateNotExist = 201 , NotMounted = 202 , AlreadyMounted = 203 , MountNotWritable = 204 , MountFailed = 205 , NotOpened = 206 , NotReadableMode = 207 , NotWritableMode = 208 , NoSystemNativeFile = 209 , NoRegularFile = 210 , FileNotExist = 300 , FileAlreadyExist = 301 , PathNotFound = 302 , NotPermitted = 303 , NoSpaceStorage = 304 , ReadError = 305 , WriteError = 306 , UnknownError = 999 }  | 
| エラー定義  [詳解] | |
関数 | |
| constexpr DelegateKey | MGL::File::MakeDelegateKey (const char *keyString, uint32_t seed=kDefaultDelegateKeySeed) noexcept | 
| デリゲートキーの生成   | |
変数 | |
| constexpr uint32_t | MGL::File::kDefaultDelegateKeySeed = MGL::Hash::kFNV1aDefaultValue32 | 
| デリゲートキーのハッシュ生成に使用するシード値  | |
MGL ファイル用各種定義
      
  | 
  strong | 
エラー定義
      
  | 
  strong | 
      
  | 
  strong | 
      
  | 
  strong | 
      
  | 
  nodiscardconstexprnoexcept | 
デリゲートキーの生成
| [in] | keyString | キーの文字列 | 
| [in] | seed | シード値(省略時はkDefaultDelegateKeySeed) |