LIEF: Library to Instrument Executable Formats Version 0.17.0
Loading...
Searching...
No Matches
LIEF::objc::Protocol Class Reference

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 ()
 

Detailed Description

This class represents an Objective-C @protocol

Member Typedef Documentation

◆ methods_it

◆ properties_it

Constructor & Destructor Documentation

◆ Protocol()

LIEF::objc::Protocol::Protocol ( std::unique_ptr< details::Protocol > impl)

◆ ~Protocol()

LIEF::objc::Protocol::~Protocol ( )

Member Function Documentation

◆ mangled_name()

std::string LIEF::objc::Protocol::mangled_name ( ) const

Mangled name of the protocol.

◆ optional_methods()

methods_it LIEF::objc::Protocol::optional_methods ( ) const

Iterator over the methods that could be overridden.

◆ properties()

properties_it LIEF::objc::Protocol::properties ( ) const

Iterator over the properties defined in this protocol.

◆ required_methods()

methods_it LIEF::objc::Protocol::required_methods ( ) const

Iterator over the methods of this protocol that must be implemented.

◆ to_decl()

std::string LIEF::objc::Protocol::to_decl ( const DeclOpt & opt = DeclOpt()) const

Generate a header-like string for this specific protocol.

The generated output can be configured with DeclOpt


The documentation for this class was generated from the following file: