Abi Class
(ProjectExplorer::Abi)The Abi class represents the Application Binary Interface (ABI) of a target platform. More...
| Header: | #include <Abi> |
Public Types
| enum | Architecture { ArmArchitecture, X86Architecture, ItaniumArchitecture, MipsArchitecture, ..., UnknownArchitecture } |
| enum | BinaryFormat { ElfFormat, MachOFormat, PEFormat, RuntimeQmlFormat, UnknownFormat } |
| enum | OS { BsdOS, LinuxOS, DarwinOS, UnixOS, ..., UnknownOS } |
| enum | OSFlavor { FreeBsdFlavor, NetBsdFlavor, OpenBsdFlavor, AndroidLinuxFlavor, ..., UnknownFlavor } |
Public Functions
| Abi(const Architecture &a = UnknownArchitecture, const OS &o = UnknownOS, const OSFlavor &so = UnknownFlavor, const BinaryFormat &f = UnknownFormat, unsigned char w = 0) | |
| Architecture | architecture() const |
| BinaryFormat | binaryFormat() const |
| bool | isCompatibleWith(const Abi &other) const |
| bool | isNull() const |
| bool | isValid() const |
| OS | os() const |
| OSFlavor | osFlavor() const |
| QString | toString() const |
| unsigned char | wordWidth() const |
| bool | operator!=(const Abi &other) const |
| bool | operator==(const Abi &other) const |
Static Public Members
| Abi | abiFromTargetTriplet(const QString &machineTriple) |
| Utils::OsType | abiOsToOsType(const OS os) |
| QList<Abi> | abisOfBinary(const Utils::FileName &path) |
| QList<OSFlavor> | allOsFlavors() |
| Architecture | architectureFromString(const QStringRef &a) |
| BinaryFormat | binaryFormatFromString(const QStringRef &bf) |
| OSFlavor | flavorForMsvcVersion(int version) |
| QList<OSFlavor> | flavorsForOs(const OS &o) |
| Abi | fromString(const QString &abiString) |
| Abi | hostAbi() |
| OSFlavor | osFlavorFromString(const QStringRef &of, const OS os) |
| OS | osFromString(const QStringRef &o) |
| bool | osSupportsFlavor(const OS &os, const OSFlavor &flavor) |
| OSFlavor | registerOsFlavor(const std::vector<OS> &oses, const QString &flavorName) |
| QString | toString(const Architecture &a) |
| QString | toString(const OS &o) |
| QString | toString(const OSFlavor &of) |
| QString | toString(const BinaryFormat &bf) |
| QString | toString(int w) |
| unsigned char | wordWidthFromString(const QStringRef &w) |
Detailed Description
The Abi class represents the Application Binary Interface (ABI) of a target platform.
See also ProjectExplorer::ToolChain.
Member Type Documentation
enum Abi::Architecture
enum Abi::BinaryFormat
enum Abi::OS
enum Abi::OSFlavor
Member Function Documentation
Abi::Abi(const Architecture &a = UnknownArchitecture, const OS &o = UnknownOS, const OSFlavor &so = UnknownFlavor, const BinaryFormat &f = UnknownFormat, unsigned char w = 0)
Default constructs an instance of Abi.