ocpp 0.24.1
A C++ implementation of the Open Charge Point Protocol
Public Member Functions | Public Attributes | List of all members
ocpp::v16::MeasurandWithPhase Struct Reference

Combines a Measurand with an optional Phase. More...

#include <types.hpp>

Public Member Functions

bool operator== (MeasurandWithPhase measurand_with_phase)
 Comparison operator== between this MeasurandWithPhase and the given measurand_with_phase. More...
 

Public Attributes

Measurand measurand
 A OCPP Measurand.
 
std::optional< Phase > phase
 If applicable and available a Phase.
 

Detailed Description

Combines a Measurand with an optional Phase.

Member Function Documentation

◆ operator==()

bool ocpp::v16::MeasurandWithPhase::operator== ( MeasurandWithPhase  measurand_with_phase)

Comparison operator== between this MeasurandWithPhase and the given measurand_with_phase.

Returns
true when measurand and phase are equal

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