|
LIEF: Library to Instrument Executable Formats Version 1.0.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 |
| optional< uint64_t > | size () const |
| Size of the type. This size should match the value of sizeof(...) applied to this type. | |
| optional< std::string > | name () const |
| Type's name (if present). | |
| std::string | to_decl (const DeclOpt &opt=DeclOpt()) const |
| Generates a C/C++ definition for this type. | |
| 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::Structure::classof(), and LIEF::pdb::types::Union::classof().
| optional< uint64_t > LIEF::pdb::Type::size | ( | ) | const |
Size of the type. This size should match the value of sizeof(...) applied to this type.
Generates a C/C++ definition for this type.