15#ifndef LIEF_PDB_TYPE_CLASS_H
16#define LIEF_PDB_TYPE_CLASS_H
59 static bool classof(
const T*,
typename std::enable_if<std::is_base_of<ClassLike, T>::value>::type* = 0)
71 using ClassLike::ClassLike;
83 using ClassLike::ClassLike;
95 using ClassLike::ClassLike;
Definition iterators.hpp:486
@ INTERFACE
Definition PDB/Type.hpp:95
@ STRUCTURE
Definition PDB/Type.hpp:94
@ CLASS
Definition PDB/Type.hpp:85
This class abstracts the following PDB types: LF_STRUCTURE, LF_INTERFACE, LF_CLASS or LF_UNION.
Definition PDB/types/ClassLike.hpp:32
uint64_t size() const
Size of the type including all its attributes. This size should match the sizeof(....
iterator_range< Method::Iterator > methods_iterator
Methods iterator.
Definition PDB/types/ClassLike.hpp:40
methods_iterator methods() const
Iterator over the different methods implemented in this class-type type.
static bool classof(const T *, typename std::enable_if< std::is_base_of< ClassLike, T >::value >::type *=0)
Definition PDB/types/ClassLike.hpp:59
iterator_range< Attribute::Iterator > attributes_iterator
Attributes iterator.
Definition PDB/types/ClassLike.hpp:37
std::string unique_name() const
Mangled type name.
attributes_iterator attributes() const
Iterator over the different attributes defined in this class-like type.
std::string name() const
Demangled type name.
Interface for the LF_CLASS PDB type.
Definition PDB/types/ClassLike.hpp:81
static bool classof(const Type *type)
Definition PDB/types/ClassLike.hpp:85
Interface for the LF_INTERFACE PDB type.
Definition PDB/types/ClassLike.hpp:93
static bool classof(const Type *type)
Definition PDB/types/ClassLike.hpp:97
Interface for the LF_STRUCTURE PDB type.
Definition PDB/types/ClassLike.hpp:69
static bool classof(const Type *type)
Definition PDB/types/ClassLike.hpp:73
Definition PDB/types/Array.hpp:23
Definition BuildMetadata.hpp:24
LIEF namespace.
Definition Abstract/Binary.hpp:40
#define LIEF_API
Definition visibility.h:41