11#ifndef INCGUARD_MGL_FILE_PATH_H_1690354479 
   12#define INCGUARD_MGL_FILE_PATH_H_1690354479 
   22    Path(
size_t reserveSize = 0) 
noexcept;
 
   23    Path(
const char *path) 
noexcept;
 
   24    Path(
const char *path, 
size_t reserveSize) 
noexcept;
 
   32    operator const char *() 
const noexcept 
 
   96        return _path.length();
 
 
  108        return _path.empty();
 
 
  135    void Set(
const char *path) 
noexcept 
 
 
ファイルパスクラス
Definition mgl_file_path.h:20
 
bool IsEmpty() const noexcept
パスが空であるかを取得
Definition mgl_file_path.h:106
 
Path GetExtension() const noexcept
拡張子を取得
Definition mgl_file_path.cc:186
 
Path & operator/=(const char *element) noexcept
要素の追加
Definition mgl_file_path.h:59
 
void Set(const char *path) noexcept
パスを設定
Definition mgl_file_path.h:135
 
Path GetRoot() const noexcept
ルートパスの取得
Definition mgl_file_path.cc:114
 
const char * GetCString() const noexcept
C言語の文字列として取得
Definition mgl_file_path.h:43
 
Path & Concat(const char *string) noexcept
文字列の追加
Definition mgl_file_path.cc:85
 
size_t GetLength() const noexcept
パスの長さを取得
Definition mgl_file_path.h:94
 
Path & operator+=(const char *string) noexcept
文字列の追加
Definition mgl_file_path.h:71
 
void Clear() noexcept
要素を削除
Definition mgl_file_path.h:124
 
Path GetFilename() const noexcept
ファイル名の取得
Definition mgl_file_path.cc:162
 
Path & Append(const char *element) noexcept
要素の追加
Definition mgl_file_path.cc:65
 
Path GetStem() const noexcept
拡張子を除いたファイル名を取得
Definition mgl_file_path.cc:174
 
Path & operator+=(char character) noexcept
文字の追加
Definition mgl_file_path.h:83
 
Path GetMountName() const noexcept
マウント名の取得
Definition mgl_file_path.cc:126
 
Path GetRelativePath() const noexcept
ルートまたはマウントからの相対パスを取得
Definition mgl_file_path.cc:138
 
Path(size_t reserveSize=0) noexcept
コンストラクタ
Definition mgl_file_path.cc:34
 
Path GetParent() const noexcept
親ディレクトリのパスを取得
Definition mgl_file_path.cc:150
 
basic_string< char > string
std::stringの代替
Definition mgl_stl_string.h:25