retdec
|
#include <tool_info.h>
Public Member Functions | |
const ToolInfo * | getToolByName (const std::string &name) |
const ToolInfo * | getToolWithMaxPercentage () |
const ToolInfo * | getToolMostSignificant () |
bool | isTool (const std::string &name) const |
Tool container query methods. | |
Methods find out it the container contains specific tool using the | |
bool | isGcc () const |
bool | isFasm () const |
bool | isLlvm () const |
bool | isPic32 () const |
bool | isMingw () const |
bool | isDelphi () const |
bool | isWatcom () const |
bool | isIntel () const |
bool | isPspGcc () const |
bool | isBorland () const |
bool | isMsvc (const std::string &version="") const |
bool | isThumbCompiler () const |
Sequential container of tool informations. The order of tools in this container is important. The first one is the most, and the last one the least, significant.
const ToolInfo * retdec::common::ToolInfoContainer::getToolByName | ( | const std::string & | name | ) |
Gets tool with the given name from container. See ToolInfo::isTool()
for more details on name comparison.
nullptr
if tool not found. const ToolInfo * retdec::common::ToolInfoContainer::getToolMostSignificant | ( | ) |
Gets the mosts significant (i.e. first) tool in the container.
nullptr
if container empty. const ToolInfo * retdec::common::ToolInfoContainer::getToolWithMaxPercentage | ( | ) |
Gets tool with the maximal percentage in the container. In case of severel tools with the same percentage, gets the first one.
nullptr
if tool not found. bool retdec::common::ToolInfoContainer::isBorland | ( | ) | const |
bool retdec::common::ToolInfoContainer::isDelphi | ( | ) | const |
bool retdec::common::ToolInfoContainer::isFasm | ( | ) | const |
bool retdec::common::ToolInfoContainer::isGcc | ( | ) | const |
bool retdec::common::ToolInfoContainer::isIntel | ( | ) | const |
bool retdec::common::ToolInfoContainer::isLlvm | ( | ) | const |
bool retdec::common::ToolInfoContainer::isMingw | ( | ) | const |
bool retdec::common::ToolInfoContainer::isMsvc | ( | const std::string & | version = "" | ) | const |
bool retdec::common::ToolInfoContainer::isPic32 | ( | ) | const |
bool retdec::common::ToolInfoContainer::isPspGcc | ( | ) | const |
bool retdec::common::ToolInfoContainer::isThumbCompiler | ( | ) | const |
bool retdec::common::ToolInfoContainer::isTool | ( | const std::string & | name | ) | const |
Finds out if container contains a tool with the given name. See ToolInfo::isTool()
for more details on name comparison.
bool retdec::common::ToolInfoContainer::isWatcom | ( | ) | const |