#include <language.h>
Represents input binary's language. Language's name is its unique ID.
◆ Language() [1/2]
retdec::common::Language::Language |
( |
| ) |
|
◆ Language() [2/2]
retdec::common::Language::Language |
( |
const std::string & |
langName | ) |
|
◆ getModuleCount()
unsigned retdec::common::Language::getModuleCount |
( |
| ) |
const |
◆ getName()
std::string retdec::common::Language::getName |
( |
| ) |
const |
◆ isBytecode()
bool retdec::common::Language::isBytecode |
( |
| ) |
const |
◆ isKnown()
bool retdec::common::Language::isKnown |
( |
| ) |
const |
◆ isModuleCountSet()
bool retdec::common::Language::isModuleCountSet |
( |
| ) |
const |
◆ isUnknown()
bool retdec::common::Language::isUnknown |
( |
| ) |
const |
◆ operator<()
bool retdec::common::Language::operator< |
( |
const Language & |
val | ) |
const |
Less-than comparison of this instance with the provided one. Default string comparison of name
members is used.
- Parameters
-
val | Other language to compare with. |
- Returns
- True if
this
instance is considered to be less-than val
.
◆ operator==()
bool retdec::common::Language::operator== |
( |
const Language & |
val | ) |
const |
Languages are equal if their names are equal.
◆ setIsBytecode()
void retdec::common::Language::setIsBytecode |
( |
bool |
b | ) |
|
◆ setIsUnknown()
void retdec::common::Language::setIsUnknown |
( |
| ) |
|
◆ setModuleCount()
void retdec::common::Language::setModuleCount |
( |
unsigned |
c | ) |
|
◆ setName()
void retdec::common::Language::setName |
( |
const std::string & |
n | ) |
|
◆ _bytecode
bool retdec::common::Language::_bytecode = false |
|
private |
◆ _moduleCount
int retdec::common::Language::_moduleCount = -1 |
|
private |
◆ _name
std::string retdec::common::Language::_name |
|
private |
The documentation for this class was generated from the following files:
- /var/cache/acbs/build/acbs.6bu6osb6/retdec/include/retdec/common/language.h
- /var/cache/acbs/build/acbs.6bu6osb6/retdec/src/common/language.cpp