C Compiler Infrastructure

[ Project home page]

output_context Class Reference

#include <output_context.h>

List of all members.

Public Member Functions

 output_context (ostream &out)
output_contextoperator<< (const string &s)
output_contextoperator<< (const char *s)
output_contextoperator<< (const char c)
void indent_in ()
void indent_out ()
void new_line ()
void continue_line ()
void space ()
int pos () const
void printed (suespecNode *ssn)
bool isPrinted (suespecNode *ssn)

Static Public Attributes

static int wrap_width

Private Member Functions

void _new_line ()
void _indent (const int num)

Private Attributes

ostream & _out
int _pos
int _line
int_list _parens
int _depth
char _last
ssn_set _ssNodes

Constructor & Destructor Documentation

output_context::output_context ostream &  out  )  [inline]

Definition at line 80 of file output_context.h.

Member Function Documentation

void output_context::_indent const int  num  )  [private]

void output_context::_new_line  )  [private]

void output_context::continue_line  ) 

Referenced by output_delim_list().

void output_context::indent_in  )  [inline]

Definition at line 102 of file output_context.h.

References _depth.

void output_context::indent_out  )  [inline]

Definition at line 103 of file output_context.h.

References _depth.

bool output_context::isPrinted suespecNode ssn  ) 

void output_context::new_line  ) 

output_context& output_context::operator<< const char  c  ) 

output_context& output_context::operator<< const char *  s  ) 

output_context& output_context::operator<< const string &  s  ) 

int output_context::pos  )  const [inline]

Definition at line 119 of file output_context.h.

References _pos.

void output_context::printed suespecNode ssn  ) 

void output_context::space  ) 

Referenced by output_delim_list().

Member Data Documentation

int output_context::_depth [private]

Definition at line 60 of file output_context.h.

Referenced by indent_in(), and indent_out().

char output_context::_last [private]

Definition at line 64 of file output_context.h.

int output_context::_line [private]

Definition at line 54 of file output_context.h.

ostream& output_context::_out [private]

Definition at line 52 of file output_context.h.

int_list output_context::_parens [private]

Definition at line 56 of file output_context.h.

int output_context::_pos [private]

Definition at line 53 of file output_context.h.

Referenced by pos().

ssn_set output_context::_ssNodes [private]

Definition at line 68 of file output_context.h.

int output_context::wrap_width [static]

Definition at line 131 of file output_context.h.

The documentation for this class was generated from the following file:

Generated on February 1, 2006
Back to the C-Breeze home page