herald  2.0.0
Public Member Functions | Public Attributes | List of all members
herald::datatype::Distance Struct Reference

#include <distance.h>

Public Member Functions

 Distance (double value)
 
 Distance (const Distance &other)
 
 Distance (Distance &&other)
 
Distanceoperator= (const Distance &other)
 
Distanceoperator= (Distance &&other)
 
bool operator== (const double other) const noexcept
 
bool operator!= (const double other) const noexcept
 
bool operator== (const Distance &other) const noexcept
 
bool operator!= (const Distance &other) const noexcept
 
bool operator< (const Distance &other) const noexcept
 
bool operator<= (const Distance &other) const noexcept
 
bool operator> (const Distance &other) const noexcept
 
bool operator>= (const Distance &other) const noexcept
 
 operator double () const noexcept
 
std::size_t hashCode () const noexcept
 

Public Attributes

double value
 

Detailed Description

Simple distance value in metres Has to be a class/struct type to allow template resolution


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