template<class Traits, class NodeType>
eckit::SPNodeInfo struct

Public types

using Point = Traits::Point
using Payload = Traits::Payload
using Alloc = Traits::Alloc
using Value = SPValue<Traits>
using ID = Alloc::Ptr
using Node = NodeType
using NodeList = std::vector<SPNodeInfo>

Constructors, destructors, conversion operators

SPNodeInfo()
SPNodeInfo(const Node* node, ID id, double distance)

Public functions

auto id() const -> ID
auto operator<(const SPNodeInfo& other) const -> bool
auto point() const -> const Point&
auto payload() const -> const Payload&
auto value() const -> const Value&
auto distance() const -> double

Public variables

const Node* node_
ID id_
double distance_

Friends

auto operator<<(std::ostream& s, const SPNodeInfo& p) -> std::ostream&