Iros
 
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 >:
[legend]

Public Types

using Encoding = Enc
 

Public Member Functions

 PathViewImpl ()=default
 
constexpr PathViewImpl (View view)
 
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/2]

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

◆ PathViewImpl() [2/2]

template<concepts::Encoding Enc>
di::container::PathViewImpl< Enc >::PathViewImpl ( View view)
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: