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

This class represents an Objective-C class (@interface) More...

#include <Class.hpp>

Classes

class  Iterator
 

Public Types

using methods_t = iterator_range<Method::Iterator>
 Iterator for the class's method.
 
using protocols_t = iterator_range<Protocol::Iterator>
 Iterator for the protocols implemented by this class.
 
using properties_t = iterator_range<Property::Iterator>
 Iterator for the properties declared by this class.
 
using ivars_t = iterator_range<IVar::Iterator>
 Iterator for the instance variables defined by this class.
 

Public Member Functions

 Class (std::unique_ptr< details::Class > impl)
 
std::string name () const
 Name of the class.
 
std::string demangled_name () const
 Demangled name of the class.
 
std::unique_ptr< Classsuper_class () const
 Parent class in case of inheritance.
 
bool is_meta () const
 
methods_t methods () const
 Iterator over the different methods defined by this class.
 
protocols_t protocols () const
 Iterator over the different protocols implemented by this class.
 
properties_t properties () const
 Iterator over the properties of this class.
 
ivars_t ivars () const
 Iterator over the different instance variables defined in this class.
 
 ~Class ()
 

Detailed Description

This class represents an Objective-C class (@interface)

Member Typedef Documentation

◆ ivars_t

Iterator for the instance variables defined by this class.

◆ methods_t

◆ properties_t

Iterator for the properties declared by this class.

◆ protocols_t

Iterator for the protocols implemented by this class.

Constructor & Destructor Documentation

◆ Class()

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

◆ ~Class()

LIEF::objc::Class::~Class ( )

Member Function Documentation

◆ demangled_name()

std::string LIEF::objc::Class::demangled_name ( ) const

Demangled name of the class.

◆ is_meta()

bool LIEF::objc::Class::is_meta ( ) const

◆ ivars()

ivars_t LIEF::objc::Class::ivars ( ) const

Iterator over the different instance variables defined in this class.

◆ methods()

methods_t LIEF::objc::Class::methods ( ) const

Iterator over the different methods defined by this class.

◆ name()

std::string LIEF::objc::Class::name ( ) const

Name of the class.

◆ properties()

properties_t LIEF::objc::Class::properties ( ) const

Iterator over the properties of this class.

◆ protocols()

protocols_t LIEF::objc::Class::protocols ( ) const

Iterator over the different protocols implemented by this class.

◆ super_class()

std::unique_ptr< Class > LIEF::objc::Class::super_class ( ) const

Parent class in case of inheritance.


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