21#ifndef PALUDIS_GUARD_PALUDIS_HOOK_HH
22#define PALUDIS_GUARD_PALUDIS_HOOK_HH 1
29#include <paludis/util/wrapped_forward_iterator.hh>
31#include <paludis/util/named_value.hh>
32#include <paludis/output_manager-fwd.hh>
50 typedef Name<struct name_max_exit_status> max_exit_status;
51 typedef Name<struct name_output> output;
85 HookOutputDestination output_dest;
87 Hook(
const std::string &
name);
96 Hook operator() (
const std::string & key,
const std::string & value)
const
100 std::string
get(
const std::string & key)
const
105 bool validate_value(
const std::string & value)
const;
110 struct ConstIteratorTag;
113 ConstIterator begin() const
116 ConstIterator end() const
145 AllowedOutputValues();
147 AllowedOutputValues(
const AllowedOutputValues & other);
149 ~AllowedOutputValues();
154 AllowedOutputValues operator() (
const std::string & v)
const
167extern "C" const std::shared_ptr<const paludis::Sequence<std::string> >
PALUDIS_VISIBLE paludis_hook_auto_phases(
Definition environment.hh:203
std::string get(const std::string &key) const PALUDIS_ATTRIBUTE((warn_unused_result))
Get data from the hook.
std::string name() const PALUDIS_ATTRIBUTE((warn_unused_result))
Our name.
Definition named_value.hh:51
Definition wrapped_forward_iterator.hh:42
#define PALUDIS_ATTRIBUTE(x)
Definition attributes.hh:53
#define PALUDIS_VISIBLE
Definition attributes.hh:59
Definition about_metadata-fwd.hh:24