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

#include <simple_getter.h>

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

Public Member Functions

 SimpleGetter (FileInformation &fileInfo)
 
virtual std::size_t loadInformation (std::vector< std::string > &desc, std::vector< std::string > &info) const =0
 

Protected Attributes

FileInformationfileinfo
 

Detailed Description

Abstract class for loading information about file

Constructor & Destructor Documentation

◆ SimpleGetter()

retdec::fileinfo::SimpleGetter::SimpleGetter ( FileInformation fileInfo)

Constructor

Parameters
fileInfoInformation about file

Member Function Documentation

◆ loadInformation()

std::size_t retdec::fileinfo::SimpleGetter::loadInformation ( std::vector< std::string > &  desc,
std::vector< std::string > &  info 
) const
pure virtual

Load information about file

Parameters
descVector for save descriptions of information
infoVector for save information about file
Returns
Number of loaded information (this is equal to number of elements in desc and in info)

Before loading information about file, everything from vectors desc and info is deleted

Implemented in retdec::fileinfo::VisualBasicPlainGetter, retdec::fileinfo::PdbPlainGetter, retdec::fileinfo::PdbJsonGetter, retdec::fileinfo::HeaderPlainGetter, retdec::fileinfo::HeaderJsonGetter, retdec::fileinfo::EntryPointJsonGetter, retdec::fileinfo::DotnetPlainGetter, retdec::fileinfo::BasicPlainGetter, and retdec::fileinfo::BasicJsonGetter.

Member Data Documentation

◆ fileinfo

FileInformation& retdec::fileinfo::SimpleGetter::fileinfo
protected

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