libzypp 17.38.6
solvableident.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 ZYPPNG_SAT_SOLVABLEIDENT_H_INCLUDED
15#define ZYPPNG_SAT_SOLVABLEIDENT_H_INCLUDED
16
17#include <zypp/ng/idstring.h>
18#include <zypp/ng/reskind.h>
19
20namespace zyppng::sat {
21
31 {
32 public:
33 SplitIdent() = default;
34 SplitIdent( IdString ident_r );
35 SplitIdent( const char * ident_r );
36 SplitIdent( const std::string & ident_r );
37 SplitIdent( ResKind kind_r, IdString name_r );
38 SplitIdent( ResKind kind_r, const zypp::C_Str & name_r );
39
40 IdString ident() const { return _ident; }
41 ResKind kind() const { return _kind; }
42 IdString name() const { return _name; }
43
44 private:
48 };
49
50} // namespace zyppng::sat
51
52#endif
Convenience char* constructible from std::string and char*, it maps (char*)0 to an empty string.
Definition String.h:92
Access to the sat-pools string space.
Definition IdString.h:55
Resolvable kinds.
Definition ResKind.h:33
IdString ident() const
IdString name() const
This file contains private API, this might break at any time between releases.