retdec
|
#include <data_directory.h>
Public Member Functions | |
Getters | |
std::string | getType () const |
std::string | getAddressStr (std::ios_base &(*format)(std::ios_base &)) const |
std::string | getSizeStr (std::ios_base &(*format)(std::ios_base &)) const |
Setters | |
void | setType (std::string dirType) |
void | setAddress (unsigned long long dirAddr) |
void | setSize (unsigned long long dirSize) |
Private Attributes | |
std::string | type |
type of directory More... | |
unsigned long long | address = std::numeric_limits<unsigned long long>::max() |
address in memory More... | |
unsigned long long | size = std::numeric_limits<unsigned long long>::max() |
size of directory More... | |
Class for save information about data directory.
Value std::numeric_limits<unsigned long long>::max() mean unspecified value or error for unsigned integer types.
std::string retdec::fileinfo::DataDirectory::getAddressStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Get start address (in memory) of directory
format | Format of resulting string (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::DataDirectory::getSizeStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Get size of directory
std::string retdec::fileinfo::DataDirectory::getType | ( | ) | const |
Get type (description) of directory
void retdec::fileinfo::DataDirectory::setAddress | ( | unsigned long long | dirAddr | ) |
Set start address of directory
dirAddr | Start address of directory |
void retdec::fileinfo::DataDirectory::setSize | ( | unsigned long long | dirSize | ) |
Set size of directory
dirSize | Size of directory |
void retdec::fileinfo::DataDirectory::setType | ( | std::string | dirType | ) |
Set type (description) of directory
dirType | Type of directory |
|
private |
address in memory
|
private |
size of directory
|
private |
type of directory