QGIS/python/core/auto_generated/proj/qgsprojoperation.sip.in
Nyall Dawson 3f6b490218 Sipify
2025-04-02 11:11:10 +10:00

68 lines
1.8 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/core/proj/qgsprojoperation.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
class QgsProjOperation
{
%Docstring(signature="appended")
Contains information about a PROJ operation.
.. versionadded:: 3.20
%End
%TypeHeaderCode
#include "qgsprojoperation.h"
%End
public:
bool isValid() const;
%Docstring
Returns ``True`` if the body is a valid object, or ``False`` if it is a
null/invalid object.
%End
QString id() const;
%Docstring
ID of operation.
%End
QString description() const;
%Docstring
Description.
%End
QString details() const;
%Docstring
Additional details.
%End
SIP_PYOBJECT __repr__();
%MethodCode
QString str;
if ( !sipCpp->isValid() )
{
str = QStringLiteral( "<QgsProjOperation: invalid>" );
}
else
{
str = QStringLiteral( "<QgsProjOperation: %1>" ).arg( sipCpp->id() );
}
sipRes = PyUnicode_FromString( str.toUtf8().constData() );
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/proj/qgsprojoperation.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/