libzypp  17.30.2
PurgeKernels.h
Go to the documentation of this file.
1 /*---------------------------------------------------------------------\
2 | ____ _ __ __ ___ |
3 | |__ / \ / / . \ . \ |
4 | / / \ V /| _/ _/ |
5 | / /__ | | | | | | |
6 | /_____||_| |_| |_| |
7 | |
8 \---------------------------------------------------------------------*/
13 #include <zypp/PoolItem.h>
14 #include <zypp/base/PtrTypes.h>
15 
16 namespace zypp {
17 
18  namespace str {
19  class regex;
20  }
21 
27  {
28  public:
29  PurgeKernels();
30 
31 
36  void markObsoleteKernels();
37 
42  void setUnameR( const std::string &val );
43  std::string unameR() const;
44 
45 
50  void setKernelArch( const zypp::Arch &arch );
51  Arch kernelArch() const;
52 
63  void setKeepSpec( const std::string &val );
64  std::string keepSpec () const;
65 
66  struct Impl;
67  private:
69  };
70 
71 }
72 
Architecture.
Definition: Arch.h:37
std::string unameR() const
Arch kernelArch() const
void setKeepSpec(const std::string &val)
std::string keepSpec() const
void setUnameR(const std::string &val)
RW_pointer< Impl > _pimpl
Definition: PurgeKernels.h:66
void setKernelArch(const zypp::Arch &arch)
Regular expression.
Definition: Regex.h:95
String related utilities and Regular expression matching.
Easy-to use interface to the ZYPP dependency resolver.
Definition: CodePitfalls.doc:2
Wrapper for const correct access via Smart pointer types.
Definition: PtrTypes.h:286