di 0.1.0
Loading...
Searching...
No Matches
di::container::ConstantPathInterface< Self, Enc > Class Template Reference

#include <di/container/path/constant_path_interface.h>

Public Member Functions

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 >

Protected Member Functions

constexpr void compute_first_component_end ()

Friends

constexpr friend auto operator== (Self const &a, Self const &b) -> bool
constexpr friend auto operator<=> (Self const &a, Self const &b)
constexpr friend auto tag_invoke (types::Tag< container::reconstruct >, InPlaceType< Self >, Iterator first, Iterator last) -> PathView

Member Function Documentation

◆ back()

template<typename Self, concepts::Encoding Enc>
auto di::container::ConstantPathInterface< Self, Enc >::back ( ) const
inlineconstexpr

◆ begin()

template<typename Self, concepts::Encoding Enc>
auto di::container::ConstantPathInterface< Self, Enc >::begin ( ) const
inlineconstexpr

◆ compute_first_component_end()

template<typename Self, concepts::Encoding Enc>
void di::container::ConstantPathInterface< Self, Enc >::compute_first_component_end ( )
inlineconstexprprotected

◆ empty()

template<typename Self, concepts::Encoding Enc>
auto di::container::ConstantPathInterface< Self, Enc >::empty ( ) const->bool
inlineconstexpr

◆ end()

template<typename Self, concepts::Encoding Enc>
auto di::container::ConstantPathInterface< Self, Enc >::end ( ) const
inlineconstexpr

◆ ends_with()

template<typename Self, concepts::Encoding Enc>
auto di::container::ConstantPathInterface< Self, Enc >::ends_with ( PathView suffix) const->bool
inlineconstexpr

◆ extension()

template<typename Self, concepts::Encoding Enc>
auto di::container::ConstantPathInterface< Self, Enc >::extension ( ) const->Optional< View >
inlineconstexpr

◆ filename()

template<typename Self, concepts::Encoding Enc>
auto di::container::ConstantPathInterface< Self, Enc >::filename ( ) const->Optional< View >
inlineconstexpr

◆ filename_ends_with()

template<typename Self, concepts::Encoding Enc>
auto di::container::ConstantPathInterface< Self, Enc >::filename_ends_with ( View suffix) const->bool
inlineconstexpr

◆ front()

template<typename Self, concepts::Encoding Enc>
auto di::container::ConstantPathInterface< Self, Enc >::front ( ) const
inlineconstexpr

◆ is_absolute()

template<typename Self, concepts::Encoding Enc>
auto di::container::ConstantPathInterface< Self, Enc >::is_absolute ( ) const->bool
inlineconstexpr

◆ is_relative()

template<typename Self, concepts::Encoding Enc>
auto di::container::ConstantPathInterface< Self, Enc >::is_relative ( ) const->bool
inlineconstexpr

◆ operator PathView()

template<typename Self, concepts::Encoding Enc>
di::container::ConstantPathInterface< Self, Enc >::operator PathView ( ) const &
inlineconstexpr

◆ parent_path()

template<typename Self, concepts::Encoding Enc>
auto di::container::ConstantPathInterface< Self, Enc >::parent_path ( ) const->Optional< PathView >
inlineconstexpr

◆ starts_with()

template<typename Self, concepts::Encoding Enc>
auto di::container::ConstantPathInterface< Self, Enc >::starts_with ( PathView prefix) const->bool
inlineconstexpr

◆ stem()

template<typename Self, concepts::Encoding Enc>
auto di::container::ConstantPathInterface< Self, Enc >::stem ( ) const->Optional< View >
inlineconstexpr

◆ strip_prefix()

template<typename Self, concepts::Encoding Enc>
auto di::container::ConstantPathInterface< Self, Enc >::strip_prefix ( PathView prefix) ->Optional< PathView >
inlineconstexpr

◆ view()

template<typename Self, concepts::Encoding Enc>
auto di::container::ConstantPathInterface< Self, Enc >::view ( ) const &->PathView
inlineconstexpr

◆ operator<=>

template<typename Self, concepts::Encoding Enc>
friend auto operator<=> ( Self const & a,
Self const & b )
friend

◆ operator==

template<typename Self, concepts::Encoding Enc>
friend auto operator== ( Self const & a,
Self const & b )->bool
friend

◆ tag_invoke

template<typename Self, concepts::Encoding Enc>
friend auto tag_invoke ( types::Tag< container::reconstruct > ,
InPlaceType< Self > ,
Iterator first,
Iterator last )->PathView
friend

The documentation for this class was generated from the following file: