Go to the source code of this file.
|
UT_API size_t | UT::Format::Detail::formatCodePoint (char *buffer, size_t buffer_size, utf32 cp) |
|
UT_API bool | UT::Format::Detail::isBufferedFile (FILE *f) |
|
template<typename... Args> |
size_t | UTformat (FILE *file, const char *format, const Args &...args) |
|
template<typename... Args> |
size_t | UTformat (const char *format, const Args &...args) |
|
template<typename... Args> |
size_t | UTformat (std::ostream &os, const char *format, const Args &...args) |
|
template<typename... Args> |
size_t | UTformat (char *buffer, size_t buffer_size, const char *format, const Args &...args) |
|
template<typename... Args> |
size_t | UTprintf (FILE *file, const char *format, const Args &...args) |
|
template<typename... Args> |
size_t | UTprintf (const char *format, const Args &...args) |
|
template<typename... Args> |
size_t | UTprintf (std::ostream &os, const char *format, const Args &...args) |
|
template<typename... Args> |
size_t | UTprintf (char *buffer, size_t buffer_size, const char *format, const Args &...args) |
|
#define FMT_CASE |
( |
|
TYPE, |
|
|
|
VAL |
|
) |
| |
Value:case ArgValue::Type::TYPE:
\
break;
auto arg(const Char *name, const T &arg) -> detail::named_arg< Char, T >
GLenum GLuint GLenum GLsizei const GLchar * buf
#define SIZE_CASE |
( |
|
TYPE, |
|
|
|
VAL |
|
) |
| |
Value:case ArgValue::Type::TYPE: \
break;
auto arg(const Char *name, const T &arg) -> detail::named_arg< Char, T >
#define SIZE_CASE |
( |
|
TYPE, |
|
|
|
VAL, |
|
|
|
PREC |
|
) |
| |
Value:case ArgValue::Type::TYPE: \
spec.precision == -1 ? PREC : spec.precision, notation,
flags); \
break;
auto arg(const Char *name, const T &arg) -> detail::named_arg< Char, T >
#define SIZE_CASE |
( |
|
TYPE, |
|
|
|
VAL, |
|
|
|
PREC |
|
) |
| |
Value:case ArgValue::Type::TYPE:
\
spec.precision == -1 ? PREC : spec.precision, notation,
flags); \
break;
auto arg(const Char *name, const T &arg) -> detail::named_arg< Char, T >
GLenum GLuint GLenum GLsizei const GLchar * buf
template<typename... Args>
size_t UTformat |
( |
FILE * |
file, |
|
|
const char * |
format, |
|
|
const Args &... |
args |
|
) |
| |
Takes a formatting string and a set of arguments and writes out the formatted string to the FILE pointer.
- Parameters
-
file | The FILE pointer to write to. The FILE must be opened in write or append mode. |
format | The formatting codes, as defined in Format Grammar. |
args | The arguments to the formatting. |
- Returns
- The number of bytes successfully written out.
Definition at line 1083 of file UT_FormatImpl.h.
template<typename... Args>
size_t UTformat |
( |
const char * |
format, |
|
|
const Args &... |
args |
|
) |
| |
Takes a formatting string and a set of arguments and writes out the formatted string to stdout
.
- Parameters
-
format | The formatting codes, as defined in Format Grammar. |
args | The arguments to the formatting. |
- Returns
- The number of bytes successfully written out.
Definition at line 1113 of file UT_FormatImpl.h.
template<typename... Args>
size_t UTformat |
( |
std::ostream & |
os, |
|
|
const char * |
format, |
|
|
const Args &... |
args |
|
) |
| |
Takes a formatting string and a set of arguments and writes out the formatted string to the output stream object.
- Parameters
-
os | The output stream to write to. |
format | The formatting codes, as defined in Format Grammar. |
args | The arguments to the formatting. |
- Returns
- The number of bytes successfully written out.
Definition at line 1120 of file UT_FormatImpl.h.
template<typename... Args>
size_t UTformat |
( |
char * |
buffer, |
|
|
size_t |
buffer_size, |
|
|
const char * |
format, |
|
|
const Args &... |
args |
|
) |
| |
Takes a formatting string and a set of arguments and writes out the formatted string into the buffer provided. If buffer
is nullptr
, then nothing is written out, but the number of bytes needed to store the entire formatted string is returned. A termination byte is not written out to the buffer. If termination is required, the caller must take care of it.
- Parameters
-
buffer | The character buffer to write the formatted string to. |
buffer_size | The size of the character buffer. |
format | The formatting codes, as defined in Format Grammar. |
args | The arguments to the formatting. |
- Returns
- The number of bytes successfully written out.
Definition at line 1130 of file UT_FormatImpl.h.
template<typename... Args>
size_t UTprintf |
( |
FILE * |
file, |
|
|
const char * |
format, |
|
|
const Args &... |
args |
|
) |
| |
Takes a formatting string and a set of arguments and writes out the formatted string to the FILE pointer.
- Parameters
-
file | The FILE pointer to write to. The FILE must be opened in write or append mode. |
format | The formatting codes, as defined in Printf Grammar. |
args | The arguments to the formatting. |
- Returns
- The number of bytes successfully written out.
Definition at line 1144 of file UT_FormatImpl.h.
template<typename... Args>
size_t UTprintf |
( |
const char * |
format, |
|
|
const Args &... |
args |
|
) |
| |
Takes a formatting string and a set of arguments and writes out the formatted string to stdout
.
- Parameters
-
format | The formatting codes, as defined in Printf Grammar. |
args | The arguments to the formatting. |
- Returns
- The number of bytes successfully written out.
Definition at line 1174 of file UT_FormatImpl.h.
template<typename... Args>
size_t UTprintf |
( |
std::ostream & |
os, |
|
|
const char * |
format, |
|
|
const Args &... |
args |
|
) |
| |
Takes a formatting string and a set of arguments and writes out the formatted string to the output stream object.
- Parameters
-
os | The output stream to write to. |
format | The formatting codes, as defined in Printf Grammar. |
args | The arguments to the formatting. |
- Returns
- The number of bytes successfully written out.
Definition at line 1181 of file UT_FormatImpl.h.
template<typename... Args>
size_t UTprintf |
( |
char * |
buffer, |
|
|
size_t |
buffer_size, |
|
|
const char * |
format, |
|
|
const Args &... |
args |
|
) |
| |
Takes a formatting string and a set of arguments and writes out the formatted string into the buffer provided. If buffer
is nullptr
, then nothing is written out, but the number of bytes needed to store the entire formatted string is returned. A termination byte is not written out to the buffer. If termination is required, the caller must take care of it.
- Parameters
-
buffer | The character buffer to write the formatted string to. |
buffer_size | The size of the character buffer. |
format | The formatting codes, as defined in Printf Grammar. |
args | The arguments to the formatting. |
- Returns
- The number of bytes successfully written out.
Definition at line 1191 of file UT_FormatImpl.h.