PROJ C++ API
|
The scope and validity of a CRS-related object. More...
#include <common.hpp>
Public Member Functions | |
const util::optional< std::string > & | scope () PROJ_CONST_DECL |
Return the scope. More... | |
const metadata::ExtentPtr & | domainOfValidity () PROJ_CONST_DECL |
Return the domain of validity. More... | |
bool | isEquivalentTo (const util::IComparable *other, util::IComparable::Criterion criterion=util::IComparable::Criterion::STRICT) const override |
Returns whether an object is equivalent to another one. More... | |
Static Public Member Functions | |
static ObjectDomainNNPtr | create (const util::optional< std::string > &scopeIn, const metadata::ExtentPtr &extent) |
Instanciate a ObjectDomain. | |
Additional Inherited Members | |
![]() | |
enum | Criterion { Criterion::STRICT, Criterion::EQUIVALENT } |
Comparison criterion. More... | |
The scope and validity of a CRS-related object.
const ExtentPtr & osgeo::proj::common::ObjectDomain::domainOfValidity | ( | ) |
Return the domain of validity.
|
overridevirtual |
Returns whether an object is equivalent to another one.
other | other object to compare to |
criterion | comparaison criterion. |
Implements osgeo::proj::util::IComparable.
const optional< std::string > & osgeo::proj::common::ObjectDomain::scope | ( | ) |
Return the scope.