# HG changeset patch # User Sebastien Jodogne # Date 1719934064 -7200 # Node ID 0cb98433a382e7e00846dcf060d0f74afd3a1390 # Parent 87e546600cbedff4a7a04d1763a110a1d49c8db1 print statistics diff -r 87e546600cbe -r 0cb98433a382 CodeAnalysis/GenerateOrthancSDK.py --- a/CodeAnalysis/GenerateOrthancSDK.py Tue Jul 02 17:03:08 2024 +0200 +++ b/CodeAnalysis/GenerateOrthancSDK.py Tue Jul 02 17:27:44 2024 +0200 @@ -438,3 +438,12 @@ 'enumerations' : sortedEnumerations, 'global_functions' : sortedGlobalFunctions, })) + + +countMethods = 0 +for c in sortedClasses: + countMethods += len(c['methods']) + +print('\nNumber of wrapped global functions: %d' % len(sortedGlobalFunctions)) +print('Number of wrapped methods: %d\n' % countMethods) +print('Total number of wrapped global functions or methods: %d\n' % (len(sortedGlobalFunctions) + countMethods))