libzypp  17.38.7
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>
19 
20 namespace 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
zypp::sat::detail::CPool CPool
Definition: poolconstants.h:36
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
zypp::sat::detail::IdType IdType
Definition: poolconstants.h:43
const char * capRel2Str(int op_r)
Convert a relation operator to its string representation.
Definition: cap2str.cc:119
CLASS NAME : detail::DIWrap.
Definition: cap2str.cc:14