GammaRay API Documentation  2.11.0
Public Member Functions | Static Public Member Functions | List of all members
GammaRay::ProbeABI Class Reference

Describes a probe ABI. More...

#include <probeabi.h>

Public Member Functions

 ProbeABI (const ProbeABI &other)
 
QString architecture () const
 Processor architecture. More...
 
QString compiler () const
 Compiler ABI is currently only relevant for MSVC vs. More...
 
QString compilerVersion () const
 The compiler ABI version is currently only relevant for MSVC.
 
QString displayString () const
 User-visible name of this ABI. More...
 
bool hasQtVersion () const
 
QString id () const
 Conversion from and to probe ABI identifiers. More...
 
bool isCompatible (const ProbeABI &referenceABI) const
 Checks if this is ABI is compatible with referenceABI. More...
 
bool isDebug () const
 Debug vs. More...
 
bool isDebugRelevant () const
 Returns true if debug vs. More...
 
bool isValid () const
 Returns if this probe ABI is fully specified. More...
 
bool isVersionRelevant () const
 Returns true if the version is changing the ABI. More...
 
int majorQtVersion () const
 Qt version. More...
 
int minorQtVersion () const
 
bool operator< (const ProbeABI &rhs) const
 Orders probes by Qt version. More...
 
ProbeABIoperator= (const ProbeABI &other)
 
bool operator== (const ProbeABI &rhs) const
 
void setArchitecture (const QString &architecture)
 
void setCompiler (const QString &compiler)
 
void setCompilerVersion (const QString &compilerVersion)
 
void setIsDebug (bool debug)
 
void setQtVersion (int major, int minor)
 

Static Public Member Functions

static ProbeABI fromString (const QString &id)
 

Detailed Description

Describes a probe ABI.

The probe ABI is everything that determines if a probe is compatible with a given target or not.

Member Function Documentation

QString GammaRay::ProbeABI::architecture ( ) const

Processor architecture.

QString GammaRay::ProbeABI::compiler ( ) const

Compiler ABI is currently only relevant for MSVC vs.

Mingw.

QString GammaRay::ProbeABI::displayString ( ) const

User-visible name of this ABI.

QString GammaRay::ProbeABI::id ( ) const

Conversion from and to probe ABI identifiers.

bool GammaRay::ProbeABI::isCompatible ( const ProbeABI referenceABI) const

Checks if this is ABI is compatible with referenceABI.

bool GammaRay::ProbeABI::isDebug ( ) const

Debug vs.

release.

bool GammaRay::ProbeABI::isDebugRelevant ( ) const

Returns true if debug vs.

release is changing the ABI.

bool GammaRay::ProbeABI::isValid ( ) const

Returns if this probe ABI is fully specified.

bool GammaRay::ProbeABI::isVersionRelevant ( ) const

Returns true if the version is changing the ABI.

int GammaRay::ProbeABI::majorQtVersion ( ) const

Qt version.

bool GammaRay::ProbeABI::operator< ( const ProbeABI rhs) const

Orders probes by Qt version.

This is useful to pick the best matching one of multiple compatible ones.


Klarälvdalens Datakonsult AB (KDAB)
"The Qt Experts"
https://www.kdab.com/
GammaRay
Qt-application inspection and manipulation tool
https://www.kdab.com/gammaray/