Classes of GRP Parser defined in pwindcl.h

Class index

TprsWindow
TprsWindowColl

TprsWindow

TObject
   |
   +------TprsWindow

Field index of TprsWindow

Name
Groups

Method index of TprsWindow

TprsWindow
~TprsWindow
Init
GetGroup
ShowData
WriteGRP

Fields

char *Name

Name of the window.

PprsGroupColl Groups

Collection of parameter groups.

Methods

TprsWindow(char *AName)

Constructor of the window object class.

virtual ~TprsWindow(void)

Destructor of the class.

virtual int Init(void)

Initalization of the object. This method must be called after constructor immediately when a new object is created.

PprsGroup GetGroup(char *AName)

Get a group by its name AName. If specified group is not found then this function returns NULL.

virtual void ShowData(FILE *To, char *Pre)

This method prints out values of data fields to To file and prints Pre at the beginning of every lines.

virtual void WriteGRP(FILE *To, int Ind)

This function generates GRP code of the object and writs it to To file every lines indented by Ind characters.

TprsWindowColl

TObject
   |
   +-----TCollection
              |
              +-------TprsWindow

Method index of TprsWindowColl

TprsWindowColl
~TprsWindowColl
GetWindow
ShowData
WriteGRP

Methods

TprsWindowColl(void)

Constructor of window collection object class.

virtual ~TprsWindowColl(void)

Destructor of the class.

PprsWindow GetWindow(char *AName)

This method can be used to get a window by name AName. If the specified window is not found then NULL will be returned.

virtual void ShowData(FILE *To, char *Pre)

This method prints out values of data fields to To file and it prints Pre string at the beginning of every lines.

virtual void WriteGRP(FILE *To, int Ind)

This function generates GRP code of the object and writes it to To file every lines indented by Ind characters.

Back to Grapnel Compiler.