Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

Program Class Reference

#include <buffer.h>

Inheritance diagram for Program:

Inheritance graph
[legend]
Collaboration diagram for Program:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Program (char *name)
virtual ~Program ()
void Rewind ()
void Rewind (uint i)
uint GetSize ()
void Unget ()
char Ref (uint position)
void Set (char c, uint position)
uint GetCurPos ()
uint GetNextPos ()
const char * Read (uint p)
virtual char Get ()
void Subst (Ptree *newtext, Ptree *oldtext)
void Insert (Ptree *pos, Ptree *before_text, Ptree *after_text)
void Replace (char *, char *, Ptree *)
void MinimumSubst (Ptree *newtext, Ptree *oldtext)
uint LineNumber (char *, char *&, int &)
void Write (std::ostream &, const char *)
sint ReadLineDirective (uint, sint, uint &, int &)

Protected Attributes

char * buf
uint size
uint index
char * defaultname

Private Member Functions

bool MinimumSubst2 (Ptree *newtext, Ptree *oldtext)

Private Attributes

Replacementreplacement

Constructor & Destructor Documentation

Program::Program char *  name  )  [inline]
 

virtual Program::~Program  )  [inline, virtual]
 


Member Function Documentation

void Program::Rewind  )  [inline]
 

void Program::Rewind uint  i  )  [inline]
 

uint Program::GetSize  )  [inline]
 

void Program::Unget  )  [inline]
 

char Program::Ref uint  position  )  [inline]
 

void Program::Set char  c,
uint  position
[inline]
 

uint Program::GetCurPos  )  [inline]
 

uint Program::GetNextPos  )  [inline]
 

const char* Program::Read uint  p  )  [inline]
 

char Program::Get  )  [virtual]
 

Reimplemented in ProgramFromStdin.

void Program::Subst Ptree newtext,
Ptree oldtext
 

void Program::Insert Ptree pos,
Ptree before_text,
Ptree after_text
 

void Program::Replace char *  ,
char *  ,
Ptree
 

void Program::MinimumSubst Ptree newtext,
Ptree oldtext
 

uint Program::LineNumber char *  ,
char *&  ,
int & 
 

void Program::Write std::ostream &  ,
const char * 
 

sint Program::ReadLineDirective uint  ,
sint  ,
uint ,
int & 
 

bool Program::MinimumSubst2 Ptree newtext,
Ptree oldtext
[private]
 


Member Data Documentation

char* Program::buf [protected]
 

uint Program::size [protected]
 

uint Program::index [protected]
 

char* Program::defaultname [protected]
 

Replacement* Program::replacement [private]
 


The documentation for this class was generated from the following files:
Generated on Wed Aug 11 22:36:13 2004 for IOPC by Doxygen 1.3.6