Class which represent a DEX Field.
More...
#include <Field.hpp>
|
using | access_flags_list_t = std::vector<ACCESS_FLAGS> |
|
template<class T > |
using | output_t = add_pointer_t<decay_t<T>> |
|
template<class T > |
using | output_const_t = add_pointer_t<add_const_t<decay_t<T>>> |
|
|
| Field (std::string name, Class *parent=nullptr) |
|
| Field (const Field &) |
|
Field & | operator= (const Field &) |
|
const std::string & | name () const |
| Name of the Field.
|
|
bool | has_class () const |
| True if a class is associated with this field (which should be the case)
|
|
const Class * | cls () const |
| Class associated with this Field.
|
|
Class * | cls () |
|
size_t | index () const |
| Index in the DEX Fields pool.
|
|
bool | is_static () const |
| True if this field is a static one.
|
|
const Type * | type () const |
| Field's prototype.
|
|
Type * | type () |
|
void | accept (Visitor &visitor) const override |
|
bool | has (ACCESS_FLAGS f) const |
| Check if the field has the given ACCESS_FLAGS.
|
|
access_flags_list_t | access_flags () const |
| ACCESS_FLAGS as a list.
|
|
| Object (const Object &other) |
|
Object & | operator= (const Object &other) |
|
template<class T > |
output_t< T > | as () |
|
template<class T > |
output_const_t< T > | as () const |
|
virtual bool | operator== (const Object &other) const |
|
virtual bool | operator!= (const Object &other) const |
|
Class which represent a DEX Field.
◆ accept()
void LIEF::DEX::Field::accept |
( |
Visitor & | visitor | ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following file: