LIEF: Library to Instrument Executable Formats Version 0.17.0
|
This is the base class for any PDB type. More...
#include <Type.hpp>
Classes | |
class | Iterator |
Public Types | |
enum class | KIND { UNKNOWN = 0 , CLASS , POINTER , SIMPLE , ENUM , FUNCTION , MODIFIER , BITFIELD , ARRAY , UNION , STRUCTURE , INTERFACE } |
Public Member Functions | |
KIND | kind () const |
template<class T > | |
const T * | as () const |
virtual | ~Type () |
Static Public Member Functions | |
static std::unique_ptr< Type > | create (std::unique_ptr< details::Type > impl) |
This is the base class for any PDB type.
|
strong |
|
virtual |
|
inline |
|
static |
KIND LIEF::pdb::Type::kind | ( | ) | const |
Referenced by LIEF::pdb::types::Array::classof(), LIEF::pdb::types::BitField::classof(), LIEF::pdb::types::Class::classof(), LIEF::pdb::types::Enum::classof(), LIEF::pdb::types::Function::classof(), LIEF::pdb::types::Interface::classof(), LIEF::pdb::types::Modifier::classof(), LIEF::pdb::types::Pointer::classof(), LIEF::pdb::types::Simple::classof(), LIEF::pdb::types::Structure::classof(), and LIEF::pdb::types::Union::classof().