LIEF: Library to Instrument Executable Formats Version 0.16.0
Loading...
Searching...
No Matches
LIEF::PE::ContentInfo::Content Class Referenceabstract

#include <ContentInfo.hpp>

Inheritance diagram for LIEF::PE::ContentInfo::Content:
Collaboration diagram for LIEF::PE::ContentInfo::Content:

Public Member Functions

 Content (oid_t oid)
 
const oid_tcontent_type () const
 
virtual std::unique_ptr< Contentclone () const =0
 
virtual void print (std::ostream &os) const =0
 
template<class T >
const T * cast () const
 
template<class T >
T * cast ()
 
 ~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 ()
 
virtual void accept (Visitor &visitor) const =0
 

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

◆ Content()

LIEF::PE::ContentInfo::Content::Content ( oid_t oid)
inline

◆ ~Content()

LIEF::PE::ContentInfo::Content::~Content ( )
overridedefault

Member Function Documentation

◆ cast() [1/2]

template<class T >
T * LIEF::PE::ContentInfo::Content::cast ( )
inline

◆ cast() [2/2]

template<class T >
const T * LIEF::PE::ContentInfo::Content::cast ( ) const
inline

◆ clone()

virtual std::unique_ptr< Content > LIEF::PE::ContentInfo::Content::clone ( ) const
pure virtual

◆ content_type()

const oid_t & LIEF::PE::ContentInfo::Content::content_type ( ) const
inline

◆ print()

virtual void LIEF::PE::ContentInfo::Content::print ( std::ostream & os) const
pure virtual

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