ProfileClass object

The ProfileClass object provides information about the classes in the performance analysis model, including the routines that exist within a class. You use the ProfileClass object in conjunction with the Profiling object.

The ProfileClass object has no events.

Properties

ProfileClass property

Datatype

Description

ClassDefinition

PowerObject

An object of type PowerObject containing information about the class definition of the object or control.

LibraryName

String

The name of the library that contains the class. The value is " " for system classes and embedded SQL statements.

Name

String

The name of the class or the string Embedded SQL to represent all embedded SQL activities. Nested classes (like controls on a window) have a name of the form class name>embedded class name.


Functions

ProfileClass function

Datatype returned

Description

ClassName in PowerScript Reference

String

Returns the name assigned to the object

GetContextService in PowerScript Reference

Integer

Creates a reference to a context-specific instance of the specified service

GetParent in PowerScript Reference

PowerObject

Returns a reference to the name of the parent object

RoutineList in PowerScript Reference

ErrorReturn (enumerated)

Provides a list of the routines (defined as ProfileRoutine objects) that exist in the model within a class

TypeOf in PowerScript Reference

Object (enumerated)

Returns the type of the object