![]() |
|
PhoenixSwarm
5.1.1
Library to ease communication between daemons
|
Generic Data Check function. More...
#include <Representation.h>
Static Public Member Functions | |
| static bool | check_stream (const std::string &fieldDescription, const Swarm::Data &data, const Swarm::Data &reference, std::ostream &out) |
| Check Stream for a Data. | |
Generic Data Check function.
Definition at line 87 of file Representation.h.
|
static |
Check Stream for a Data.
| 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 27 of file Representation.cpp.
References Swarm::Data::getDescription(), Swarm::Data::getName(), Swarm::Data::getType(), and Swarm::Data::getValue().
Referenced by CheckStream< Swarm::Function >::check_stream(), and CheckStream< Swarm::Message >::check_stream().
Here is the call graph for this function:
Here is the caller graph for this function: