lipsum-cpp 0.5.4
A basic library written in C++ for generating placeholder Lorem Ipsum text.
Loading...
Searching...
No Matches
internal.hpp File Reference

Declaration of lipsum::internal. More...

#include "../misc.hpp"
#include "core.hpp"
#include "stdincludes.hpp"

Go to the source code of this file.

Namespaces

namespace  lipsum::internal
 This namespace contains functions only used internally by other functions.
namespace  lipsum
 This is the main namespace of lipsum-cpp.

Concepts

concept  lipsum::internal::ToStringable
 Can std::to_string() be called with T?
concept  lipsum::internal::Streamable
 Can std::ostream take T?
concept  lipsum::internal::IsInt
 Is T an int?
concept  lipsum::internal::UniformDistributionType
 Can std::uniform_int_distribution or std::uniform_real_distribution be constructed with T?

Enumerations

enum class  lipsum::internal::LogType : int {
  Trace = 0 , Info , Warn , Error ,
  Critical
}
 Log types for lipsum::internal::LogWarn(). More...

Functions

LIPSUM_API std::string lipsum::internal::HandleHTMLEntity (char letter, Format format=Format::HTML)
 Handle HTML entities.
template<typename... Args>
void lipsum::internal::LogWarn (LogType type, const Args &... args)
 Log a warning.
template<Streamable T>
std::string lipsum::internal::ToString (const T &param)
 Convert an object to a string.
template<ToStringable T>
std::string lipsum::internal::ToString (const T &param)
template<typename T>
lipsum::internal::ToType (const std::string &input)
 Convert a string to an object.

Detailed Description

Declaration of lipsum::internal.

This declares members in lipsum::internal. This file is under the BSD Zero-Clause License.

Author
LambBread from github.com