formatString.h
Go to the documentation of this file.
#pragma once
#include <iosfwd>
#include <string>
#include <globjects/globjects_api.h>
namespace globjects
{
GLOBJECTS_API int readInt(const char* str, int& number);
GLOBJECTS_API void parseFormat(std::ostream& stream, const char*& format);
GLOBJECTS_API void streamprintf(std::ostream& stream, const char* format);
template <typename T, typename... Args>
void streamprintf(std::ostream& stream, const char* format, const T& value, Args... args);
template <typename... Args>
std::string formatString(const char* format, Args... args);
} // namespace globjects
#include <globjects/base/formatString.inl>
globjects::formatString
std::string formatString(const char *format, Args... args)
globjects
Contains all the classes that wrap OpenGL functionality.
globjects::readInt
GLOBJECTS_API int readInt(const char *str, int &number)
globjects::parseFormat
GLOBJECTS_API void parseFormat(std::ostream &stream, const char *&format)
globjects::streamprintf
GLOBJECTS_API void streamprintf(std::ostream &stream, const char *format)