llformat.h

Go to the documentation of this file.
00001 
00033 #ifndef LL_LLFORMAT_H
00034 #define LL_LLFORMAT_H
00035 
00036 // Use as follows:
00037 // llinfos << llformat("Test:%d (%.2f %.2f)", idx, x, y) << llendl;
00038 //
00039 // *NOTE: buffer limited to 1024, (but vsnprintf prevents overrun)
00040 // should perhaps be replaced with boost::format.
00041 
00042 std::string llformat(const char *fmt, ...);
00043 
00044 #endif // LL_LLFORMAT_H

Generated on Thu Jul 1 06:08:38 2010 for Second Life Viewer by  doxygen 1.4.7