e57::DateTime Struct Reference

Encodes date and time. More...

#include <E57SimpleData.h>

Public Member Functions

bool operator!= (const DateTime &rhs) const
 
bool operator== (const DateTime &rhs) const
 

Public Attributes

double dateTimeValue
 The time, in seconds, since GPS time was zero. This time specification may include fractions of a second. More...
 
int32_t isAtomicClockReferenced
 This element should be present, and its value set to 1 if, and only if, the time stored in the dateTimeValue element is obtained from an atomic clock time source. More...
 

Detailed Description

Encodes date and time.

The date and time is encoded using a single floating point number, stored as an E57 Float element which is based on the Global Positioning System (GPS) time scale.

Member Function Documentation

◆ operator!=()

bool e57::DateTime::operator!= ( const DateTime rhs) const

◆ operator==()

bool e57::DateTime::operator== ( const DateTime rhs) const

Member Data Documentation

◆ dateTimeValue

double e57::DateTime::dateTimeValue
Initial value:
{
0.
}

The time, in seconds, since GPS time was zero. This time specification may include fractions of a second.

Referenced by e57::ReaderImpl::GetE57Root(), e57::WriterImpl::NewImage2D(), operator==(), e57::ReaderImpl::ReadData3D(), and e57::ReaderImpl::ReadImage2D().

◆ isAtomicClockReferenced

int32_t e57::DateTime::isAtomicClockReferenced
Initial value:
{
0
}

This element should be present, and its value set to 1 if, and only if, the time stored in the dateTimeValue element is obtained from an atomic clock time source.

Shall be either 0 or 1.

Referenced by e57::ReaderImpl::GetE57Root(), e57::WriterImpl::NewImage2D(), operator==(), e57::ReaderImpl::ReadData3D(), and e57::ReaderImpl::ReadImage2D().


The documentation for this struct was generated from the following file: