GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::DebugFormatter< Aggregate > Struct Template Reference

#include <GREM/core/debug_formatting.hpp>

Public Member Functions

constexpr DebugFormatter (size_t indentation=0)
constexpr size_t getRecursiveSize (const Aggregate &value) const noexcept
void setCompact (bool newCompact)
constexpr const char * parseFormatSpecification (const char *p)
void formatTo (FormatOutput &output, const Aggregate &value) const

Public Attributes

size_t indentation = 0
bool compact = false

Constructor & Destructor Documentation

◆ DebugFormatter()

template<aggregate Aggregate>
grem::DebugFormatter< Aggregate >::DebugFormatter ( size_t indentation = 0)
inlineconstexpr

Member Function Documentation

◆ getRecursiveSize()

template<aggregate Aggregate>
size_t grem::DebugFormatter< Aggregate >::getRecursiveSize ( const Aggregate & value) const
inlinenodiscardconstexprnoexcept

◆ setCompact()

template<aggregate Aggregate>
void grem::DebugFormatter< Aggregate >::setCompact ( bool newCompact)
inline

◆ parseFormatSpecification()

template<aggregate Aggregate>
const char * grem::DebugFormatter< Aggregate >::parseFormatSpecification ( const char * p)
inlinenodiscardconstexpr

◆ formatTo()

template<aggregate Aggregate>
void grem::DebugFormatter< Aggregate >::formatTo ( FormatOutput & output,
const Aggregate & value ) const
inline

Member Data Documentation

◆ indentation

template<aggregate Aggregate>
size_t grem::DebugFormatter< Aggregate >::indentation = 0

◆ compact

template<aggregate Aggregate>
bool grem::DebugFormatter< Aggregate >::compact = false

The documentation for this struct was generated from the following file: