std::experimental::filesystem::path:: has_...
From cppreference.net
<
cpp
|
experimental
|
fs
|
path
|
bool
has_root_path
(
)
const
;
|
(1) | (filesystem TS) |
|
bool
has_root_name
(
)
const
;
|
(2) | (filesystem TS) |
|
bool
has_root_directory
(
)
const
;
|
(3) | (filesystem TS) |
|
bool
has_relative_path
(
)
const
;
|
(4) | (filesystem TS) |
|
bool
has_parent_path
(
)
const
;
|
(5) | (filesystem TS) |
|
bool
has_filename
(
)
const
;
|
(6) | (filesystem TS) |
|
bool
has_stem
(
)
const
;
|
(7) | (filesystem TS) |
|
bool
has_extension
(
)
const
;
|
(8) | (filesystem TS) |
`, `
`, `
경로가 해당 경로 요소를 포함하는지 확인합니다.
1)
root_path()
가 비어 있는지 확인합니다.
2)
root_name()
가 비어 있는지 여부를 확인합니다.
3)
root_directory()
가 비어 있는지 확인합니다.
4)
relative_path()
가 비어 있는지 확인합니다.
5)
parent_path()
가 비어 있는지 확인합니다.
6)
filename()
가 비어 있는지 확인합니다.
7)
stem()
가 비어 있는지 확인합니다.
8)
extension()
가 비어 있는지 확인합니다.
목차 |
매개변수
(없음)
반환값
true 해당 경로가 비어 있지 않은 경우, false 그렇지 않은 경우.
예외
구현 정의 예외를 던질 수 있습니다.
참고 항목
|
경로가 비어 있는지 확인합니다
(public member function) |