15#ifndef LIEF_DWARF_EDITOR_ENUM_TYPE_H
16#define LIEF_DWARF_EDITOR_ENUM_TYPE_H
40 Value(std::unique_ptr<details::EnumValue> impl);
44 std::unique_ptr<details::EnumValue> impl_;
52 std::unique_ptr<Value>
add_value(
const std::string& name, int64_t value);
Value(std::unique_ptr< details::EnumValue > impl)
This class represents an editable enum type (DW_TAG_enumeration_type).
Definition EnumType.hpp:32
EnumType & set_size(uint64_t size)
Define the number of bytes required to hold an instance of the enumeration (DW_AT_byte_size).
~EnumType() override=default
static bool classof(const Type *type)
std::unique_ptr< Value > add_value(const std::string &name, int64_t value)
Add an enum value by specifying its name and its integer value.
Definition DWARF/editor/CompilationUnit.hpp:36
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