Gemmi C++ API
|
std::ostream with buffering. More...
#include <to_cif.hpp>
Public Member Functions | |
BufOstream (std::ostream &os_) | |
~BufOstream () | |
void | flush () |
void | write (const char *s, size_t len) |
void | operator<< (const std::string &s) |
void | put (char c) |
void | pad (size_t n) |
std::ostream with buffering.
C++ streams are so slow that even primitive buffering makes it significantly more efficient.
Definition at line 81 of file to_cif.hpp.
|
inlineexplicit |
Definition at line 83 of file to_cif.hpp.
|
inline |
Definition at line 84 of file to_cif.hpp.
|
inline |
Definition at line 85 of file to_cif.hpp.
Definition at line 89 of file to_cif.hpp.
Definition at line 101 of file to_cif.hpp.
Definition at line 105 of file to_cif.hpp.
|
inline |
Definition at line 108 of file to_cif.hpp.