libzypp 17.37.17
SrcPackage.cc
Go to the documentation of this file.
1/*---------------------------------------------------------------------\
2| ____ _ __ __ ___ |
3| |__ / \ / / . \ . \ |
4| / / \ V /| _/ _/ |
5| / /__ | | | | | | |
6| /_____||_| |_| |_| |
7| |
8\---------------------------------------------------------------------*/
12#include <zypp/SrcPackage.h>
14namespace zyppintern
15{
16 using namespace zypp;
17 // in Package.cc
18 Pathname cachedLocation( const OnMediaLocation & loc_r, const RepoInfo & repo_r );
19} // namespace zyppintern
21
23namespace zypp
24{
25
27
29 //
30 // METHOD NAME : SrcPackage::SrcPackage
31 // METHOD TYPE : Ctor
32 //
34 : ResObject( solvable_r )
35 {}
36
38 //
39 // METHOD NAME : SrcPackage::~SrcPackage
40 // METHOD TYPE : Dtor
41 //
44
46 //
47 // SrcPackage interface forwarded to implementation
48 //
50
53
56
59
61} // namespace zypp
Describes a resource file located on a medium.
What is known about a repository.
Definition RepoInfo.h:72
ResObject(const sat::Solvable &solvable_r)
Ctor.
Definition ResObject.cc:23
SrcPackage interface.
Definition SrcPackage.h:30
~SrcPackage() override
Dtor.
Definition SrcPackage.cc:42
Pathname cachedLocation() const
Location of the downloaded package in cache or an empty path.
Definition SrcPackage.cc:57
std::string sourcePkgType() const
The type of the source rpm ("src" or "nosrc").
Definition SrcPackage.cc:51
SrcPackage(const sat::Solvable &solvable_r)
Ctor.
Definition SrcPackage.cc:33
OnMediaLocation location() const
location of resolvable in repo
Definition SrcPackage.cc:54
static const SolvAttr arch
Definition SolvAttr.h:54
A Solvable object within the sat Pool.
Definition Solvable.h:54
Easy-to use interface to the ZYPP dependency resolver.
Pathname cachedLocation(const OnMediaLocation &loc_r, const RepoInfo &repo_r)
Definition Package.cc:99
OnMediaLocation lookupLocation() const
std::string lookupStrAttribute(const SolvAttr &attr) const
#define IMPL_PTR_TYPE(NAME)