LIEF: Library to Instrument Executable Formats Version 0.17.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> |
Public Member Functions | |
Protocol (std::unique_ptr< details::Protocol > impl) | |
std::string | mangled_name () const |
Mangled name of the protocol. | |
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 | ( | ) |
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.
properties_it LIEF::objc::Protocol::properties | ( | ) | const |
Iterator over the properties defined in this protocol.
methods_it LIEF::objc::Protocol::required_methods | ( | ) | const |
Iterator over the methods of this protocol that must be implemented.
Generate a header-like string for this specific protocol.
The generated output can be configured with DeclOpt