libzypp: zypp/ng/log/sat/capability.h Source File

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
22namespace 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 <>
46 struct formatter<sat::CapDetail::CapRel> {
47 static std::ostream& stream(std::ostream& str, const sat::CapDetail::CapRel &obj );
48 };
49 }
50
51}
52#endif
zypp::CapDetail
Helper providing more detailed information about a Capability.
Definition Capability.h:366
zypp::CapDetail::Kind
Kind
Definition Capability.h:369
zypp::CapDetail::CapRel
CapRel
Enum values corresponding with libsolv defines.
Definition Capability.h:380
zypp::Capability
A sat capability.
Definition Capability.h:63
zyppng::sat::CapDetail
Helper providing more detailed information about a Capability.
Definition capability.h:339
zyppng::sat::CapDetail::Kind
Kind
Definition capability.h:342
zyppng::sat::CapDetail::CapRel
CapRel
Enum values corresponding with libsolv defines.
Definition capability.h:353
zyppng::sat::Capability
A sat capability.
Definition capability.h:74
format.h
str
String related utilities and Regular expression matching.
zypp::sat
Libsolv interface
zyppng::log
Definition format.h:29
zyppng::sat
This file contains private API, this might break at any time between releases.
Definition capabilities.h:22
zyppng
Definition MediaNetworkRequestExecutor.h:16
capability.h
zyppng::log::formatter< sat::CapDetail >::stream
static std::ostream & stream(std::ostream &str, const sat::CapDetail &obj)
Definition capability.cc:32
zyppng::log::formatter< sat::CapDetail::CapRel >::stream
static std::ostream & stream(std::ostream &str, const sat::CapDetail::CapRel &obj)
Definition capability.cc:92
zyppng::log::formatter< sat::CapDetail::Kind >::stream
static std::ostream & stream(std::ostream &str, const sat::CapDetail::Kind &obj)
Definition capability.cc:80
zyppng::log::formatter< sat::Capability >::stream
static std::ostream & stream(std::ostream &str, const sat::Capability &obj)
Definition capability.cc:27
zyppng::log::formatter
Primary trait for object formatting.
Definition format.h:67