15#ifndef LIEF_DWARF_TYPE_ENUM_H
16#define LIEF_DWARF_TYPE_ENUM_H
39 Entry(std::unique_ptr<details::EnumEntry> impl);
52 std::unique_ptr<details::EnumEntry> impl_;
71 mutable std::unique_ptr<Type> underlying_;
@ ENUM
Definition DWARF/Type.hpp:154
Entry & operator=(Entry &&other) noexcept
Entry(Entry &&other) noexcept
optional< int64_t > value() const
Enum entry's value (if any).
Entry(std::unique_ptr< details::EnumEntry > impl)
std::string name() const
Enum entry's name.
This class represents a DW_TAG_enumeration_type.
Definition DWARF/types/Enum.hpp:31
const Type * underlying_type() const
The underlying type that is used to encode this enum.
optional< Entry > find_entry(int64_t value) const
Try to find the enum matching the given value.
std::vector< Entry > entries() const
Return the different entries associated with this enum.
static bool classof(const Type *type)
Definition DWARF/types/Enum.hpp:64
Definition optional.hpp:23
Definition DWARF/types/ClassLike.hpp:26
Definition DWARF/types/Array.hpp:23
Namespace for the DWARF debug format.
Definition DWARF/CompilationUnit.hpp:28
LIEF namespace.
Definition Abstract/Binary.hpp:40
#define LIEF_API
Definition visibility.h:41