12 using std::logic_error::logic_error;
75 path(std::string
const& p);
78 operator std::string()
const {
return value; }
96 bool operator==(std::string
const& other)
const {
return value == other; }
102 bool operator!=(std::string
const& other)
const {
return !(*
this == other); }
110 os << std::string{p};
bool operator==(std::string const &other) const
Equality operator for path against a string.
Definition: path.h:96
bool operator==(path const &other) const
Equality operator.
Definition: path.h:84
bool operator!=(path const &other) const
Inequality operator.
Definition: path.h:90
bool operator!=(std::string const &other) const
Inequality operator for path against a string.
Definition: path.h:102
Class representing a filesystem path as held by a property_set.
Definition: path.h:62
Definition: metadata_utils.h:35
Exception for paths that cannot be resolved by datatools::utils.
Definition: path.h:11
std::ostream & operator<<(std::ostream &os, path const &p)
Output path to an ostream.
Definition: path.h:109
path()=default
Default constructor.