Pipe Class Reference
 
 
 
Pipe Class Reference

#include <pipe.h>

Public Member Functions

  Pipe ()
  ~Pipe ()
void  collect ()
void  gc_trace ()
MaxSDK::Util::Char  get_char ()
void  unget_char (const MaxSDK::Util::Char &c)
MaxSDK::Util::Char  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 MaxSDK::Util::Char &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 MaxSDK::Util::Char *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

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

Constructor & Destructor Documentation

Pipe ( )
~Pipe ( )

Member Function Documentation

void collect ( )
void gc_trace ( )
void unget_char ( const MaxSDK::Util::Char c )
unsigned int pos ( )
unsigned int line ( )
void rewind ( )
void flush_to_eol ( )
void flush_to_eobuf ( )
void put_char ( const MaxSDK::Util::Char 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 MaxSDK::Util::Char 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 ( )
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