![]() |
|
PhoenixSwarm
5.2.0
Library to ease communication between daemons
|
Generic Message Check function. More...
#include <Representation.h>
Static Public Member Functions | |
| static bool | check_stream (const std::string &fieldDescription, const Swarm::Message &data, const Swarm::Message &reference, std::ostream &out) |
| Check Stream for a Message. | |
Generic Message Check function.
Definition at line 251 of file Representation.h.
|
static |
Check Stream for a Message.
| fieldDescription | : description of the field to be checked |
| data | : data to be checked |
| reference | : reference of the check |
| out | : ostream used to collect feed back in case of error (std::cerr or a logger) |
Definition at line 330 of file Representation.cpp.
References CheckStream< Swarm::Data >::check_stream(), check_stream(), Swarm::Message::getData(), Swarm::Message::getId(), Swarm::Message::getIsConfirmationNeeded(), Swarm::Message::getSender(), Swarm::Message::getSendTime(), Swarm::Message::getType(), and Swarm::Message::getVecRecver().
Referenced by check_stream().