ocpp 0.24.1
A C++ implementation of the Open Charge Point Protocol
Public Attributes | Friends | List of all members
ocpp::Temperature Struct Reference

Public Attributes

float value
 Temperature in degree Celsius.
 
std::optional< std::string > location
 Location of the Temperature measurement.
 

Friends

void to_json (json &j, const Temperature &k)
 Conversion from a given Temperature k to a given json object j.
 
void from_json (const json &j, Temperature &k)
 Conversion from a given json object j to a given Temperature k.
 
std::ostream & operator<< (std::ostream &os, const Temperature &k)
 

Friends And Related Function Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  os,
const Temperature k 
)
friend
Returns
an output stream with the Temperature written to

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