• Main Page
  • Related Pages
  • Namespaces
  • Data Structures
  • Files
  • Examples
  • File List
  • Globals

MyGUI_RenderOut.h

Go to the documentation of this file.
00001 
00007 /*
00008     This file is part of MyGUI.
00009     
00010     MyGUI is free software: you can redistribute it and/or modify
00011     it under the terms of the GNU Lesser General Public License as published by
00012     the Free Software Foundation, either version 3 of the License, or
00013     (at your option) any later version.
00014     
00015     MyGUI is distributed in the hope that it will be useful,
00016     but WITHOUT ANY WARRANTY; without even the implied warranty of
00017     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00018     GNU Lesser General Public License for more details.
00019     
00020     You should have received a copy of the GNU Lesser General Public License
00021     along with MyGUI.  If not, see <http://www.gnu.org/licenses/>.
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 } // namespace MyGUI
00070 
00071 #endif // __MYGUI_RENDER_OUT_H__

Generated on Sun Jan 30 2011 for MyGUI by  doxygen 1.7.1