LIEF: Library to Instrument Executable Formats Version 0.16.0
Loading...
Searching...
No Matches
LIEF::pdb::types::Structure Class Reference

Interface for the LF_STRUCTURE PDB type. More...

#include <ClassLike.hpp>

Inheritance diagram for LIEF::pdb::types::Structure:
Collaboration diagram for LIEF::pdb::types::Structure:

Public Member Functions

 ~Structure () override
 
- Public Member Functions inherited from LIEF::pdb::types::ClassLike
std::string unique_name () const
 Mangled type name.
 
std::string name () const
 Demangled type name.
 
attributes_iterator attributes () const
 Iterator over the different attributes defined in this class-like type.
 
methods_iterator methods () const
 Iterator over the different methods implemented in this class-type type.
 
uint64_t size () const
 Size of the type including all its attributes. This size should match the sizeof(...) this type.
 
 ~ClassLike () override
 
- Public Member Functions inherited from LIEF::pdb::Type
KIND kind () const
 
template<class T >
const T * as () const
 
virtual ~Type ()
 

Static Public Member Functions

static bool classof (const Type *type)
 
- Static Public Member Functions inherited from LIEF::pdb::types::ClassLike
template<class T >
static bool classof (const T *, typename std::enable_if< std::is_base_of< ClassLike, T >::value >::type *=0)
 
- Static Public Member Functions inherited from LIEF::pdb::Type
static std::unique_ptr< Typecreate (std::unique_ptr< details::Type > impl)
 

Additional Inherited Members

- Public Types inherited from LIEF::pdb::types::ClassLike
using attributes_iterator = iterator_range<Attribute::Iterator>
 Attributes iterator.
 
using methods_iterator = iterator_range<Method::Iterator>
 Methods iterator.
 
- Public Types inherited from LIEF::pdb::Type
enum class  KIND {
  UNKNOWN = 0 , CLASS , POINTER , SIMPLE ,
  ENUM , FUNCTION , MODIFIER , BITFIELD ,
  ARRAY , UNION , STRUCTURE , INTERFACE
}
 

Detailed Description

Interface for the LF_STRUCTURE PDB type.

Constructor & Destructor Documentation

◆ ~Structure()

LIEF::pdb::types::Structure::~Structure ( )
override

Member Function Documentation

◆ classof()

static bool LIEF::pdb::types::Structure::classof ( const Type * type)
inlinestatic

The documentation for this class was generated from the following file: