15#ifndef LIEF_PDB_TYPE_ATTRIBUTE_H
16#define LIEF_PDB_TYPE_ATTRIBUTE_H
55 template <
typename RefT>
60 Iterator(std::unique_ptr<details::AttributeIt> impl);
79 return static_cast<const Iterator*
>(
this)->
operator*();
83 std::unique_ptr<details::AttributeIt> impl_;
86 Attribute(std::unique_ptr<details::Attribute> impl);
92 std::unique_ptr<Type>
type()
const;
100 std::unique_ptr<details::Attribute> impl_;
Definition PDB/types/Attribute.hpp:46
pointer operator->() const
Definition PDB/types/Attribute.hpp:50
Definition PDB/types/Attribute.hpp:37
std::ptrdiff_t difference_type
Definition PDB/types/Attribute.hpp:41
std::forward_iterator_tag iterator_category
Definition PDB/types/Attribute.hpp:39
details::AttributeIt implementation
Definition PDB/types/Attribute.hpp:44
std::unique_ptr< Attribute > operator*() const
Iterator(const Iterator &)
std::unique_ptr< Attribute > value_type
Definition PDB/types/Attribute.hpp:40
Iterator operator++(int)
Definition PDB/types/Attribute.hpp:70
Iterator(Iterator &&) noexcept
PointerProxy operator->() const
Definition PDB/types/Attribute.hpp:78
This class represents an attribute (LF_MEMBER) in an aggregate (class, struct, union,...
Definition PDB/types/Attribute.hpp:35
std::unique_ptr< Type > type() const
Type of this attribute.
std::string name() const
Name of the attribute.
Attribute(std::unique_ptr< details::Attribute > impl)
uint64_t field_offset() const
Offset of this attribute in the aggregate.
LIEF namespace.
Definition Abstract/Binary.hpp:32
#define LIEF_API
Definition visibility.h:41