15#ifndef LIEF_OBJC_CLASS_H
16#define LIEF_OBJC_CLASS_H
58 template <
typename RefT>
91 return static_cast<const Iterator*
>(
this)->
operator*();
95 std::unique_ptr<details::ClassIt> impl_;
111 Class(std::unique_ptr<details::Class> impl);
143 std::unique_ptr<details::Class> impl_;
Definition iterators.hpp:486
Definition ObjC/Class.hpp:49
pointer operator->() const
Definition ObjC/Class.hpp:53
friend class Iterator
Definition ObjC/Class.hpp:51
std::unique_ptr< Class > operator*() const
details::ClassIt implementation
Definition ObjC/Class.hpp:47
Iterator operator--(int)
Definition ObjC/Class.hpp:76
PointerProxy operator->() const
Definition ObjC/Class.hpp:90
std::unique_ptr< Class > & reference
Definition ObjC/Class.hpp:46
Iterator(const Iterator &)
std::ptrdiff_t difference_type
Definition ObjC/Class.hpp:44
Iterator operator++(int)
Definition ObjC/Class.hpp:82
std::bidirectional_iterator_tag iterator_category
Definition ObjC/Class.hpp:42
Class * pointer
Definition ObjC/Class.hpp:45
Iterator(Iterator &&) noexcept
std::unique_ptr< Class > value_type
Definition ObjC/Class.hpp:43
This class represents an Objective-C class (@interface).
Definition ObjC/Class.hpp:38
iterator_range< Method::Iterator > methods_t
Iterator for the class's method.
Definition ObjC/Class.hpp:100
std::string name() const
Name of the class.
properties_t properties() const
Iterator over the properties of this class.
Class(std::unique_ptr< details::Class > impl)
std::string to_decl(const DeclOpt &opt=DeclOpt()) const
Generate a header-like string for this specific class.
std::unique_ptr< Class > super_class() const
Parent class in case of inheritance.
iterator_range< Property::Iterator > properties_t
Iterator for the properties declared by this class.
Definition ObjC/Class.hpp:106
ivars_t ivars() const
Iterator over the different instance variables defined in this class.
iterator_range< Protocol::Iterator > protocols_t
Iterator for the protocols implemented by this class.
Definition ObjC/Class.hpp:103
iterator_range< IVar::Iterator > ivars_t
Iterator for the instance variables defined by this class.
Definition ObjC/Class.hpp:109
methods_t methods() const
Iterator over the different methods defined by this class.
std::string demangled_name() const
Demangled name of the class.
protocols_t protocols() const
Iterator over the different protocols implemented by this class.
Definition ObjC/Class.hpp:32
Namespace related to ObjC metadata.
Definition MachO/Binary.hpp:41
LIEF namespace.
Definition Abstract/Binary.hpp:40
This structure wraps options to tweak the generated output of functions like LIEF::objc::Metadata::to...
Definition DeclOpt.hpp:22
#define LIEF_API
Definition visibility.h:41