#include <dynamic_entry.h>
Class for dynamic entry
Value std::numeric_limits<unsigned long long>::max() mean unspecified value or error for unsigned integer types.
◆ addFlagsDescriptor()
void retdec::fileinfo::DynamicEntry::addFlagsDescriptor |
( |
std::string |
descriptor, |
|
|
std::string |
abbreviation |
|
) |
| |
Add flag descriptor
- Parameters
-
descriptor | Descriptor (full description of flag) |
abbreviation | Abbreviation (short description of flag) |
◆ clearFlagsDescriptors()
void retdec::fileinfo::DynamicEntry::clearFlagsDescriptors |
( |
| ) |
|
Delete all flags descriptors
◆ getDescription()
std::string retdec::fileinfo::DynamicEntry::getDescription |
( |
| ) |
const |
Get description of dynamic entry
- Returns
- Description of dynamic entry
◆ getFlags()
unsigned long long retdec::fileinfo::DynamicEntry::getFlags |
( |
| ) |
const |
Get flags
- Returns
- Flags as number
◆ getFlagsDescriptors()
void retdec::fileinfo::DynamicEntry::getFlagsDescriptors |
( |
std::vector< std::string > & |
desc, |
|
|
std::vector< std::string > & |
abb |
|
) |
| const |
Get flags descriptors and its abbreviations
- Parameters
-
desc | Vector for save descriptors |
abb | Vector for save abbreviations of descriptors |
It is guaranteed that the number of stored descriptors and abbreviations are the same
◆ getFlagsSize()
unsigned long long retdec::fileinfo::DynamicEntry::getFlagsSize |
( |
| ) |
const |
Get number of flags
- Returns
- Number of flags
◆ getFlagsStr()
std::string retdec::fileinfo::DynamicEntry::getFlagsStr |
( |
| ) |
const |
Get flags
- Returns
- Flags as string
◆ getNumberOfFlagsDescriptors()
std::size_t retdec::fileinfo::DynamicEntry::getNumberOfFlagsDescriptors |
( |
| ) |
const |
Get number of flags descriptors
- Returns
- Number of flags descriptors
◆ getType()
std::string retdec::fileinfo::DynamicEntry::getType |
( |
| ) |
const |
Get type of dynamic entry
- Returns
- Type of dynamic entry
◆ getValueStr()
std::string retdec::fileinfo::DynamicEntry::getValueStr |
( |
std::ios_base &(*)(std::ios_base &) |
format | ) |
const |
Get value of dynamic entry
- Parameters
-
format | Format of resulting string (e.g. std::dec, std::hex) |
- Returns
- Value of dynamic entry
◆ setDescription()
void retdec::fileinfo::DynamicEntry::setDescription |
( |
std::string |
desc | ) |
|
Set description of dynamic entry
- Parameters
-
desc | Description of dynamic entry |
◆ setFlags()
void retdec::fileinfo::DynamicEntry::setFlags |
( |
unsigned long long |
flagsValue | ) |
|
Set flags value
- Parameters
-
◆ setFlagsSize()
void retdec::fileinfo::DynamicEntry::setFlagsSize |
( |
unsigned long long |
flagsSize | ) |
|
Set number of flags
- Parameters
-
◆ setType()
void retdec::fileinfo::DynamicEntry::setType |
( |
std::string |
dynType | ) |
|
Set type of dynamic entry
- Parameters
-
dynType | Type of dynamic entry |
◆ setValue()
void retdec::fileinfo::DynamicEntry::setValue |
( |
unsigned long long |
dynValue | ) |
|
Set value of dynamic entry
- Parameters
-
dynValue | Value of dynamic entry |
◆ description
std::string retdec::fileinfo::DynamicEntry::description |
|
private |
◆ flags
Flags retdec::fileinfo::DynamicEntry::flags |
|
private |
◆ type
std::string retdec::fileinfo::DynamicEntry::type |
|
private |
◆ value
unsigned long long retdec::fileinfo::DynamicEntry::value = std::numeric_limits<unsigned long long>::max() |
|
private |
The documentation for this class was generated from the following files:
- /var/cache/acbs/build/acbs.6bu6osb6/retdec/src/fileinfo/file_information/file_information_types/dynamic_section/dynamic_entry.h
- /var/cache/acbs/build/acbs.6bu6osb6/retdec/src/fileinfo/file_information/file_information_types/dynamic_section/dynamic_entry.cpp