Namespaces
Variants

std::experimental::filesystem::path:: has_...

From cppreference.net
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)
**번역 규칙 준수 사항:** - 모든 HTML 태그와 속성은 원본 그대로 유지 - ` `, `
`, `` 태그 내부 텍스트 번역하지 않음
- C++ 관련 용어(함수명, 키워드 등) 번역하지 않음
- 전문성과 정확성을 유지하며 번역

경로가 해당 경로 요소를 포함하는지 확인합니다.

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)