PhoenixPresentation  2.0.0
Set of cmake function to automate presentation generation
phoenix_check.h
Go to the documentation of this file.
1 /***************************************
2  Auteur : Pierre Aubert
3  Mail : pierre.aubert@lapp.in2p3.fr
4  Licence : CeCILL-C
5 ****************************************/
6 
7 #ifndef __PHOENIX_CHECK_H__
8 #define __PHOENIX_CHECK_H__
9 
10 #include <vector>
11 #include <list>
12 #include "phoenix_isOk.h"
13 
14 template<typename T>
15 bool phoenix_check(const std::string & testName, const T & val, const T & reference);
16 
17 bool phoenix_check(const std::string & testName, const std::string & val, const std::string & reference);
18 
19 bool phoenix_check(const std::string & testName, const std::vector<std::string> & listVal, const std::vector<std::string> & listRef);
20 bool phoenix_check(const std::string & testName, const std::list<std::string> & listVal, const std::list<std::string> & listRef);
21 
22 #include "phoenix_check_impl.h"
23 
24 #endif
bool phoenix_check(const std::string &testName, const T &val, const T &reference)
Check two value.