PROJ C++ API
|
Time period covered by the content of the dataset. More...
#include <metadata.hpp>
Public Member Functions | |
const std::string & | start () PROJ_CONST_DECL |
Returns the start of the temporal extent. | |
const std::string & | stop () PROJ_CONST_DECL |
Returns the end of the temporal extent. | |
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... | |
bool | contains (const TemporalExtentNNPtr &other) const |
Returns whether this extent contains the other one. | |
bool | intersects (const TemporalExtentNNPtr &other) const |
Returns whether this extent intersects the other one. | |
Static Public Member Functions | |
static TemporalExtentNNPtr | create (const std::string &start, const std::string &stop) |
Instanciate a TemporalExtent. More... | |
Additional Inherited Members | |
![]() | |
enum | Criterion { Criterion::STRICT, Criterion::EQUIVALENT } |
Comparison criterion. More... | |
Time period covered by the content of the dataset.
|
static |
|
overridevirtual |
Returns whether an object is equivalent to another one.
other | other object to compare to |
criterion | comparaison criterion. |
Implements osgeo::proj::util::IComparable.