Go to the documentation of this file.
15#ifndef LIEF_DWARF_TYPE_ARRAY_H
16#define LIEF_DWARF_TYPE_ARRAY_H
29 struct size_info_t { std::unique_ptr<Type> type =
nullptr;
43 operator bool()
const {
49 return type->
kind() == Type::KIND::ARRAY;
56 return underlying_type();
60 return *underlying_type();
72 mutable std::unique_ptr<Type> underlying_;
This class represents a DW_TAG_array_type
Definition DWARF/types/Array.hpp:26
const Type * underlying_type() const
The underlying type of this array.
const Type * operator->() const
Definition DWARF/types/Array.hpp:55
size_info_t size_info() const
Return information about the size of this array.
static bool classof(const Type *type)
Definition DWARF/types/Array.hpp:48
const Type & operator*() const
Definition DWARF/types/Array.hpp:59
Definition DWARF/types/Array.hpp:23
Namespace for the DWARF debug format.
Definition DWARF/CompilationUnit.hpp:28
LIEF namespace.
Definition Abstract/Binary.hpp:36
#define LIEF_API
Definition visibility.h:41