LIEF: Library to Instrument Executable Formats Version 0.15.1
Loading...
Searching...
No Matches
LIEF::PE::GenericContent Class Reference

#include <GenericContent.hpp>

Inheritance diagram for LIEF::PE::GenericContent:
Collaboration diagram for LIEF::PE::GenericContent:

Public Member Functions

 GenericContent ()
 
 GenericContent (oid_t oid)
 
 GenericContent (const GenericContent &)=default
 
GenericContentoperator= (const GenericContent &)=default
 
std::unique_ptr< Contentclone () const override
 
const oid_toid () const
 
span< const uint8_t > raw () const
 
span< uint8_t > raw ()
 
 ~GenericContent () override
 
void print (std::ostream &os) const override
 
void accept (Visitor &visitor) const override
 
- Public Member Functions inherited from LIEF::PE::ContentInfo::Content
 Content (oid_t oid)
 
const oid_tcontent_type () const
 
 ~Content () override=default
 
- Public Member Functions inherited from LIEF::Object
 Object ()
 
 Object (const Object &other)
 
Objectoperator= (const Object &other)
 
template<class T >
output_t< T > as ()
 
template<class T >
output_const_t< T > as () const
 
virtual bool operator== (const Object &other) const
 
virtual bool operator!= (const Object &other) const
 
virtual ~Object ()
 

Static Public Member Functions

static bool classof (const ContentInfo::Content *content)
 

Additional Inherited Members

- Public Types inherited from LIEF::Object
template<class T >
using output_t = add_pointer_t<decay_t<T>>
 
template<class T >
using output_const_t = add_pointer_t<add_const_t<decay_t<T>>>
 

Constructor & Destructor Documentation

◆ GenericContent() [1/3]

LIEF::PE::GenericContent::GenericContent ( )

◆ GenericContent() [2/3]

LIEF::PE::GenericContent::GenericContent ( oid_t oid)

◆ GenericContent() [3/3]

LIEF::PE::GenericContent::GenericContent ( const GenericContent & )
default

◆ ~GenericContent()

LIEF::PE::GenericContent::~GenericContent ( )
override

Member Function Documentation

◆ accept()

void LIEF::PE::GenericContent::accept ( Visitor & visitor) const
overridevirtual

Implements LIEF::Object.

◆ classof()

static bool LIEF::PE::GenericContent::classof ( const ContentInfo::Content * content)
static

◆ clone()

std::unique_ptr< Content > LIEF::PE::GenericContent::clone ( ) const
inlineoverridevirtual

◆ oid()

const oid_t & LIEF::PE::GenericContent::oid ( ) const
inline

◆ operator=()

GenericContent & LIEF::PE::GenericContent::operator= ( const GenericContent & )
default

◆ print()

void LIEF::PE::GenericContent::print ( std::ostream & os) const
overridevirtual

◆ raw() [1/2]

span< uint8_t > LIEF::PE::GenericContent::raw ( )
inline

◆ raw() [2/2]

span< const uint8_t > LIEF::PE::GenericContent::raw ( ) const
inline

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