Functions for Separating Symbols Data

GetFunction Function

The GetFunction function separates data on the function specified.

Declaration:

GetFunction( TFunction FunctionData, string FunctionName, string ModulePath )

Parameters:

FunctionData - variable in which separated data one or more functions are stored,

FunctionName - name of the function whose data are separated,

ModulePath - path of the module in which the function specified is defined. If the function specified is global, ModulePath can be an empty string - "".

Example:

#{ GetFunction( FunctionData, "MyFunction", "" ) }#

GetGlobalConstants Function

The GetGlobalConstants function separates data on all project global constants.

Declaration:

GetGlobalConstants( TCollection<TSymbol> ConstantsData )

Parameters:

ConstantsData - variable in which data on constants are stored,

Example:

#{ GetGlobalConstants( ConstantsData ) }#

GetGlobalFunctions Function

The GetGlobalFunctions function separates data on all project global functions.

Declaration:

GetGlobalFunctions( TCollection<TFunction> FunctionData )

Parameters:

FunctionData - variable in which separated data on one or more functions are stored,

Example:

#{ GetGlobalFunctions( FunctionsData ) }#

GetGlobalMacros Function

The GetGlobalMacros function separates data on all project global macros.

Declaration:

GetGlobalMacros( TCollection<TSymbol> MacrosData )

Parameters:

MacrosData - variable in which data on macros are stored,

Example:

#{ GetGlobalMacros( TypesData ) }#

GetGlobalTypes Function

The GetGlobalTypes function separates data on all global project types.

Declaration:

GetGlobalTypes( TCollection<TSymbol> TypesData )

Parameters:

TypesData - variable in which data on types are stored,

Example:

#{ GetGlobalTypes( TypesData ) }#

GetGlobalVariables Function

The GetGlobalVariables function separates data on all global project variables.

Declaration:

GetGlobalVariables( TCollection<TSymbol> VarablesData )

Parameters:

VariablesData - variable in which data on variables are stored,

Example:

#{ GetGlobalVariables( VariablesData ) }#

GetModuleConstants Function

The GetModuleConstants function separates data on all global and static constants defined in the module specified.

Declaration:

GetModuleConstants( TCollection<TSymbol> ConstantsData, string ModulePath )

Parameters:

ConstantsData - variable in which data on constants are stored,

ModulePath - path of the module for whose constants data are separated.

Example:

#{ GetModuleConstants( ConstantsData, "MatFun\Interpolations.c" ) }#

GetModuleFunctions Function

The GetModuleFunctions function separates data on all functions defined in the module specified.

Declaration:

GetModuleFunctions( TCollection<TFunction> FunctionData, string ModulePath )

Parameters:

FunctionData - variable in which separated data on one or more functions are stored,

ModulePath - data on all functions from the file assigned by this path are separated.

Example:

#{ GetModuleFunctions( FunctionsData, "MatFun\Interpolations.c" ) }#

GetModuleMacros Function

The GetModuleMacros function separates data on all macros visible in the module specified.

Declaration:

GetModuleMacros( TCollection<TSymbol> MacrosData, string ModulePath )

Parameters:

MacrosData - variable in which data on macros are stored,

ModulePath - path of the module for whose macros data are separated.

Example:

#{ GetModuleMacros( TypesData, "MatFun\Interpolations.c" ) }#

GetModuleTypes Function

The GetModuleTypes function separates data on all types defined in the module specified.

Declaration:

GetModuleTypes( TCollection<TSymbol> TypesData, string ModulePath )

Parameters:

TypesData - variable in which data on types are stored,

ModulePath - path of the module for whose types data are separated.

Example:

#{ GetModuleTypes( TypesData, "MatFun\Interpolations.c" ) }#

GetModuleVariables Function

The GetModuleVariables function separates data on all global and static variables defined in the module specified.

Declaration:

GetModuleVariables( TCollection<TSymbol> VariablesData, string ModulePath)

Parameters:

VariablesData - variable in which data on variables are stored,

ModulePath - path of the module for whose variables data are separated.

Example:

#{ GetModuleVariables( VariablesData, "MatFun\Interpolations.c" ) }#

Copyright 1993-2017, RistanCASE GmbH