Namespace: Consultingwerk.Windows.ListAndLabel
Class 
GenerateLlConst Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:GenerateLlConst
Purpose:Generator for Constants definitions for List & Label API's
Author(s):Mohamed Elcaid / Consultingerk Ltd.
Created:Mon Jun 20 13:06:05 CEST 2016



Top Method Summary
Options Name Purpose
+ GenerateClassFile (character) Generates a class file from the original include file
# ReadFileToTempTable (character) Reads the file content (comments and &GLOBAL-DEFINE lines) into a Temp-Table
- ReplaceText (character, character) Replace text in the class-file.
# WriteTempTableToFile () Writes the Temp-Table content into a class file


Method Detail
Top

PUBLIC GenerateClassFile (character)

Purpose: Generates a class file from the original include file
Notes:

Parameters:
pcFileToChange CHARACTER
Absolute path and filename of the source file
Top

PROTECTED ReadFileToTempTable (character)

Purpose: Reads the file content (comments and &GLOBAL-DEFINE lines)
into a Temp-Table
Notes:

Parameters:
pcFileToImport CHARACTER
Absolute path and filename of the source file
Top

PRIVATE ReplaceText (character, character)

Purpose: Replace text in the class-file.
Notes:

Parameters:
pcFromText CHARACTER
Text to be replaced
pcToText CHARACTER
Text to replace with
Top

PROTECTED WriteTempTableToFile ()

Purpose: Writes the Temp-Table content into a class file
Notes:



©2006-2020 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       04.02.2020 23:40:52