#include <di/container/path/path_impl.h>
Public Types | |
| using | Encoding = Enc |
Public Member Functions | |
| PathImpl ()=default | |
| constexpr | PathImpl (Str &&string) |
| constexpr auto | data () const |
| constexpr auto | c_str () const |
| constexpr auto | clone () const |
| template<concepts::ContainerCompatible< meta::EncodingCodePoint< Enc > > Con> requires (concepts::SameAs<meta::Encoding<Con>, Enc> && concepts::ForwardContainer<Con>) | |
| constexpr auto | append (Con &&container) -> decltype(auto) |
| constexpr auto | append (PathViewImpl< Enc > view) -> decltype(auto) |
| constexpr auto | append (PathImpl const &other) -> decltype(auto) |
| template<concepts::ContainerCompatible< meta::EncodingCodePoint< Enc > > Con> requires (concepts::SameAs<meta::Encoding<Con>, Enc> && concepts::ForwardContainer<Con>) | |
| constexpr auto | operator/= (Con &&container) -> decltype(auto) |
| constexpr auto | operator/= (PathViewImpl< Enc > view) -> decltype(auto) |
| constexpr auto | operator/= (PathImpl const &other) -> decltype(auto) |
| template<concepts::ContainerCompatible< meta::EncodingCodePoint< Enc > > Con> requires (concepts::SameAs<meta::Encoding<Con>, Enc>) | |
| constexpr auto | concat (Con &&container) -> decltype(auto) |
| constexpr auto | concat (PathViewImpl< Enc > view) -> decltype(auto) |
| constexpr auto | concat (PathImpl const &other) -> decltype(auto) |
| template<concepts::ContainerCompatible< meta::EncodingCodePoint< Enc > > Con> requires (concepts::SameAs<meta::Encoding<Con>, Enc>) | |
| constexpr auto | operator+= (Con &&container) -> decltype(auto) |
| constexpr auto | operator+= (PathViewImpl< Enc > view) -> decltype(auto) |
| constexpr auto | operator+= (PathImpl const &other) -> decltype(auto) |
| constexpr void | clear () |
| constexpr auto | take_underlying_string () && |
Public Member Functions inherited from di::container::ConstantPathInterface< PathImpl< Str >, meta::Encoding< Str > > | |
| constexpr auto | empty () const -> bool |
| constexpr auto | view () const &-> PathView |
| constexpr | operator PathView () const & |
| constexpr auto | front () const |
| constexpr auto | back () const |
| constexpr auto | begin () const |
| constexpr auto | end () const |
| constexpr auto | is_absolute () const -> bool |
| constexpr auto | is_relative () const -> bool |
| constexpr auto | filename () const -> Optional< View > |
| constexpr auto | extension () const -> Optional< View > |
| constexpr auto | stem () const -> Optional< View > |
| constexpr auto | parent_path () const -> Optional< PathView > |
| constexpr auto | starts_with (PathView prefix) const -> bool |
| constexpr auto | ends_with (PathView suffix) const -> bool |
| constexpr auto | filename_ends_with (View suffix) const -> bool |
| constexpr auto | strip_prefix (PathView prefix) -> Optional< PathView > |
Friends | |
| template<concepts::ContainerCompatible< meta::EncodingCodeUnit< Enc > > Con, typename... Args> requires (concepts::CreatableFrom<Str, Con, Args...>) | |
| constexpr friend auto | tag_invoke (types::Tag< util::create_in_place >, InPlaceType< PathImpl >, Con &&container, Args &&... args) |
| constexpr friend auto | tag_invoke (types::Tag< util::create_in_place >, InPlaceType< PathImpl >, PathViewImpl< Enc > view) |
| template<concepts::ContainerCompatible< meta::EncodingCodePoint< Enc > > Con> requires (concepts::SameAs<meta::Encoding<Con>, Enc>) | |
| constexpr friend auto | operator/ (PathImpl &&lhs, Con &&rhs) |
| auto | operator/ (PathImpl &&lhs, PathViewImpl< Enc > rhs) |
| auto | operator/ (PathImpl &&lhs, PathImpl const &rhs) |
Additional Inherited Members | |
Protected Member Functions inherited from di::container::ConstantPathInterface< PathImpl< Str >, meta::Encoding< Str > > | |
| constexpr void | compute_first_component_end () |
| using di::container::PathImpl< Str >::Encoding = Enc |
|
default |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |