20 #include "qgis_core.h"
41 QString name()
const {
return mName; }
46 QString scope()
const {
return mScope; }
51 QString remarks()
const {
return mRemarks; }
56 QString authority()
const {
return mAuthority; }
61 QString code()
const {
return mCode; }
64 SIP_PYOBJECT __repr__();
67 if ( !sipCpp->code().isEmpty() )
68 id = QStringLiteral(
"%1 (%2:%3)" ).arg( sipCpp->name(), sipCpp->authority(), sipCpp->code() );
71 QString
str = QStringLiteral(
"<QgsDatumEnsembleMember: %1>" ).arg(
id );
72 sipRes = PyUnicode_FromString(
str.toUtf8().constData() );
107 QString
name()
const {
return mName; }
122 QString
code()
const {
return mCode; }
127 QString
scope()
const {
return mScope; }
137 QList< QgsDatumEnsembleMember >
members()
const {
return mMembers; }
140 SIP_PYOBJECT __repr__();
143 if ( !sipCpp->isValid() )
145 str = QStringLiteral(
"<QgsDatumEnsemble: invalid>" );
150 if ( !sipCpp->code().isEmpty() )
151 id = QStringLiteral(
"%1 (%2:%3)" ).arg( sipCpp->name(), sipCpp->authority(), sipCpp->code() );
154 str = QStringLiteral(
"<QgsDatumEnsemble: %1>" ).arg(
id );
156 sipRes = PyUnicode_FromString(
str.toUtf8().constData() );
164 double mAccuracy = 0;
169 QList< QgsDatumEnsembleMember > mMembers;
174 #endif // QGSDATUMS_H