retdec
Public Member Functions | Protected Attributes | List of all members
retdec::fileinfo::FilePresentation Class Referenceabstract

#include <file_presentation.h>

Inheritance diagram for retdec::fileinfo::FilePresentation:
Inheritance graph
[legend]
Collaboration diagram for retdec::fileinfo::FilePresentation:
Collaboration graph
[legend]

Public Member Functions

 FilePresentation (FileInformation &fileinfo_)
 
virtual ~FilePresentation ()=default
 
virtual bool present ()=0
 

Protected Attributes

FileInformationfileinfo
 class with information about file More...
 
retdec::cpdetect::ReturnCode returnCode
 return code of data member fileinfo More...
 

Detailed Description

General presentation class

Constructor & Destructor Documentation

◆ FilePresentation()

retdec::fileinfo::FilePresentation::FilePresentation ( FileInformation fileinfo_)

Constructor

◆ ~FilePresentation()

virtual retdec::fileinfo::FilePresentation::~FilePresentation ( )
virtualdefault

Member Function Documentation

◆ present()

bool retdec::fileinfo::FilePresentation::present ( )
pure virtual

Present information about file

Returns
true if presentation went OK, false otherwise

Implemented in retdec::fileinfo::PlainPresentation, retdec::fileinfo::JsonPresentation, and retdec::fileinfo::ConfigPresentation.

Member Data Documentation

◆ fileinfo

FileInformation& retdec::fileinfo::FilePresentation::fileinfo
protected

class with information about file

◆ returnCode

retdec::cpdetect::ReturnCode retdec::fileinfo::FilePresentation::returnCode
protected

return code of data member fileinfo


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