|
LIEF: Library to Instrument Executable Formats Version 1.0.0
|
This class represents an Objective-C @protocol. More...
#include <Protocol.hpp>
Classes | |
| class | Iterator |
Public Types | |
| using | methods_it = iterator_range<Method::Iterator> |
| using | properties_it = iterator_range<Property::Iterator> |
| using | protocols_it = iterator_range<Iterator> |
Public Member Functions | |
| Protocol (std::unique_ptr< details::Protocol > impl) | |
| std::string | mangled_name () const |
| Mangled name of the protocol. | |
| protocols_it | protocols () const |
| Iterator over the protocols adopted by this protocol (e.g. the <Bar, Baz> in @protocol Foo <Bar, Baz>). | |
| 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. | |
| std::string | to_decl (const DeclOpt &opt=DeclOpt()) const |
| Generate a header-like string for this specific protocol. | |
| ~Protocol () | |
This class represents an Objective-C @protocol.
| LIEF::objc::Protocol::Protocol | ( | std::unique_ptr< details::Protocol > | impl | ) |
| LIEF::objc::Protocol::~Protocol | ( | ) |
References Protocol().
| std::string LIEF::objc::Protocol::mangled_name | ( | ) | const |
Mangled name of the protocol.
| methods_it LIEF::objc::Protocol::optional_methods | ( | ) | const |
Iterator over the methods that could be overridden.
References LIEF_LIFETIMEBOUND, and optional_methods().
Referenced by optional_methods().
| properties_it LIEF::objc::Protocol::properties | ( | ) | const |
Iterator over the properties defined in this protocol.
References LIEF_LIFETIMEBOUND, and properties().
Referenced by properties().
| protocols_it LIEF::objc::Protocol::protocols | ( | ) | const |
Iterator over the protocols adopted by this protocol (e.g. the <Bar, Baz> in @protocol Foo <Bar, Baz>).
References LIEF_LIFETIMEBOUND.
| methods_it LIEF::objc::Protocol::required_methods | ( | ) | const |
Iterator over the methods of this protocol that must be implemented.
References LIEF_LIFETIMEBOUND, and required_methods().
Referenced by required_methods().