20#ifndef PALUDIS_GUARD_PALUDIS_PERMITTED_CHOICE_VALUE_PARAMETER_VALUES_HH
21#define PALUDIS_GUARD_PALUDIS_PERMITTED_CHOICE_VALUE_PARAMETER_VALUES_HH 1
23#include <paludis/permitted_choice_value_parameter_values-fwd.hh>
25#include <paludis/util/visitor.hh>
26#include <paludis/util/type_list.hh>
34 PermittedChoiceValueParameterIntegerValue,
35 PermittedChoiceValueParameterEnumValue
44 public ImplementAcceptMethods<PermittedChoiceValueParameterValues, PermittedChoiceValueParameterIntegerValue>
50 PermittedChoiceValueParameterIntegerValue(
const int min,
const int max);
70 const std::shared_ptr<const Map<std::string, std::string> > _allowed;
73 PermittedChoiceValueParameterEnumValue(
Definition visitor.hh:326
Definition visitor.hh:411
const std::shared_ptr< const Map< std::string, std::string > > allowed_values_and_descriptions() const PALUDIS_ATTRIBUTE((warn_unused_result))
int minimum_allowed_value() const PALUDIS_ATTRIBUTE((warn_unused_result))
int maximum_allowed_value() const PALUDIS_ATTRIBUTE((warn_unused_result))
Definition permitted_choice_value_parameter_values.hh:37
#define PALUDIS_ATTRIBUTE(x)
Definition attributes.hh:53
#define PALUDIS_VISIBLE
Definition attributes.hh:59
Definition about_metadata-fwd.hh:24