di 0.1.0
Loading...
Searching...
No Matches
di::container::PathViewImpl< Enc > Class Template Reference

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

Inheritance diagram for di::container::PathViewImpl< Enc >:
di::meta::EnableView< PathViewImpl< Enc > > di::meta::EnableBorrowedContainer< PathViewImpl< Enc > > di::container::ConstantPathInterface< PathViewImpl< Enc >, Enc > di::util::OwnedType< PathViewImpl< Enc >, PathImpl< string::StringImpl< Enc > > >

Public Types

using Encoding = Enc

Public Member Functions

 PathViewImpl ()=default
constexpr PathViewImpl (View view)
constexpr PathViewImpl (Iterator start, Iterator end)
constexpr auto data () const -> View
Public Member Functions inherited from di::container::ConstantPathInterface< PathViewImpl< Enc >, Enc >
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 >
Public Member Functions inherited from di::util::OwnedType< PathViewImpl< Enc >, PathImpl< string::StringImpl< Enc > > >
constexpr auto to_owned () const

Additional Inherited Members

Protected Member Functions inherited from di::container::ConstantPathInterface< PathViewImpl< Enc >, Enc >
constexpr void compute_first_component_end ()

Member Typedef Documentation

◆ Encoding

template<concepts::Encoding Enc>
using di::container::PathViewImpl< Enc >::Encoding = Enc

Constructor & Destructor Documentation

◆ PathViewImpl() [1/3]

template<concepts::Encoding Enc>
di::container::PathViewImpl< Enc >::PathViewImpl ( )
default

◆ PathViewImpl() [2/3]

template<concepts::Encoding Enc>
di::container::PathViewImpl< Enc >::PathViewImpl ( View view)
inlineconstexpr

◆ PathViewImpl() [3/3]

template<concepts::Encoding Enc>
di::container::PathViewImpl< Enc >::PathViewImpl ( Iterator start,
Iterator end )
inlineconstexpr

Member Function Documentation

◆ data()

template<concepts::Encoding Enc>
auto di::container::PathViewImpl< Enc >::data ( ) const->View
inlineconstexpr

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