15#ifndef LIEF_OBJC_PROTOCOL_H
16#define LIEF_OBJC_PROTOCOL_H
54 template <
typename RefT>
60 Iterator(std::unique_ptr<details::ProtocolIt> impl);
87 return static_cast<const Iterator*
>(
this)->
operator*();
91 std::unique_ptr<details::ProtocolIt> impl_;
98 Protocol(std::unique_ptr<details::Protocol> impl);
114 std::unique_ptr<details::Protocol> impl_;
Definition iterators.hpp:486
Definition Protocol.hpp:45
pointer operator->() const
Definition Protocol.hpp:49
Definition Protocol.hpp:36
std::ptrdiff_t difference_type
Definition Protocol.hpp:40
std::unique_ptr< Protocol > & reference
Definition Protocol.hpp:42
std::bidirectional_iterator_tag iterator_category
Definition Protocol.hpp:38
Iterator(Iterator &&) noexcept
Iterator(const Iterator &)
std::unique_ptr< Protocol > value_type
Definition Protocol.hpp:39
std::unique_ptr< Protocol > operator*() const
Iterator operator--(int)
Definition Protocol.hpp:72
Iterator operator++(int)
Definition Protocol.hpp:78
details::ProtocolIt implementation
Definition Protocol.hpp:43
PointerProxy operator->() const
Definition Protocol.hpp:86
This class represents an Objective-C @protocol
Definition Protocol.hpp:34
methods_it optional_methods() const
Iterator over the methods that could be overridden.
methods_it required_methods() const
Iterator over the methods of this protocol that must be implemented.
properties_it properties() const
Iterator over the properties defined in this protocol.
Protocol(std::unique_ptr< details::Protocol > impl)
std::string mangled_name() const
Mangled name of the protocol.
LIEF namespace.
Definition Abstract/Binary.hpp:32
#define LIEF_API
Definition visibility.h:41