Namespace: OpenEdge.Core
Type: Class IOModeHelper
Parent Classes:
Progress.Lang.Object

Inherits: Progress.Lang.Object


/* *************************************************************************************************************************
Copyright (c) 2017, 2021 by Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.
File:IOModeHelper
Purpose:Helper methods for the OpenEdge.Core.IoModeEnum enum
Author(s):pjudge
Created:2017-08-25
Notes:* This type is abstract to prevent instantiation
Purpose: Returns a formatted string representation of an IoMode, specific to
the parameter type (ParamList, DYN-CALL etc).
Defaults to a simple stringification of the enum.
if unknown or empty, the default format is used.
@throws AssertionFailedError Thrown when an invalid enum is passed in



Method Summary
  Options Name Purpose
  CHARACTER ToString (IOModeEnum, character) /** Returns a formatted string representation of an IoMode, specific to the parameter type (ParamList, DYN-CALL etc). Defaults to a simple stringification of the enum. @param IOModeEnum The enumeration to format @param character The parameter type. Typically a type name (like Progress.Lang.ParameterList); if unknown or empty, the default format is used. @return character A formated string value of the enumeration @throws AssertionFailedError Thrown when an invalid enum is passed in */

Method Detail
Top

CHARACTER ToString (IOModeEnum, character)

Purpose: Returns a formatted string representation of an IoMode, specific to
the parameter type (ParamList, DYN-CALL etc).
Defaults to a simple stringification of the enum.
if unknown or empty, the default format is used.
@throws AssertionFailedError Thrown when an invalid enum is passed in
Parameters:
pMode OpenEdge.Core.IOModeEnum
 
pParameterType CHARACTER
 
Returns CHARACTER
  character A formated string value of the enumeration