#include <PrettyPrintBuffer.h>
Somewhat inefficient.
Definition at line 28 of file PrettyPrintBuffer.h.
Public Member Functions | |
PrettyPrintBuf (const char *buf, int len=-1) | |
bool | next_str (std::string *s) |
Private Attributes | |
const char * | buf_ |
int | cur_ |
int | len_ |
Static Private Attributes | |
static const int | MAX_COL = 80 |
oasys::PrettyPrintBuf::PrettyPrintBuf | ( | const char * | buf, | |
int | len = -1 | |||
) |
bool oasys::PrettyPrintBuf::next_str | ( | std::string * | s | ) |
Definition at line 37 of file PrettyPrintBuffer.cc.
References oasys::StringBuffer::append(), buf_, oasys::StringBuffer::c_str(), cur_, len_, and MAX_COL.
const int oasys::PrettyPrintBuf::MAX_COL = 80 [static, private] |
const char* oasys::PrettyPrintBuf::buf_ [private] |
int oasys::PrettyPrintBuf::cur_ [private] |
int oasys::PrettyPrintBuf::len_ [private] |