preCICE v3.1.2
|
Utility class to build a string from C functions with output pointers and static maximum length. More...
#include <String.hpp>
Public Member Functions | |
StringMaker () | |
void | clear () |
char * | data () |
std::string | str () const |
Private Attributes | |
std::array< char, MAX+1 > | _data |
Utility class to build a string from C functions with output pointers and static maximum length.
Definition at line 14 of file String.hpp.
|
inline |
|
inline |
|
inline |
|
inline |
constructs a string from the buffer
The returned string ends at the fill NULL char.
Definition at line 35 of file String.hpp.
|
private |
Definition at line 41 of file String.hpp.