libzypp: zypp/ng/sat/cap2str.h Source File

libzypp 17.38.10

cap2str.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#ifndef ZYPP_NG_SAT_CAP2STR_H_INCLUDED
15#define ZYPP_NG_SAT_CAP2STR_H_INCLUDED
16
17#include <string>
18#include <zypp/ng/sat/poolconstants.h>
19
20namespace zyppng::sat::detail {
21
28 const char * cap2str( CPool * pool_r, IdType id_r, int parop_r = 0 );
29
38 void cap2str( std::string & outs_r, CPool * pool_r, IdType id_r, int parop_r );
39
45 const char *capRel2Str( int op_r );
46
47} // namespace zyppng::sat::detail
48
49#endif
zyppng::sat::detail
CLASS NAME : detail::DIWrap.
Definition cap2str.cc:14
zyppng::sat::detail::CPool
zypp::sat::detail::CPool CPool
Definition poolconstants.h:36
zyppng::sat::detail::capRel2Str
const char * capRel2Str(int op_r)
Convert a relation operator to its string representation.
Definition cap2str.cc:119
zyppng::sat::detail::IdType
zypp::sat::detail::IdType IdType
Definition poolconstants.h:43
zyppng::sat::detail::cap2str
void cap2str(std::string &outs_r, CPool *pool_r, IdType id_r, int parop_r)
Shared logic to convert a sat ID into a human readable string.
Definition cap2str.cc:56
poolconstants.h