|
LIEF: Library to Instrument Executable Formats Version 1.0.0
|
This class represents an Objective-C category (e.g. @interface NSString (MyAdditions)). More...
#include <Category.hpp>
Classes | |
| class | Iterator |
Public Types | |
| using | methods_t = iterator_range<Method::Iterator> |
| Iterator for the category's methods. | |
| using | protocols_t = iterator_range<Protocol::Iterator> |
| Iterator for the protocols adopted by this category. | |
| using | properties_t = iterator_range<Property::Iterator> |
| Iterator for the properties declared by this category. | |
Public Member Functions | |
| Category (std::unique_ptr< details::Category > impl) | |
| std::string | name () const |
| Name of the category. | |
| std::string | class_name () const |
| (demangled) name of the class extended by this category | |
| methods_t | methods () const |
| Iterator over the different methods defined by this category. | |
| protocols_t | protocols () const |
| Iterator over the different protocols adopted by this category. | |
| properties_t | properties () const |
| Iterator over the properties of this category. | |
| std::string | to_decl (const DeclOpt &opt=DeclOpt()) const |
| Generate a header-like string for this specific category. | |
| ~Category () | |
This class represents an Objective-C category (e.g. @interface NSString (MyAdditions)).
Iterator for the category's methods.
Iterator for the properties declared by this category.
Iterator for the protocols adopted by this category.
| LIEF::objc::Category::Category | ( | std::unique_ptr< details::Category > | impl | ) |
| LIEF::objc::Category::~Category | ( | ) |
References Category().
| std::string LIEF::objc::Category::class_name | ( | ) | const |
(demangled) name of the class extended by this category
| methods_t LIEF::objc::Category::methods | ( | ) | const |
Iterator over the different methods defined by this category.
References LIEF_LIFETIMEBOUND.
| std::string LIEF::objc::Category::name | ( | ) | const |
Name of the category.
| properties_t LIEF::objc::Category::properties | ( | ) | const |
Iterator over the properties of this category.
References LIEF_LIFETIMEBOUND, and properties().
Referenced by properties().
| protocols_t LIEF::objc::Category::protocols | ( | ) | const |
Iterator over the different protocols adopted by this category.
References LIEF_LIFETIMEBOUND, and protocols().
Referenced by protocols().