LIEF: Library to Instrument Executable Formats Version 0.17.0
|
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< Class > | super_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. | |
std::string | to_decl (const DeclOpt &opt=DeclOpt()) const |
Generate a header-like string for this specific class. | |
~Class () | |
This class represents an Objective-C class (@interface
)
Iterator for the instance variables defined by this class.
Iterator for the class's method.
Iterator for the properties declared by this class.
Iterator for the protocols implemented by this class.
LIEF::objc::Class::Class | ( | std::unique_ptr< details::Class > | impl | ) |
LIEF::objc::Class::~Class | ( | ) |
std::string LIEF::objc::Class::demangled_name | ( | ) | const |
Demangled name of the class.
bool LIEF::objc::Class::is_meta | ( | ) | const |
ivars_t LIEF::objc::Class::ivars | ( | ) | const |
Iterator over the different instance variables defined in this class.
methods_t LIEF::objc::Class::methods | ( | ) | const |
Iterator over the different methods defined by this class.
std::string LIEF::objc::Class::name | ( | ) | const |
Name of the class.
properties_t LIEF::objc::Class::properties | ( | ) | const |
Iterator over the properties of this class.
protocols_t LIEF::objc::Class::protocols | ( | ) | const |
Iterator over the different protocols implemented by this class.
std::unique_ptr< Class > LIEF::objc::Class::super_class | ( | ) | const |
Parent class in case of inheritance.
Generate a header-like string for this specific class.
The generated output can be configured with DeclOpt