#include <describe.h>
Public Member Functions | |
alt_desc_proc (int _w, int _h) | |
int | width () |
int | height () |
void | nextline () |
void | print (const std::string &str) |
void | get_string (std::string &str) |
Static Public Member Functions | |
static int | count_newlines (const std::string &str) |
static void | trim (std::string &str) |
static bool | chop (std::string &str) |
Protected Attributes | |
int | w |
int | h |
std::ostringstream | ostr |
alt_desc_proc::alt_desc_proc | ( | int | _w, | |
int | _h | |||
) | [inline] |
int alt_desc_proc::width | ( | ) | [inline] |
int alt_desc_proc::height | ( | ) | [inline] |
void alt_desc_proc::nextline | ( | ) |
void alt_desc_proc::print | ( | const std::string & | str | ) |
int alt_desc_proc::count_newlines | ( | const std::string & | str | ) | [static] |
void alt_desc_proc::trim | ( | std::string & | str | ) | [static] |
bool alt_desc_proc::chop | ( | std::string & | str | ) | [static] |
void alt_desc_proc::get_string | ( | std::string & | str | ) |
int alt_desc_proc::w [protected] |
int alt_desc_proc::h [protected] |
std::ostringstream alt_desc_proc::ostr [protected] |