#include <header_plain_getter.h>
Getter for information from file headers
◆ HeaderPlainGetter()
retdec::fileinfo::HeaderPlainGetter::HeaderPlainGetter |
( |
FileInformation & |
fileInfo | ) |
|
Constructor
- Parameters
-
fileInfo | Information about file |
◆ getDllFlags()
void retdec::fileinfo::HeaderPlainGetter::getDllFlags |
( |
std::string & |
title, |
|
|
std::string & |
flags, |
|
|
std::vector< std::string > & |
desc, |
|
|
std::vector< std::string > & |
abbv |
|
) |
| const |
Get DLL flags
- Parameters
-
title | Into this parameter name of flags is stored |
flags | Into this parameter flags are stored |
desc | Vector for save descriptors |
abbv | Vector for save abbreviations of descriptors |
It is guaranteed that the number of stored descriptors and abbreviations are the same
◆ getFileFlags()
void retdec::fileinfo::HeaderPlainGetter::getFileFlags |
( |
std::string & |
title, |
|
|
std::string & |
flags, |
|
|
std::vector< std::string > & |
desc, |
|
|
std::vector< std::string > & |
abbv |
|
) |
| const |
Get file flags
- Parameters
-
title | Into this parameter name of flags is stored |
flags | Into this parameter flags are stored |
desc | Vector for save descriptors |
abbv | Vector for save abbreviations of descriptors |
It is guaranteed that the number of stored descriptors and abbreviations are the same
◆ loadInformation()
std::size_t retdec::fileinfo::HeaderPlainGetter::loadInformation |
( |
std::vector< std::string > & |
desc, |
|
|
std::vector< std::string > & |
info |
|
) |
| const |
|
overridevirtual |
Load information about file
- Parameters
-
desc | Vector for save descriptions of information |
info | Vector 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
Implements retdec::fileinfo::SimpleGetter.
The documentation for this class was generated from the following files:
- /var/cache/acbs/build/acbs.6bu6osb6/retdec/src/fileinfo/file_presentation/getters/simple_getter/header_plain_getter.h
- /var/cache/acbs/build/acbs.6bu6osb6/retdec/src/fileinfo/file_presentation/getters/simple_getter/header_plain_getter.cpp