Lumiera  0.pre.03
»edit your freedom«
PrintfFormatter< NUM, len > Class Template Reference

#include "lib/time/digxel.hpp"

Description

template<typename NUM, size_t len>
class lib::time::digxel::PrintfFormatter< NUM, len >

Default / base implementation for Digxel formatting.

This formatter holds an inline buffer of limited size, receiving and caching the textual representation

Definition at line 99 of file digxel.hpp.

Public Member Functions

 PrintfFormatter (Literal fmt)
 
void clear ()
 
bool empty ()
 
size_t maxlen () const
 
CBuf show (NUM val)
 

Private Types

enum  { bufsiz = len+1 }
 

Private Attributes

Literal formatSpec_
 
char printbuffer_ [bufsiz]
 
+ Inheritance diagram for PrintfFormatter< NUM, len >:
+ Collaboration diagram for PrintfFormatter< NUM, len >:

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