#include <dynamic_table.h>
◆ dynamicTableIterator
◆ addRecord()
void retdec::fileformat::DynamicTable::addRecord |
( |
DynamicEntry & |
record | ) |
|
Add new record
- Parameters
-
record | Record which will be added |
◆ begin()
Get begin of records
- Returns
- Begin of dynamic table records
◆ clear()
void retdec::fileformat::DynamicTable::clear |
( |
| ) |
|
Delete all records from table
◆ dump()
void retdec::fileformat::DynamicTable::dump |
( |
std::string & |
dumpTable | ) |
const |
Dump information about dynamic table
- Parameters
-
dumpTable | Into this parameter is stored dump of dynamic table in an LLVM style |
◆ end()
Get end of records
- Returns
- End of dynamic table records
◆ getNumberOfRecords()
std::size_t retdec::fileformat::DynamicTable::getNumberOfRecords |
( |
| ) |
const |
Get number of records in table
- Returns
- Number of records in table
◆ getRecord()
const DynamicEntry * retdec::fileformat::DynamicTable::getRecord |
( |
std::size_t |
recordIndex | ) |
const |
Get record from table
- Parameters
-
recordIndex | Index of record in table (indexed from 0) |
- Returns
- Pointer to selected record or
nullptr
if index of record is incorrect
◆ getRecordOfType()
const DynamicEntry * retdec::fileformat::DynamicTable::getRecordOfType |
( |
unsigned long long |
recordType | ) |
const |
Get record of specified type from table
- Parameters
-
recordType | Required type of record |
- Returns
- Pointer to first record from table which have type equal to recordType, or
nullptr
if such record does not exist
◆ getSectionName()
const std::string & retdec::fileformat::DynamicTable::getSectionName |
( |
| ) |
const |
Get name of the section/segment this dynamic table was created from.
- Returns
- Section/segment name.
◆ hasRecordOfType()
bool retdec::fileformat::DynamicTable::hasRecordOfType |
( |
unsigned long long |
recordType | ) |
const |
Check if record with type recordType is present in table
- Parameters
-
- Returns
true
if has record with type recordType, false
otherwise
◆ hasRecords()
bool retdec::fileformat::DynamicTable::hasRecords |
( |
| ) |
const |
Find out if there are any records
- Returns
true
if there are some records, false
otherwise
◆ setSectionName()
void retdec::fileformat::DynamicTable::setSectionName |
( |
const std::string & |
name | ) |
|
Set name of the section/segment this table was created from.
- Parameters
-
name | Section/segment name. |
◆ sectionName
std::string retdec::fileformat::DynamicTable::sectionName |
|
private |
Name of the section this table was created from.
◆ table
std::vector<DynamicEntry> retdec::fileformat::DynamicTable::table |
|
private |
The documentation for this class was generated from the following files:
- /var/cache/acbs/build/acbs.6bu6osb6/retdec/include/retdec/fileformat/types/dynamic_table/dynamic_table.h
- /var/cache/acbs/build/acbs.6bu6osb6/retdec/src/fileformat/types/dynamic_table/dynamic_table.cpp