Harbour Reference Guide

 

__objGetMethodList()

Return names of all METHOD for a given object

Syntax

__objGetMethodList( <oObject> ) --> aMethodNames

Arguments

<oObject> is an object to scan.

Returns

__objGetMethodList() return an array of character stings with all METHOD names for a given object. __objGetMethodList() would return an empty array {} if the given object does not contain any METHOD.

Description

__objGetMethodList() is a low level class support function that let you find all class functions names for a given object. It is equivalent to __objGetMsgList( oObject, .F. ).
Examples
      // show information about TBrowse class
      oB := TBrowseNew( 0, 0, 24, 79 )
      aMethod := __objGetMethodList( oB )
      FOR i = 1 to len ( aMethod )
          ? "METHOD name:", aMethod[ i ]
      NEXT
Status

Ready

Compliance

__objGetMethodList() is a Harbour extension.

Files

Library is rtl

See Also

 




[Source Forge]

Other Docs Categories

Advantage Database RDD
Array
Binary conversion
Classes
Code Block
Console input
Conversion
Conversion Tools
DOS
Data input and output
Database
Database Tools
Date
Dos Tools
Environment
Error recovery
Events
File management
GT
Harbour Tools
Internal
Low Level
Math
Misc
Miscellaneous
Nation
Object manipulation
Operating System Specific
Parameter Checks
String Tools
Strings
TBrowse Method
TBrowse class
Terminal
Time
Utility
Variable Management

 

Last updated on 2001/06/26