Classes of GRP Parser defined in ppgroupcl.h

Class index

TprsProcGroup

TprsProcGroup

TObject
   |
   +------TprsProcess
              |
              +------TprsProcGroup

Field index of TprsProcGroup

Processes

Method index of TprsProcGroup

TprsProcGroup
~TprsProcGroup
Init
MakeItemColl
mk_proccoll
IsGroup
*show_name_title
ShowData
WriteGRP
ShowTasks
*grouptype_name
AddProcess

Fields

PCollection Processes

Collection of processes grouped into this process group.

Methods

TprsProcGroup(char *AName, int numid)

Constructor of the process group object class.

virtual ~TprsProcGroup(void)

Destructor of the class.

virtual int Init(void)

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

virtual PprsItemColl MakeItemColl(void)

This virtual method overrides inherited method and it does not make any item collection at all. Process groups handles processes instead of program items so they do not need item collection.

virtual PprsProcColl mk_proccoll(void)

This function is used to make process collection to hold objects of processes grouped by this object.

virtual bool IsGroup(void)

Returns TRUE.

virtual char *show_name_title(void)

returns "processgroup". This string is used when task graph output is produced.

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

This method prints out values of data fileds to To file and 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.

virtual void ShowTasks(FILE *To)

This function is used to produce process list of the group into task graph output.
virtual char *grouptype_name(void)

returns "ProcGroup". This string is used when GRP file output is produced.

Back to Grapnel Compiler.