Namespace: Consultingwerk.Util
Class 
RcodeInfoHelper Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

Purpose: The current OpenEdge rcode version
Notes: See the static constructor for details on how this value is determined



Top Method Summary
Options Name Purpose
+ Consultingwerk.Util.RcodeInfo.RcodeInfo GetRcodeInfo (character) Returns an RcodeInfo object for a program
# ParseRcode (character, RcodeInfo) Reads the rcode to set the RcodeVersion, CrcValue , IsClass and SignatureValue property values

Top Constructor Summary
Options Name Purpose
RcodeInfoHelper () Static constructor
# RcodeInfoHelper () Default constructor for RcodeInfoHelper

Top Property Summary
Options Name Purpose
+ INTEGER OpenEdgeVersion


Method Detail
Top

PUBLIC Consultingwerk.Util.RcodeInfo.RcodeInfo GetRcodeInfo (character)

Purpose: Returns an RcodeInfo object for a program
Notes: Throws an exception if the extension is not one of .r, .cls, .p or .w
The FileName property is always set to the passed-in value.
If the file does not exist, an exception is raised. If the file
does not contain rcode, then the RcodeVersion value is set to ?

Parameters:
pcFileName CHARACTER
The name of the program, either as source or r-code
Returns Consultingwerk.Util.RcodeInfo.RcodeInfo
An RcodeInfo instance representing the program
Top

PROTECTED ParseRcode (character, RcodeInfo)

Purpose: Reads the rcode to set the RcodeVersion, CrcValue , IsClass and SignatureValue
property values
Notes:

Parameters:
pcFileName CHARACTER
the full file name of the rcode file
poRcodeInfo Consultingwerk.Util.RcodeInfo.RcodeInfo
The reference to the RcodeInfo instance to populate values


Constructor Detail
Top

STATIC RcodeInfoHelper ()

Purpose: Static constructor
Notes:

Top

PROTECTED RcodeInfoHelper ()

Purpose: Default constructor for RcodeInfoHelper
Notes:



Property Detail
Top

PUBLIC INTEGER OpenEdgeVersion


Returns INTEGER


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 13:24:02