로드 중...
검색 중...
일치하는 항목 없음
gamspath.h
1
26#ifndef GAMSPATH_H
27#define GAMSPATH_H
28
29#include <파일 시스템>
30
31네임스페이스게임{
32
34클래스피망 슬롯경로:공개std::파일 시스템::경로
35{
36공개:
38 피망 슬롯경로() : std::파일 시스템::경로() {}
39
42 피망 슬롯경로(const 문자*파일) : std::파일 시스템::경로(파일)
43
46 피망 슬롯경로(conststd::string &file) : std::파일 시스템::경로(파일)
47
50 피망 슬롯경로(conststd::filesystem::경로(&file)) : std::filesystem::경로(파일)
51
55 피망 슬롯경로(conststd::filesystem::경로 및 디렉토리,conststd::string &file) : std::파일 시스템::경로(디렉터리/파일)
56
59 피망 슬롯경로(const 피망 슬롯경로&gpath) : std::파일 시스템::경로(gpath.문자열()) {}
60
65
69 피망 슬롯경로&연산자 <<(conststd::string &append);
70
74 피망 슬롯경로&연산자 +=(conststd::string &append);
75
79 피망 슬롯경로 연산자 +(conststd::string &append);
80
84 피망 슬롯경로 연산자 +(const 문자*추가);
85
90
94 피망 슬롯경로 연산자 /(conststd::string &append);
95
99 피망 슬롯경로 연산자 /(const 문자*추가);
100
102 연산자std::string();
103
105std::stringtoStdString() const;
106
109 const 문자* c_str() const;
110
114 피망 슬롯경로 tempDir(conststd::string &tempPath = std::string());
115
119 피망 슬롯경로 임시파일(conststd::string &tempName ="XXXXXX.tmp");
120
123 공허 setSuffix(const 문자 *접미사);
124
127 공허 setSuffix(conststd::문자열 &접미사);
128
132 피망 슬롯경로 접미사(conststd::문자열 &접미사) const;
133
138
142
144std::string접미사() const;
145
148
150 부울 mkDir() const;
151
154 부울 rmDirRecurse();
155
157 공허 ();
158
161 부울 제거();
162
166 부울 이름 바꾸기(conststd::string &newFileName);
167
171 부울 이름 바꾸기(const 문자*newFileName);
172
175 부울 존재합니다() const;
176
180 정적 부울 존재합니다(conststd::string &file);
181
185 정적 부울 존재합니다(const 문자*파일);
186
187};
188
189#ifdef _WIN32
190정적 thread_local 부울시드 생성됨;
191#else
192#pragma GCC 진단 푸시
193#pragma GCC 진단은 "-Wunused-variable"을 무시함
194정적 thread_local 부울시드 생성됨;
195#pragma GCC 진단 팝
196#endif
197
198}
199
200#endif// GPATH_H
특정 파일에 대한 피망 슬롯 경로를 나타냅니다.
GAMSPath(const GAMSPath &gpath)
GAMSPath 연산자/(const GAMSPath &append)
bool rename(const char *newFileName)
GAMSPath 접미사(const std::string &suffix) const
GAMSPath(const char *file)
무효 팩()
경로를 가장 짧은 절대 표현으로 변환하여 비교할 수 있도록 경로를 정규화합니다.
GAMSPath tempDir(const std::string &tempPath=std::string())
GAMSPath & 연산자+=(const std::string &append)
void setSuffix(const char *suffix)
GAMSPath(const std::filesystem::path &file)
부울 존재() const
const char * c_str() const
GAMSPath 연산자+(const std::string &append)
std::string 접미사() const
경로 접미사.
GAMSPath(const std::filesystem::path &dir, const std::string &file)
bool rename(const std::string &newFileName)
GAMSPath 경로() const
GAMSPath를 얻으세요.
피망 슬롯경로()
기본 생성자.
GAMSPath(const std::string &file)
정적 부울이 존재합니다(const char *file)
GAMSPath 및 연산자<<(const std::string &append)
GAMSPath 접미사(const char *suffix) const
bool mkDir() const
디렉토리를 생성하십시오.
std::string toStdString() const
경로나 파일을 std::string으로 가져옵니다.
GAMSPath & 연산자=(const GAMSPath &other)
GAMSPath 임시 파일(const std::string &tempName="XXXXXX.tmp")
연산자 std::string()
std::string을 GAMSPath로 변환합니다.
정적 부울이 존재합니다(const std::string &file)
GAMSPath up() const
void setSuffix(const std::string &suffix)