OpenPetra
Free Administration Software for Non-Profits
Ict.Common.CommonTypes Class Reference

some functions that are useful for operating with the enums defined in Ict.Common More...

Static Public Member Functions

static TDBType ParseDBType (String ADBType)
 convert the string to the enum for the RDBMS System More...
 
static String ExecutingOSEnumToString (TExecutingOSEnum AExecutingOS)
 convert the enum to string for the Operating System More...
 
static String ExecutingOSEnumToString (TExecutingOSEnum AExecutingOS, Boolean ALongDescription)
 convert the enum to string for the Operating System More...
 

Detailed Description

some functions that are useful for operating with the enums defined in Ict.Common

Member Function Documentation

◆ ExecutingOSEnumToString() [1/2]

static String Ict.Common.CommonTypes.ExecutingOSEnumToString ( TExecutingOSEnum  AExecutingOS)
inlinestatic

convert the enum to string for the Operating System

Parameters
AExecutingOSdefines the operating system
Returns
string representing the operating system

◆ ExecutingOSEnumToString() [2/2]

static String Ict.Common.CommonTypes.ExecutingOSEnumToString ( TExecutingOSEnum  AExecutingOS,
Boolean  ALongDescription 
)
inlinestatic

convert the enum to string for the Operating System

Parameters
AExecutingOSdefines the operating system
ALongDescriptionwe want a long description of the OS
Returns
string representing the operating system

◆ ParseDBType()

static TDBType Ict.Common.CommonTypes.ParseDBType ( String  ADBType)
inlinestatic

convert the string to the enum for the RDBMS System

Parameters
ADBTypedefines the chosen database system
Returns
enum value

The documentation for this class was generated from the following file: