Functions | |
| bool | debugModeCheck () |
| template<class T> | |
| std::string | to_string (const T &data) |
| TL_DLL bool TeAgnostic::debugModeCheck | ( | ) |
Checks if the code was compiled with debug mode.
Definition at line 5 of file TeAgnostic.cpp.
00006 { 00007 #ifdef TEAGN_DEBUG_MODE 00008 return true; 00009 #else 00010 return false; 00011 #endif 00012 }
| std::string TeAgnostic::to_string | ( | const T & | data | ) | [inline] |
Data conversion to string.
| data | Data to be converted. |
Definition at line 380 of file TeAgnostic.h.
Referenced by halfsampledImageTest(), halfsampledImageTest2(), halfsampledRotadedImageTest(), halfsampledRotadedImageWithDownsampleTest(), HRCxCCDTest(), main(), sameImageAndBoxesTest(), sameImageAndBoxesWithMaskTest(), sameImageDifBoxesTest(), sameImageGreenXBlueTest(), sameImageGreenXRedTest(), sameImageTest(), sameImageTest2(), sameImageTestWithMultiThread(), and sameInvertedImageTest().
00381 { 00382 std::stringstream temp_ss; 00383 temp_ss.setf(std::ios_base::fixed); 00384 temp_ss << data; 00385 return temp_ss.str(); 00386 }
1.5.3