#include <PSDL_Stream.h>
Public Member Functions | |
| TAO_PSDL_Stream (void) | |
| ~TAO_PSDL_Stream (void) | |
| int | open (const char *fname) |
| Open the file name to be able to write to it. | |
| FILE * | file (void) |
| Return the underlying lowlevel file pointer. | |
| int | incr_indent (unsigned short flag=1) |
| int | decr_indent (unsigned short flag=1) |
| int | reset (void) |
| reset indentation level to 0 | |
| int | indent (void) |
| indent starting next line | |
| int | nl (void) |
| put a newline and indent on the next line | |
| int | print (const char *format,...) |
| "printf" style variable argument print | |
| TAO_PSDL_Stream & | operator<< (const char *str) |
| TAO_PSDL_Stream & | operator<< (ACE_CString str) |
| TAO_PSDL_Stream & | operator<< (const unsigned long num) |
| TAO_PSDL_Stream & | operator<< (const long num) |
Private Attributes | |
| FILE * | fp_ |
| int | indent_level_ |
| TAO_PSDL_Stream::TAO_PSDL_Stream | ( | void | ) |
| TAO_PSDL_Stream::~TAO_PSDL_Stream | ( | void | ) |
| int TAO_PSDL_Stream::decr_indent | ( | unsigned short | flag = 1 |
) |
decrease the indentation level and by default actually indent the output accordingly
| FILE * TAO_PSDL_Stream::file | ( | void | ) |
Return the underlying lowlevel file pointer.
| int TAO_PSDL_Stream::incr_indent | ( | unsigned short | flag = 1 |
) |
increment the indentation level and by default actually indent the output accordingly
| int TAO_PSDL_Stream::indent | ( | void | ) |
indent starting next line
| int TAO_PSDL_Stream::nl | ( | void | ) |
put a newline and indent on the next line
| int TAO_PSDL_Stream::open | ( | const char * | fname | ) |
Open the file name to be able to write to it.
| TAO_PSDL_Stream & TAO_PSDL_Stream::operator<< | ( | const long | num | ) |
| TAO_PSDL_Stream & TAO_PSDL_Stream::operator<< | ( | const unsigned long | num | ) |
| TAO_PSDL_Stream & TAO_PSDL_Stream::operator<< | ( | ACE_CString | str | ) |
| TAO_PSDL_Stream & TAO_PSDL_Stream::operator<< | ( | const char * | str | ) |
| int TAO_PSDL_Stream::print | ( | const char * | format, | |
| ... | ||||
| ) |
"printf" style variable argument print
| int TAO_PSDL_Stream::reset | ( | void | ) |
reset indentation level to 0
FILE* TAO_PSDL_Stream::fp_ [private] |
int TAO_PSDL_Stream::indent_level_ [private] |
1.4.6-4