paludis
Version 2.6.0
|
#include <hook.hh>
Public Member Functions | |
Hook | operator() (const std::string &key, const std::string &value) const PALUDIS_ATTRIBUTE((warn_unused_result)) |
Add data to the hook. | |
std::string | get (const std::string &key) const PALUDIS_ATTRIBUTE((warn_unused_result)) |
Get data from the hook. | |
Hook | grab_output (const AllowedOutputValues &av) |
bool | validate_value (const std::string &value) const |
std::string | name () const PALUDIS_ATTRIBUTE((warn_unused_result)) |
Our name. | |
AllowedOutputValues | operator() (const std::string &v) const PALUDIS_ATTRIBUTE((warn_unused_result)) |
Add a new allowed value. | |
Friends | |
class | Hook |
Basic operations | |
HookOutputDestination | output_dest |
Hook (const std::string &name) | |
Hook (const Hook &) | |
~Hook () | |
AllowedOutputValues () | |
AllowedOutputValues (const AllowedOutputValues &other) | |
~AllowedOutputValues () | |
Iterate over environment data | |
typedef WrappedForwardIterator< ConstIteratorTag, const std::pair< const std::string, std::string > > | ConstIterator |
ConstIterator | begin () const PALUDIS_ATTRIBUTE((warn_unused_result)) |
ConstIterator | end () const PALUDIS_ATTRIBUTE((warn_unused_result)) |
Represents the data for a hook call.
Hooks with grabbed output can specify that only certain output values are allowed.