OTB
9.0.0
Orfeo Toolbox
|
#include <otbDateTime.h>
Public Types | |
using | InternalDurationType = details::InternalDurationType |
Public Member Functions | |
std::ostream & | Display (std::ostream &os) const |
Duration ()=default | |
Duration (InternalDurationType const &d) | |
InternalDurationType::rep | NumberOfTicks () const |
std::istream & | Read (std::istream &is) |
double | TotalSeconds () const |
Static Public Member Functions | |
static Duration | Microseconds (double us) |
static Duration | Milliseconds (double ms) |
static Duration | Nanoseconds (double ns) |
static Duration | Seconds (double s) |
Private Attributes | |
InternalDurationType | m_Duration |
Friends | |
OTBMetadata_EXPORT Duration | Abs (Duration d) |
Duration & | operator*= (Duration &u, double v) |
Duration & | operator+= (Duration &u, Duration const &v) |
TimePoint & | operator+= (TimePoint &u, Duration const &v) |
Duration & | operator-= (Duration &u, Duration const &v) |
TimePoint & | operator-= (TimePoint &u, Duration const &v) |
Duration & | operator/= (Duration &u, double v) |
bool | operator< (Duration const &lhs, Duration const &rhs) |
bool | operator== (Duration const &lhs, Duration const &rhs) |
Additional Inherited Members | |
Private Types inherited from otb::MetaData::details::dividable< Duration, double > | |
typedef double | scalar_type |
Represents a duration.
Definition at line 162 of file otbDateTime.h.
Definition at line 173 of file otbDateTime.h.
|
default |
|
inline |
Definition at line 176 of file otbDateTime.h.
std::ostream& otb::MetaData::Duration::Display | ( | std::ostream & | os | ) | const |
|
inlinestatic |
Definition at line 188 of file otbDateTime.h.
References otb::MetaData::details::internalPeriod.
|
inlinestatic |
Definition at line 183 of file otbDateTime.h.
References otb::MetaData::details::internalPeriod.
|
inlinestatic |
Definition at line 193 of file otbDateTime.h.
References otb::MetaData::details::internalPeriod.
InternalDurationType::rep otb::MetaData::Duration::NumberOfTicks | ( | ) | const |
std::istream& otb::MetaData::Duration::Read | ( | std::istream & | is | ) |
|
inlinestatic |
Definition at line 178 of file otbDateTime.h.
References otb::MetaData::details::internalPeriod.
double otb::MetaData::Duration::TotalSeconds | ( | ) | const |
Definition at line 214 of file otbDateTime.h.
Definition at line 202 of file otbDateTime.h.
Definition at line 238 of file otbDateTime.h.
Definition at line 208 of file otbDateTime.h.
Definition at line 244 of file otbDateTime.h.
Definition at line 221 of file otbDateTime.h.
Definition at line 228 of file otbDateTime.h.
Definition at line 233 of file otbDateTime.h.
|
private |
Definition at line 256 of file otbDateTime.h.