retdec
|
#include <vtable.h>
Public Member Functions | |
Vtable (const retdec::common::Address &a=retdec::common::Address::Undefined) | |
bool | operator< (const Vtable &o) const |
bool | operator== (const Vtable &o) const |
Vtable set methods. | |
void | setAddress (const retdec::common::Address &a) |
void | setName (const std::string &n) |
Vtable get methods. | |
retdec::common::Address | getId () const |
retdec::common::Address | getAddress () const |
std::string | getName () const |
Public Attributes | |
std::set< VtableItem > | items |
Private Attributes | |
std::string | _name |
retdec::common::Address | _address |
Virtual table's address in binary file. More... | |
Represents virtual table. Table's address in binary file is its unique ID.
retdec::common::Vtable::Vtable | ( | const retdec::common::Address & | a = retdec::common::Address::Undefined | ) |
retdec::common::Address retdec::common::Vtable::getAddress | ( | ) | const |
retdec::common::Address retdec::common::Vtable::getId | ( | ) | const |
std::string retdec::common::Vtable::getName | ( | ) | const |
bool retdec::common::Vtable::operator< | ( | const Vtable & | o | ) | const |
Virtual tables are ordered by their addresses in binary file.
bool retdec::common::Vtable::operator== | ( | const Vtable & | o | ) | const |
Two virtual tables are equal if their addresses in binary file are equal.
void retdec::common::Vtable::setAddress | ( | const retdec::common::Address & | a | ) |
void retdec::common::Vtable::setName | ( | const std::string & | n | ) |
|
private |
Virtual table's address in binary file.
|
private |
std::set<VtableItem> retdec::common::Vtable::items |