BioCMAMC-ST
IO Namespace Reference

Namespaces

namespace  AnsiCode
namespace  Unicode

Classes

class  Console
 Concrete class logging system through console. More...
class  Logger
 Base class for a generic logging system. More...
class  ProgressBar
class  RedirectGuard
class  RedirectHandle

Enumerations

enum  RedirectionType { Buffer , File }

Functions

template<typename MsgType>
requires (std::is_integral_v<std::remove_cvref_t<MsgType>> || std::is_floating_point_v<std::remove_cvref_t<MsgType>>)
void _format (std::string &result, MsgType &&msg)
template<typename MsgType>
requires (!(std::is_integral_v<std::remove_cvref_t<MsgType>> || std::is_floating_point_v<std::remove_cvref_t<MsgType>>))
void _format (std::string &result, MsgType &&msg)
template<typename... MsgType>
std::string format (MsgType &&... msgs)

Variables

constexpr size_t PROGRESS_BAR_WIDTH = 100
constexpr char PROGRESS_BAR_SYMBOL = '*'

Enumeration Type Documentation

◆ RedirectionType

Enumerator
Buffer 
File 

Function Documentation

◆ _format() [1/2]

template<typename MsgType>
requires (std::is_integral_v<std::remove_cvref_t<MsgType>> || std::is_floating_point_v<std::remove_cvref_t<MsgType>>)
void IO::_format ( std::string & result,
MsgType && msg )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _format() [2/2]

template<typename MsgType>
requires (!(std::is_integral_v<std::remove_cvref_t<MsgType>> || std::is_floating_point_v<std::remove_cvref_t<MsgType>>))
void IO::_format ( std::string & result,
MsgType && msg )

◆ format()

template<typename... MsgType>
std::string IO::format ( MsgType &&... msgs)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ PROGRESS_BAR_SYMBOL

char IO::PROGRESS_BAR_SYMBOL = '*'
constexpr

◆ PROGRESS_BAR_WIDTH

size_t IO::PROGRESS_BAR_WIDTH = 100
constexpr