00001
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef __MYGUI_RENDER_OUT_H__
00024 #define __MYGUI_RENDER_OUT_H__
00025
00026 #include "MyGUI_Prerequest.h"
00027 #include "MyGUI_Utility.h"
00028
00029 namespace MyGUI
00030 {
00031 namespace implement
00032 {
00033 void MYGUI_EXPORT render_out(const std::string& _value);
00034 }
00035
00036 template<typename T> inline
00037 void MYGUI_OUT (T p) { implement::render_out(utility::toString(p)); }
00038
00039 template<typename T1, typename T2 > inline
00040 void MYGUI_OUT (T1 p1, T2 p2) { implement::render_out(utility::toString(p1, p2)); }
00041
00042 template<typename T1, typename T2, typename T3 > inline
00043 void MYGUI_OUT (T1 p1, T2 p2, T3 p3) { implement::render_out(utility::toString(p1, p2, p3)); }
00044
00045 template<typename T1, typename T2, typename T3, typename T4 > inline
00046 void MYGUI_OUT (T1 p1, T2 p2, T3 p3, T4 p4) { implement::render_out(utility::toString(p1, p2, p3, p4)); }
00047
00048 template<typename T1, typename T2, typename T3, typename T4, typename T5 > inline
00049 void MYGUI_OUT (T1 p1, T2 p2, T3 p3, T4 p4, T5 p5) { implement::render_out(utility::toString(p1, p2, p3, p4, p5)); }
00050
00051 template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6 > inline
00052 void MYGUI_OUT (T1 p1, T2 p2, T3 p3, T4 p4, T5 p5, T6 p6) { implement::render_out(utility::toString(p1, p2, p3, p4, p5, p6)); }
00053
00054 template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7 > inline
00055 void MYGUI_OUT (T1 p1, T2 p2, T3 p3, T4 p4, T5 p5, T6 p6, T7 p7) { implement::render_out(utility::toString(p1, p2, p3, p4, p5, p6, p7)); }
00056
00057 template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8 > inline
00058 void MYGUI_OUT (T1 p1, T2 p2, T3 p3, T4 p4, T5 p5, T6 p6, T7 p7, T8 p8) { implement::render_out(utility::toString(p1, p2, p3, p4, p5, p6, p7, p8)); }
00059
00060 template<typename T1, typename T2 > inline
00061 void MYGUI_OUT_SPACES (T1 p1, T2 p2) { implement::render_out(utility::toString(p1, " ", p2)); }
00062
00063 template<typename T1, typename T2, typename T3 > inline
00064 void MYGUI_OUT_SPACES (T1 p1, T2 p2, T3 p3) { implement::render_out(utility::toString(p1, " ", p2, " ", p3)); }
00065
00066 template<typename T1, typename T2, typename T3, typename T4 > inline
00067 void MYGUI_OUT_SPACES (T1 p1, T2 p2, T3 p3, T4 p4) { implement::render_out(utility::toString(p1, " ", p2, " ", p3, " ", p4 )); }
00068
00069 }
00070
00071 #endif // __MYGUI_RENDER_OUT_H__