Go to the documentation of this file.
12 #ifndef ZYPP_PATHNAME_H
13 #define ZYPP_PATHNAME_H
56 {
_assign( name_r ? name_r :
"" ); }
69 #ifndef SWIG // Swig treats it as syntax error
77 {
swap( *
this, rhs );
return *
this; }
81 {
return( *
this =
cat( *
this, path_tv ) ); }
87 {
return( *
this =
cat( *
this, path_tv ) ); }
100 Url asUrl(
const std::string & scheme_r )
const;
110 {
return _name.c_str(); }
140 {
return name_r.
relative() ?
cat(
"/", name_r ) : name_r; }
145 {
return name_r.
absolute() ?
cat(
".", name_r ) : name_r; }
174 void _assign(
const std::string & name_r );
216 #endif // ZYPP_PATHNAME_H