Public Member Functions | Public Attributes

Pipe Class Reference

Search for all occurrences

#include <pipe.h>

List of all members.

Public Member Functions

  Pipe ()
  ~Pipe ()
void  collect ()
void  gc_trace ()
MCHAR  get_char ()
void  unget_char (MCHAR c)
MCHAR  peek_char ()
int  at_eos ()
unsigned int  pos ()
unsigned int  line ()
void  rewind ()
void  flush_to_eol ()
void  flush_to_eobuf ()
void  put_char (const MCHAR c, Value *source_file=NULL, unsigned int offset=0, unsigned int line=1)
void  put_str (const MCHAR *str, Value *source_file=NULL, unsigned int offset=0, unsigned int line=1)
void  put_buf (const MCHAR *str, UINT count, Value *source_file=NULL, unsigned int offset=0, unsigned int line=1)
void  new_write_buffer ()
void  check_write_source_change (Value *file, unsigned int offset, unsigned int line, int new_len)
void  read_source_change ()
void  clear_source ()
void  stop ()
void  go ()
const MCHAR *  puts (const MCHAR *str)
int  printf (const MCHAR *format,...)
void  flag_eos ()
void  log_to (FileStream *log)
void  close_log ()
CharStream *  get_log ()

Public Attributes

MCHAR *  write_buffer
MCHAR *  write_cursor
MCHAR *  read_buffer
MCHAR *  read_cursor
int  ungetch_count
HANDLE  pipe_event
HANDLE  restart_event
bool  waiting
bool  stopped
FileStream *  log
src_info markers
src_info marker_tail
MCHAR *  next_source_start
Value write_source_file
unsigned int  write_source_offset
MCHAR  lastCharacterOfLastBuffer

Constructor & Destructor Documentation

Pipe ( )
~Pipe ( )

Member Function Documentation

void collect ( )
void gc_trace ( )
MCHAR get_char ( )
void unget_char ( MCHAR  c )
MCHAR peek_char ( )
int at_eos ( )
unsigned int pos ( )
unsigned int line ( )
void rewind ( )
void flush_to_eol ( )
void flush_to_eobuf ( )
void put_char ( const MCHAR  c,
Value source_file = NULL,
unsigned int  offset = 0,
unsigned int  line = 1 
)
void put_str ( const MCHAR *  str,
Value source_file = NULL,
unsigned int  offset = 0,
unsigned int  line = 1 
)
void put_buf ( const MCHAR *  str,
UINT  count,
Value source_file = NULL,
unsigned int  offset = 0,
unsigned int  line = 1 
)
void new_write_buffer ( )
void check_write_source_change ( Value file,
unsigned int  offset,
unsigned int  line,
int  new_len 
)
void read_source_change ( )
void clear_source ( )
void stop ( )
void go ( )
const MCHAR* puts ( const MCHAR *  str )
int printf ( const MCHAR *  format,
  ... 
)
void flag_eos ( )
void log_to ( FileStream *  log )
void close_log ( )
CharStream* get_log ( ) [inline]

Member Data Documentation

MCHAR* write_buffer
MCHAR* write_cursor
MCHAR* read_buffer
MCHAR* read_cursor
HANDLE pipe_event
HANDLE restart_event
bool waiting
bool stopped
FileStream* log
unsigned int write_source_offset

Pipe Pipe Pipe Pipe Pipe Pipe Pipe Pipe Pipe Pipe
Pipe Pipe Pipe Pipe Pipe Pipe Pipe Pipe Pipe Pipe