REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
Loading...
Searching...
No Matches
utils::StringPrint Class Reference

#include <StringPrint.h>

Inheritance diagram for utils::StringPrint:
Collaboration diagram for utils::StringPrint:

Public Member Functions

 StringPrint ()
 
 StringPrint (std::string str)
 
size_t write (const uint8_t *p, size_t n) override
 
size_t write (uint8_t c) override
 
const std::string & str () const
 
void str (std::string str)
 
void clear ()
 

Detailed Description

Definition at line 14 of file StringPrint.h.

Constructor & Destructor Documentation

◆ StringPrint() [1/2]

utils::StringPrint::StringPrint ( )
inline

Definition at line 16 of file StringPrint.h.

◆ StringPrint() [2/2]

utils::StringPrint::StringPrint ( std::string str)
inlineexplicit

Definition at line 18 of file StringPrint.h.

Member Function Documentation

◆ clear()

void utils::StringPrint::clear ( )
inline

Definition at line 45 of file StringPrint.h.

◆ str() [1/2]

const std::string & utils::StringPrint::str ( ) const
inline

Definition at line 37 of file StringPrint.h.

Referenced by msg::JsonLinesProtocol::process_string_input(), and str().

◆ str() [2/2]

void utils::StringPrint::str ( std::string str)
inline

Definition at line 41 of file StringPrint.h.

References str().

◆ write() [1/2]

size_t utils::StringPrint::write ( const uint8_t * p,
size_t n )
inlineoverride

Definition at line 20 of file StringPrint.h.

References write().

Referenced by write().

◆ write() [2/2]

size_t utils::StringPrint::write ( uint8_t c)
inlineoverride

Definition at line 30 of file StringPrint.h.


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