.TH "shevek::ostring" 3 "Wed Jul 9 2014" "libshevek" \" -*- nroff -*- .ad l .nh .SH NAME shevek::ostring \- .PP \fBshevek::ostring\fP is a C++ version of printf\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBoperator Glib::ustring\fP () const " .br .RI "\fIUse the result as a string\&. \fP" .ti -1c .RI "Glib::ustring \fBoperator+\fP (Glib::ustring const &that) const " .br .RI "\fIUse the result as a string\&. \fP" .ti -1c .RI "\fBostring\fP (Glib::ustring const &fmt)" .br .RI "\fICreate a string with a constant format\&. \fP" .ti -1c .RI "template \fBostring\fP (Glib::ustring const &fmt, T1 const &a1)" .br .RI "\fICreate a string with one argument\&. \fP" .ti -1c .RI "template \fBostring\fP (Glib::ustring const &fmt, T1 const &a1, T2 const &a2)" .br .RI "\fICreate a string with two arguments\&. \fP" .ti -1c .RI "template \fBostring\fP (Glib::ustring const &fmt, T1 const &a1, T2 const &a2, T3 const &a3)" .br .RI "\fICreate a string with three arguments\&. \fP" .ti -1c .RI "template \fBostring\fP (Glib::ustring const &fmt, T1 const &a1, T2 const &a2, T3 const &a3, T4 const &a4)" .br .RI "\fICreate a string with four arguments\&. \fP" .ti -1c .RI "template \fBostring\fP (Glib::ustring const &fmt, T1 const &a1, T2 const &a2, T3 const &a3, T4 const &a4, T5 const &a5)" .br .RI "\fICreate a string with five arguments\&. \fP" .ti -1c .RI "template \fBostring\fP (Glib::ustring const &fmt, T1 const &a1, T2 const &a2, T3 const &a3, T4 const &a4, T5 const &a5, T6 const &a6)" .br .RI "\fICreate a string with six arguments\&. \fP" .ti -1c .RI "template \fBostring\fP (Glib::ustring const &fmt, T1 const &a1, T2 const &a2, T3 const &a3, T4 const &a4, T5 const &a5, T6 const &a6, T7 const &a7)" .br .RI "\fICreate a string with seven arguments\&. \fP" .ti -1c .RI "template \fBostring\fP (Glib::ustring const &fmt, T1 const &a1, T2 const &a2, T3 const &a3, T4 const &a4, T5 const &a5, T6 const &a6, T7 const &a7, T8 const &a8)" .br .RI "\fICreate a string with eight arguments\&. \fP" .ti -1c .RI "template \fBostring\fP (Glib::ustring const &fmt, T1 const &a1, T2 const &a2, T3 const &a3, T4 const &a4, T5 const &a5, T6 const &a6, T7 const &a7, T8 const &a8, T9 const &a9)" .br .RI "\fICreate a string with nine arguments\&. \fP" .in -1c .SS "Friends" .in +1c .ti -1c .RI "std::ostream & \fBoperator<<\fP (std::ostream &s, \fBostring\fP const &o)" .br .RI "\fISend the result to an ostream\&. \fP" .in -1c .SH "Detailed Description" .PP \fBshevek::ostring\fP is a C++ version of printf\&. It uses templates to allow expanding it to user-defined types, but it still uses a format string to make it better translatable\&. ostring works on utf-8 strings (Glib::ustring)\&. For std::string, use rostring\&. .SH "Author" .PP Generated automatically by Doxygen for libshevek from the source code\&.