ocpp 0.24.1
A C++ implementation of the Open Charge Point Protocol
Public Member Functions | Public Attributes | Friends | List of all members
ocpp::CallResult< T > Struct Template Reference

Contains a OCPP CallResult message. More...

#include <call_types.hpp>

Public Member Functions

 CallResult ()
 Creates a new CallResult message object.
 
 CallResult (T msg, MessageId uniqueId)
 Creates a new CallResult message object with the given OCPP message msg and uniqueID.
 

Public Attributes

msg
 
MessageId uniqueId
 

Friends

void to_json (json &j, const CallResult &c)
 Conversion from a given CallResult message c to a given json object j.
 
void from_json (const json &j, CallResult &c)
 Conversion from a given json object j to a given CallResult message c.
 
std::ostream & operator<< (std::ostream &os, const CallResult &c)
 Writes the given case CallResult c to the given output stream os. More...
 

Detailed Description

template<class T>
struct ocpp::CallResult< T >

Contains a OCPP CallResult message.

Friends And Related Function Documentation

◆ operator<<

template<class T >
std::ostream & operator<< ( std::ostream &  os,
const CallResult< T > &  c 
)
friend

Writes the given case CallResult c to the given output stream os.

Returns
an output stream with the CallResult written to

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