![]() |
PhoenixDataStream
2.0.0
Framework to save/load/serialize/deserialize data
|
#include <string>
#include <vector>
#include <list>
#include <map>
#include <iostream>
#include <sstream>
#include "data_stream_check_value_impl.h"
Go to the source code of this file.
Functions | |
template<typename T , typename U > | |
bool | checkValue (const std::string &testName, const std::list< std::pair< T, U > > &vecData, const std::list< std::pair< T, U > > &vecReferenceData) |
Check given value compare to the reference size. More... | |
template<typename T > | |
bool | checkValue (const std::string &testName, const std::list< T > &vecData, const std::list< T > &vecReferenceData) |
Check given value compare to the reference size. More... | |
template<typename T , typename U > | |
bool | checkValue (const std::string &testName, const std::map< T, U > &vecData, const std::map< T, U > &vecReferenceData) |
Check given value compare to the reference size. More... | |
template<typename T , typename U > | |
bool | checkValue (const std::string &testName, const std::vector< std::pair< T, U > > &vecData, const std::vector< std::pair< T, U > > &vecReferenceData) |
Check given value compare to the reference size. More... | |
template<typename T > | |
bool | checkValue (const std::string &testName, const std::vector< T > &vecData, const std::vector< T > &vecReferenceData) |
Check given value compare to the reference size. More... | |
template<typename T > | |
bool | checkValue (const std::string &testName, const T &givenSize, const T &referenceSize) |
Check given value compare to the reference value. More... | |
template<typename T > | |
bool | checkValue (const std::string &testName, const T *tabData, const T *tabReferenceData, size_t nbElement) |
Check given value compare to the reference value. More... | |
bool checkValue | ( | const std::string & | testName, |
const std::list< std::pair< T, U > > & | vecData, | ||
const std::list< std::pair< T, U > > & | vecReferenceData | ||
) |
Check given value compare to the reference size.
testName | : name of the current test |
vecData | : vector of data to be checked |
vecReferenceData | : vector of reference data |
Definition at line 162 of file data_stream_check_value_impl.h.
bool checkValue | ( | const std::string & | testName, |
const std::list< T > & | vecData, | ||
const std::list< T > & | vecReferenceData | ||
) |
Check given value compare to the reference size.
testName | : name of the current test |
vecData | : vector of data to be checked |
vecReferenceData | : vector of reference data |
Definition at line 76 of file data_stream_check_value_impl.h.
bool checkValue | ( | const std::string & | testName, |
const std::map< T, U > & | vecData, | ||
const std::map< T, U > & | vecReferenceData | ||
) |
Check given value compare to the reference size.
testName | : name of the current test |
vecData | : vector of data to be checked |
vecReferenceData | : vector of reference data |
Definition at line 106 of file data_stream_check_value_impl.h.
bool checkValue | ( | const std::string & | testName, |
const std::vector< std::pair< T, U > > & | vecData, | ||
const std::vector< std::pair< T, U > > & | vecReferenceData | ||
) |
Check given value compare to the reference size.
testName | : name of the current test |
vecData | : vector of data to be checked |
vecReferenceData | : vector of reference data |
Definition at line 137 of file data_stream_check_value_impl.h.
bool checkValue | ( | const std::string & | testName, |
const std::vector< T > & | vecData, | ||
const std::vector< T > & | vecReferenceData | ||
) |
Check given value compare to the reference size.
testName | : name of the current test |
vecData | : vector of data to be checked |
vecReferenceData | : vector of reference data |
Definition at line 52 of file data_stream_check_value_impl.h.
bool checkValue | ( | const std::string & | testName, |
const T & | givenSize, | ||
const T & | referenceSize | ||
) |
Check given value compare to the reference value.
testName | : name of the current test |
givenSize | : size to be tested |
referenceSize | : reference value |
Definition at line 19 of file data_stream_check_value_impl.h.
Referenced by checkValue().
bool checkValue | ( | const std::string & | testName, |
const T * | tabData, | ||
const T * | tabReferenceData, | ||
size_t | nbElement | ||
) |
Check given value compare to the reference value.
testName | : name of the current test |
tabData | : table of values to be tested |
tabReferenceData | : table of reference value |
nbElement | : number of elements to be checked |
Definition at line 35 of file data_stream_check_value_impl.h.
References checkValue().