retdec
|
#include <special_information.h>
Public Member Functions | |
SpecialInformation (std::string desc_, std::string abbv_) | |
Getters | |
std::size_t | getNumberOfStoredValues () const |
std::string | getDescription () const |
std::string | getAbbreviation () const |
std::string | getValue (std::size_t position) const |
void | addValue (std::string value) |
Private Attributes | |
std::string | desc |
description of special information More... | |
std::string | abbv |
abbreviation of desc More... | |
std::vector< std::string > | values |
values of special information More... | |
Class for special information about file.
This information is not part of the file format specification.
retdec::fileinfo::SpecialInformation::SpecialInformation | ( | std::string | desc_, |
std::string | abbv_ | ||
) |
Constructor
desc_ | Description of special information |
abbv_ | Abbreviation of desc_ |
void retdec::fileinfo::SpecialInformation::addValue | ( | std::string | value | ) |
Other methods
Add special information (record)
value | Value of special information |
std::string retdec::fileinfo::SpecialInformation::getAbbreviation | ( | ) | const |
Get abbreviation
std::string retdec::fileinfo::SpecialInformation::getDescription | ( | ) | const |
Get description
std::size_t retdec::fileinfo::SpecialInformation::getNumberOfStoredValues | ( | ) | const |
Get number of stored values
std::string retdec::fileinfo::SpecialInformation::getValue | ( | std::size_t | position | ) | const |
Get value of stored record
position | Position of stored record (0..x) |
|
private |
abbreviation of desc
|
private |
description of special information
|
private |
values of special information