libzypp
17.14.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
ProblemSolution.h
Go to the documentation of this file.
1
9
#ifndef ZYPP_PROBLEMSOLUTION_H
10
#define ZYPP_PROBLEMSOLUTION_H
11
12
#include <list>
13
#include <string>
14
15
#include "
zypp/ProblemTypes.h
"
16
#include "
zypp/ResolverProblem.h
"
17
19
namespace
zypp
20
{
37
class
ProblemSolution
:
public
base::ReferenceCounted
38
{
39
public
:
40
typedef
solver::detail::SolutionAction_Ptr
SolutionAction_Ptr
;
41
typedef
solver::detail::SolutionActionList
SolutionActionList
;
42
44
ProblemSolution
();
45
47
ProblemSolution
( std::string
description
);
48
50
ProblemSolution
( std::string
description
, std::string
details
);
51
53
virtual
~ProblemSolution
();
54
55
59
const
std::string &
description
()
const
;
60
65
const
std::string &
details
()
const
;
66
70
const
SolutionActionList
&
actions
()
const
;
71
75
void
setDescription
( std::string
description
);
76
80
void
setDetails
( std::string
details
);
81
85
void
pushDescriptionDetail
( std::string
description
,
bool
front =
false
);
86
87
91
void
addAction
(
SolutionAction_Ptr
action );
92
93
94
private
:
95
struct
Impl
;
96
RWCOW_pointer<Impl>
_pimpl
;
97
};
98
100
std::ostream&
operator<<
(std::ostream&,
const
ProblemSolution
& obj );
101
103
std::ostream&
operator<<
(std::ostream&,
const
ProblemSolutionList
& obj );
104
105
}
// namespace zypp
107
#endif // ZYPP_PROBLEMSOLUTION_H
108
zypp
ProblemSolution.h
Generated by
1.8.2