libzypp  17.38.7
capability.h
Go to the documentation of this file.
1 /*---------------------------------------------------------------------
2 | ____ _ __ __ ___ |
3 | |__ / \ / / . \ . \ |
4 | / / \ V /| _/ _/ |
5 | / /__ | | | | | | |
6 | /_____||_| |_| |_| |
7 | |
8 ----------------------------------------------------------------------/
9 *
10 * This file contains private API, this might break at any time between releases.
11 * You have been warned!
12 *
13 */
14 
15 #ifndef ZYPP_NG_LOG_SAT_CAPABILITY_H_INCLUDED
16 #define ZYPP_NG_LOG_SAT_CAPABILITY_H_INCLUDED
17 
18 #include <zypp/ng/log/format.h>
19 #include <iosfwd>
20 #include <zypp/ng/sat/capability.h>
21 
22 namespace zyppng {
23 
24  namespace sat {
25  class Capability;
26  class CapDetail;
27  }
28 
29  namespace log {
30  template <>
31  struct formatter<sat::Capability> {
32  static std::ostream& stream(std::ostream& str, const sat::Capability &obj );
33  };
34 
35  template <>
36  struct formatter<sat::CapDetail> {
37  static std::ostream& stream(std::ostream& str, const sat::CapDetail &obj );
38  };
39 
40  template <>
41  struct formatter<sat::CapDetail::Kind> {
42  static std::ostream& stream(std::ostream& str, const sat::CapDetail::Kind &obj );
43  };
44 
45  template <>
47  static std::ostream& stream(std::ostream& str, const sat::CapDetail::CapRel &obj );
48  };
49  }
50 
51 }
52 #endif
Helper providing more detailed information about a Capability.
Definition: Capability.h:365
String related utilities and Regular expression matching.
Helper providing more detailed information about a Capability.
Definition: capability.h:338
CapRel
Enum values corresponding with libsolv defines.
Definition: capability.h:352
A sat capability.
Definition: capability.h:73
A sat capability.
Definition: Capability.h:62
CapRel
Enum values corresponding with libsolv defines.
Definition: Capability.h:379
Primary trait for object formatting.
Definition: format.h:67