How to get a list of all classes of a given namespace ?
I use the following query to get a list of all classes :
select * from %Dictionary.ClassDefinition
where System=0 and Hidden=0
SQLSQL
It works, but AFAIK it return all classes from all namespaces, including the ones defined in %SYS (usually classes they starts with % like %CSP).
I would like to get only classes of current namespace. I have checked all the columns returned by the query and none allow to filter on a given namespace.
The solution I am looking for does not need to be a query, the query I posted above is called from code.
Product version: IRIS 2021.1
$ZV: IRIS for Windows (x86-64) 2021.1 (Build 215U) Wed Jun 9 2021 09:39:22 EDT
@Norman W. Freeman
This query will return the names of all non-system and non-generated classes in the current namespace:
SELECT Name FROM %Library.RoutineMgr_StudioOpenDialog('*.cls',1,1,0,1,0,0)
The documentation for this query and its parameters can be found here.