|
paludis
Version 1.4.0
|
#include <dep_spec.hh>
Inheritance diagram for paludis::FetchableURIDepSpec:Public Member Functions | |
| std::string | original_url () const |
| std::string | renamed_url_suffix () const |
| std::string | filename () const |
| virtual std::shared_ptr< DepSpec > | clone () const PALUDIS_ATTRIBUTE((warn_unused_result)) |
Public Member Functions inherited from paludis::StringDepSpec | |
| std::string | text () const |
Public Member Functions inherited from paludis::DepSpec | |
| virtual const std::shared_ptr < const DepSpecAnnotations > | maybe_annotations () const PALUDIS_ATTRIBUTE((warn_unused_result)) |
| virtual void | set_annotations (const std::shared_ptr< const DepSpecAnnotations > &) |
| virtual | ~DepSpec () |
| DepSpec (const DepSpec &)=delete | |
| DepSpec & | operator= (const DepSpec &)=delete |
Public Member Functions inherited from paludis::Cloneable< DepSpec > | |
| virtual | ~Cloneable () |
Basic operations | |
| FetchableURIDepSpec (const std::string &) | |
Additional Inherited Members | |
Protected Member Functions inherited from paludis::StringDepSpec | |
| void | set_text (const std::string &) |
| StringDepSpec (const std::string &) | |
| ~StringDepSpec () | |
A FetchableURIDepSpec represents a fetchable URI part.
It differs from a SimpleURIDepSpec in that it supports arrow notation. Arrows are used by exheres to allow downloading to a filename other than that used by the original URL.
|
virtual |
Return a new copy of ourselves.
Implements paludis::Cloneable< DepSpec >.
| std::string paludis::FetchableURIDepSpec::filename | ( | ) | const |
The filename (that is, the renamed URL suffix, if present, or the text after the final / in the original URL otherwise).
| std::string paludis::FetchableURIDepSpec::original_url | ( | ) | const |
The original URL (that is, the text to the left of the arrow, if present, or the entire text otherwise).
| std::string paludis::FetchableURIDepSpec::renamed_url_suffix | ( | ) | const |
The renamed URL filename (that is, the text to the right of the arrow, if present, or an empty string otherwise).
1.8.3.1