35 , _message(
std::move(message) )
55 , _label(
std::move(label) )
56 , _answers(
std::move(answers) )
57 , _answer(
std::move(defaultAnswer) )
58 , _default(
std::move(defaultAnswer) )
74 ZYPP_THROW( std::logic_error(
"Selection index is out of range") );
95 , _label(
std::move(label) )
96 , _answer( defaultAnswer )
UserRequestType type() const override
void setChoice(const bool sel)
const std::string & label() const
std::vector< Choice >::size_type index_type
index_type choice() const
void setChoice(const index_type sel)
std::vector< Choice > _answers
const std::string & label() const
UserRequestType type() const override
index_type defaultAnswer() const
const std::vector< Choice > & answers() const
const std::string & message() const
UserRequestType type() const override
const UserData & userData() const
UserRequest(UserData userData={})
zypp::callback::UserData UserData
#define ZYPP_THROW(EXCPT)
Drops a logline and throws the Exception.
#define ZYPP_IMPL_PRIVATE_CONSTR_ARGS(Class,...)