ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
e57::DateTime Struct Reference

Encodes date and time. More...

#include <E57SimpleData.h>

Collaboration diagram for e57::DateTime:

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
 

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.

Definition at line 233 of file E57SimpleData.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 247 of file E57SimpleData.h.

References cloudViewer::utility::operator==().

◆ operator==()

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

Definition at line 243 of file E57SimpleData.h.

References dateTimeValue, and isAtomicClockReferenced.

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.

Definition at line 235 of file E57SimpleData.h.

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.

Definition at line 238 of file E57SimpleData.h.

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: