1#===========================================================================
2#
3#  Program:   Visualization Toolkit
4#  Module:    FindWindowsMangledMethods.cmake
5#
6#  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7#  All rights reserved.
8#  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9#
10#     This software is distributed WITHOUT ANY WARRANTY; without even
11#     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12#     PURPOSE.  See the above copyright notice for more information.
13#
14#===========================================================================
15
16# See README.WindowsMangling.txt for the purpose of this script.
17
18#-----------------------------------------------------------------------------
19# Instructions to use this script:
20#
21# CMake version 2.0.x is required, but 2.0.5 or better is preferred.
22#
23# Set the current working directory to the top of a source tree and
24# run this script with this command:
25#
26#  cmake -P /path/to/FindWindowsMangledMethods.cmake
27#
28# A list of potentially mangled methods will be displayed as output.
29# Each line will consist of a file name and a partial method
30# signature.  Note that Set/Get macros are capable of producing
31# methods that might be mangled.  These are also listed.
32
33IF("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.0)
34  MESSAGE(FATAL_ERROR "CMake 2.0 or higher is required for this script.")
35ENDIF()
36
37# List of symbols that might be mangled.
38SET(SYMBOLS
39AbnormalTermination
40AbortSystemShutdown
41AccessCheckAndAuditAlarm
42AddAtom
43AddFontResource
44AddForm
45AddJob
46AddMonitor
47AddPort
48AddPrintProcessor
49AddPrintProvidor
50AddPrinter
51AddPrinterConnection
52AddPrinterDriver
53AddPrinterDriverEx
54AdvancedDocumentProperties
55AnsiLower
56AnsiLowerBuff
57AnsiNext
58AnsiPrev
59AnsiToOem
60AnsiToOemBuff
61AnsiUpper
62AnsiUpperBuff
63AppendMenu
64BackupEventLog
65BeginUpdateResource
66BuildCommDCB
67BuildCommDCBAndTimeouts
68CallMsgFilter
69CallNamedPipe
70CallWindowProc
71CdChangerClassGuid
72CdRomClassGuid
73CertAddEncodedCertificateToSystemStore
74CertGetNameString
75CertNameToStr
76CertOpenSystemStore
77CertRDNValueToStr
78CertStrToName
79ChangeDisplaySettings
80ChangeDisplaySettingsEx
81ChangeMenu
82ChangeServiceConfig
83ChangeServiceConfig2
84CharLower
85CharLowerBuff
86CharNext
87CharPrev
88CharToOem
89CharToOemBuff
90CharUpper
91CharUpperBuff
92ChooseColor
93ChooseFont
94ClearEventLog
95CommConfigDialog
96CommDlg_OpenSave_GetFilePath
97CommDlg_OpenSave_GetFilePathA
98CommDlg_OpenSave_GetFilePathW
99CommDlg_OpenSave_GetFolderIDList
100CommDlg_OpenSave_GetFolderPath
101CommDlg_OpenSave_GetFolderPathA
102CommDlg_OpenSave_GetFolderPathW
103CommDlg_OpenSave_GetSpec
104CommDlg_OpenSave_GetSpecA
105CommDlg_OpenSave_GetSpecW
106CommDlg_OpenSave_HideControl
107CommDlg_OpenSave_SetControlText
108CommDlg_OpenSave_SetDefExt
109CompareString
110ConfigurePort
111CopyAcceleratorTable
112CopyCursor
113CopyEnhMetaFile
114CopyFile
115CopyMemory
116CopyMetaFile
117CreateAcceleratorTable
118CreateColorSpace
119CreateDC
120CreateDesktop
121CreateDialog
122CreateDialogA
123CreateDialogIndirect
124CreateDialogIndirectA
125CreateDialogIndirectParam
126CreateDialogIndirectW
127CreateDialogParam
128CreateDialogW
129CreateDirectory
130CreateDirectoryEx
131CreateEnhMetaFile
132CreateEvent
133CreateFile
134CreateFileMapping
135CreateFont
136CreateFontIndirect
137CreateIC
138CreateMDIWindow
139CreateMailslot
140CreateMetaFile
141CreateMutex
142CreateNamedPipe
143CreateProcess
144CreateProcessAsUser
145CreatePropertySheetPage
146CreateScalableFontResource
147CreateSemaphore
148CreateService
149CreateWindow
150CreateWindowA
151CreateWindowEx
152CreateWindowStation
153CreateWindowW
154CryptAcquireContext
155CryptBinaryToString
156CryptEnumProviderTypes
157CryptEnumProviders
158CryptGetDefaultProvider
159CryptRetrieveObjectByUrl
160CryptSetProvider
161CryptSetProviderEx
162CryptSignHash
163CryptStringToBinary
164CryptVerifySignature
165DceErrorInqText
166DdeCreateStringHandle
167DdeInitialize
168DdeQueryString
169DecryptFile
170DefDlgProc
171DefFrameProc
172DefHookProc
173DefMDIChildProc
174DefWindowProc
175DefineDosDevice
176DefineHandleTable
177DeleteFile
178DeleteForm
179DeleteMonitor
180DeletePort
181DeletePrintProcessor
182DeletePrintProvidor
183DeletePrinterConnection
184DeletePrinterData
185DeletePrinterDataEx
186DeletePrinterDriver
187DeletePrinterDriverEx
188DeletePrinterKey
189DeviceCapabilities
190DialogBox
191DialogBoxA
192DialogBoxIndirect
193DialogBoxIndirectA
194DialogBoxIndirectParam
195DialogBoxIndirectW
196DialogBoxParam
197DialogBoxW
198DiskClassGuid
199DispatchMessage
200DlgDirList
201DlgDirListComboBox
202DlgDirSelectComboBoxEx
203DlgDirSelectEx
204DoEnvironmentSubst
205DocumentProperties
206DragQueryFile
207DrawState
208DrawText
209DrawTextEx
210EncryptFile
211EndUpdateResource
212EnumCalendarInfo
213EnumCalendarInfoEx
214EnumDateFormats
215EnumDateFormatsEx
216EnumDependentServices
217EnumDesktops
218EnumDisplayDevices
219EnumDisplaySettings
220EnumDisplaySettingsEx
221EnumFontFamilies
222EnumFontFamiliesEx
223EnumFonts
224EnumForms
225EnumICMProfiles
226EnumJobs
227EnumLanguageGroupLocales
228EnumMonitors
229EnumPorts
230EnumPrintProcessorDatatypes
231EnumPrintProcessors
232EnumPrinterData
233EnumPrinterDataEx
234EnumPrinterDrivers
235EnumPrinterKey
236EnumPrinters
237EnumProps
238EnumPropsEx
239EnumResourceLanguages
240EnumResourceNames
241EnumResourceTypes
242EnumServicesStatus
243EnumServicesStatusEx
244EnumSystemCodePages
245EnumSystemLanguageGroups
246EnumSystemLocales
247EnumTaskWindows
248EnumTimeFormats
249EnumUILanguages
250EnumWindowStations
251ExitWindows
252ExpandEnvironmentStrings
253ExtTextOut
254ExtractAssociatedIcon
255ExtractAssociatedIconEx
256ExtractIcon
257ExtractIconEx
258FatalAppExit
259FileEncryptionStatus
260FillConsoleOutputCharacter
261FillMemory
262FindAtom
263FindExecutable
264FindFirstChangeNotification
265FindFirstFile
266FindNextFile
267FindResource
268FindResourceEx
269FindText
270FindWindow
271FindWindowEx
272FloppyClassGuid
273FoldString
274FormatMessage
275FreeEnvironmentStrings
276FreeModule
277FreeProcInstance
278GetAltTabInfo
279GetAtomName
280GetBValue
281GetBinaryType
282GetCPInfoEx
283GetCValue
284GetCalendarInfo
285GetCharABCWidths
286GetCharABCWidthsFloat
287GetCharWidth
288GetCharWidth32
289GetCharWidthFloat
290GetCharacterPlacement
291GetClassInfo
292GetClassInfoEx
293GetClassLong
294GetClassLongPtr
295GetClassLongPtrA
296GetClassLongPtrW
297GetClassName
298GetClipboardFormatName
299GetCommandLine
300GetCompressedFileSize
301GetComputerName
302GetConsoleTitle
303GetCurrencyFormat
304GetCurrentDirectory
305GetCurrentTime
306GetDateFormat
307GetDefaultCommConfig
308GetDefaultPrinter
309GetDiskFreeSpace
310GetDiskFreeSpaceEx
311GetDlgItemText
312GetDriveType
313GetEnhMetaFile
314GetEnhMetaFileDescription
315GetEnvironmentStringsA
316GetEnvironmentVariable
317GetExceptionCode
318GetExceptionInformation
319GetExpandedName
320GetFileAttributes
321GetFileAttributesEx
322GetFileSecurity
323GetFileTitle
324GetFileVersionInfo
325GetFileVersionInfoSize
326GetFirmwareEnvironmentVariable
327GetForm
328GetFreeSpace
329GetFullPathName
330GetGValue
331GetGeoInfo
332GetGlyphOutline
333GetICMProfile
334GetJob
335GetKValue
336GetKerningPairs
337GetKeyNameText
338GetKeyboardLayoutName
339GetLocaleInfo
340GetLogColorSpace
341GetLogicalDriveStrings
342GetLongPathName
343GetMValue
344GetMenuItemInfo
345GetMenuString
346GetMessage
347GetMetaFile
348GetModuleFileName
349GetModuleHandle
350GetMonitorInfo
351GetNamedPipeHandleState
352GetNextWindow
353GetNumberFormat
354GetObject
355GetOpenCardName
356GetOpenFileName
357GetOutlineTextMetrics
358GetPrintProcessorDirectory
359GetPrinter
360GetPrinterData
361GetPrinterDataEx
362GetPrinterDriver
363GetPrinterDriverDirectory
364GetPrivateProfileInt
365GetPrivateProfileSection
366GetPrivateProfileSectionNames
367GetPrivateProfileString
368GetPrivateProfileStruct
369GetProfileInt
370GetProfileSection
371GetProfileString
372GetProp
373GetRValue
374GetSaveFileName
375GetScode
376GetServiceDisplayName
377GetServiceKeyName
378GetShortPathName
379GetStartupInfo
380GetStringTypeEx
381GetSysModalWindow
382GetSystemDirectory
383GetSystemWindowsDirectory
384GetTabbedTextExtent
385GetTempFileName
386GetTempPath
387GetTextExtentExPoint
388GetTextExtentPoint
389GetTextExtentPoint32
390GetTextFace
391GetTextMetrics
392GetTimeFormat
393GetUrlPolicyPermissions
394GetUserName
395GetUserObjectInformation
396GetVersionEx
397GetVolumeInformation
398GetWindowLong
399GetWindowLongPtr
400GetWindowLongPtrA
401GetWindowLongPtrW
402GetWindowModuleFileName
403GetWindowTask
404GetWindowText
405GetWindowTextLength
406GetWindowsDirectory
407GetYValue
408GlobalAddAtom
409GlobalDiscard
410GlobalFindAtom
411GlobalGetAtomName
412GlobalLRUNewest
413GlobalLRUOldest
414GrayString
415HandleToLong
416HandleToULong
417HandleToUlong
418HasOverlappedIoCompleted
419ImmConfigureIME
420ImmEnumRegisterWord
421ImmEscape
422ImmGetCandidateList
423ImmGetCandidateListCount
424ImmGetCompositionFont
425ImmGetCompositionString
426ImmGetConversionList
427ImmGetDescription
428ImmGetGuideLine
429ImmGetIMEFileName
430ImmGetImeMenuItems
431ImmGetRegisterWordStyle
432ImmInstallIME
433ImmIsUIMessage
434ImmRegisterWord
435ImmSetCompositionFont
436ImmSetCompositionString
437ImmUnregisterWord
438InitiateSystemShutdown
439InitiateSystemShutdownEx
440InsertMenu
441InsertMenuItem
442Int32x32To64
443IntToPtr
444InterlockedCompareExchangePointer
445InterlockedExchangePointer
446IsBadStringPtr
447IsCharAlpha
448IsCharAlphaNumeric
449IsCharLower
450IsCharUpper
451IsContainerPartition
452IsDialogMessage
453IsEqualCLSID
454IsEqualFMTID
455IsEqualIID
456IsFTPartition
457IsHashValCompatible
458IsLFNDrive
459IsLoggingEnabled
460IsRecognizedPartition
461IsReparseTagMicrosoft
462IsReparseTagNameSurrogate
463IsValidDevmode
464LimitEmsPages
465LoadAccelerators
466LoadBitmap
467LoadCursor
468LoadCursorFromFile
469LoadIcon
470LoadImage
471LoadKeyboardLayout
472LoadLibrary
473LoadLibraryEx
474LoadMenu
475LoadMenuIndirect
476LoadString
477LocalDiscard
478LockSegment
479LogonUser
480LogonUserEx
481LongToHandle
482LongToPtr
483LookupAccountName
484LookupAccountSid
485LookupPrivilegeDisplayName
486LookupPrivilegeName
487LookupPrivilegeValue
488MakeProcInstance
489MapVirtualKey
490MapVirtualKeyEx
491MaxNumberOfEEInfoParams
492MediumChangerClassGuid
493MessageBox
494MessageBoxEx
495MessageBoxIndirect
496ModifyMenu
497MoveFile
498MoveFileEx
499MoveMemory
500MultinetGetConnectionPerformance
501NdrFcLong
502NdrFcShort
503NdrFieldOffset
504NdrFieldPad
505NdrMarshCCtxtHdl
506NdrMarshConfStringHdr
507NdrMarshSCtxtHdl
508NdrUnMarshCCtxtHdl
509NdrUnMarshConfStringHdr
510NdrUnMarshSCtxtHdl
511ObjectCloseAuditAlarm
512ObjectDeleteAuditAlarm
513ObjectOpenAuditAlarm
514ObjectPrivilegeAuditAlarm
515OemToAnsi
516OemToAnsiBuff
517OemToChar
518OemToCharBuff
519OpenBackupEventLog
520OpenDesktop
521OpenEncryptedFileRaw
522OpenEvent
523OpenEventLog
524OpenFileMapping
525OpenMutex
526OpenPrinter
527OpenSCManager
528OpenSemaphore
529OpenService
530OpenWindowStation
531OutputDebugStr
532OutputDebugString
533PageSetupDlg
534PartitionClassGuid
535PeekConsoleInput
536PeekMessage
537PlaySound
538PolyTextOut
539PostAppMessage
540PostAppMessageA
541PostAppMessageW
542PostMessage
543PostThreadMessage
544PrintDlg
545PrintDlgEx
546PrinterMessageBox
547PrivateExtractIcons
548PrivilegedServiceAuditAlarm
549PropSheet_AddPage
550PropSheet_Apply
551PropSheet_CancelToClose
552PropSheet_Changed
553PropSheet_GetCurrentPageHwnd
554PropSheet_GetResult
555PropSheet_GetTabControl
556PropSheet_HwndToIndex
557PropSheet_IdToIndex
558PropSheet_IndexToHwnd
559PropSheet_IndexToId
560PropSheet_IndexToPage
561PropSheet_InsertPage
562PropSheet_IsDialogMessage
563PropSheet_PageToIndex
564PropSheet_PressButton
565PropSheet_QuerySiblings
566PropSheet_RebootSystem
567PropSheet_RecalcPageSizes
568PropSheet_RemovePage
569PropSheet_RestartWindows
570PropSheet_SetCurSel
571PropSheet_SetCurSelByID
572PropSheet_SetFinishText
573PropSheet_SetHeaderSubTitle
574PropSheet_SetHeaderTitle
575PropSheet_SetTitle
576PropSheet_SetWizButtons
577PropSheet_UnChanged
578PropagateResult
579PropertySheet
580PtrToInt
581PtrToLong
582PtrToShort
583PtrToUint
584PtrToUlong
585PtrToUshort
586QueryDosDevice
587QueryServiceConfig
588QueryServiceConfig2
589QueryServiceLockStatus
590ReadConsole
591ReadConsoleInput
592ReadConsoleOutput
593ReadConsoleOutputCharacter
594ReadEventLog
595RealGetWindowClass
596RegConnectRegistry
597RegCreateKey
598RegCreateKeyEx
599RegDeleteKey
600RegDeleteValue
601RegEnumKey
602RegEnumKeyEx
603RegEnumValue
604RegLoadKey
605RegOpenKey
606RegOpenKeyEx
607RegQueryInfoKey
608RegQueryMultipleValues
609RegQueryValue
610RegQueryValueEx
611RegReplaceKey
612RegRestoreKey
613RegSaveKey
614RegSaveKeyEx
615RegSetValue
616RegSetValueEx
617RegUnLoadKey
618RegisterClass
619RegisterClassEx
620RegisterClipboardFormat
621RegisterDeviceNotification
622RegisterEventSource
623RegisterServiceCtrlHandler
624RegisterServiceCtrlHandlerEx
625RegisterWindowMessage
626RemoveDirectory
627RemoveFontResource
628RemoveProp
629ReplaceText
630ReportEvent
631ResetDC
632ResetPrinter
633ResultFromScode
634RpcAbnormalTermination
635RpcAsyncGetCallHandle
636RpcBindingFromStringBinding
637RpcBindingInqAuthClient
638RpcBindingInqAuthClientEx
639RpcBindingInqAuthInfo
640RpcBindingInqAuthInfoEx
641RpcBindingSetAuthInfo
642RpcBindingSetAuthInfoEx
643RpcBindingToStringBinding
644RpcEndExcept
645RpcEndFinally
646RpcEpRegister
647RpcEpRegisterNoReplace
648RpcExcept
649RpcExceptionCode
650RpcFinally
651RpcMgmtEpEltInqNext
652RpcMgmtInqServerPrincName
653RpcNetworkInqProtseqs
654RpcNetworkIsProtseqValid
655RpcNsBindingExport
656RpcNsBindingExportPnP
657RpcNsBindingImportBegin
658RpcNsBindingInqEntryName
659RpcNsBindingLookupBegin
660RpcNsBindingUnexport
661RpcNsBindingUnexportPnP
662RpcNsEntryExpandName
663RpcNsEntryObjectInqBegin
664RpcNsGroupDelete
665RpcNsGroupMbrAdd
666RpcNsGroupMbrInqBegin
667RpcNsGroupMbrInqNext
668RpcNsGroupMbrRemove
669RpcNsMgmtBindingUnexport
670RpcNsMgmtEntryCreate
671RpcNsMgmtEntryDelete
672RpcNsMgmtEntryInqIfIds
673RpcNsProfileDelete
674RpcNsProfileEltAdd
675RpcNsProfileEltInqBegin
676RpcNsProfileEltInqNext
677RpcNsProfileEltRemove
678RpcProtseqVectorFree
679RpcServerInqCallAttributes
680RpcServerInqDefaultPrincName
681RpcServerRegisterAuthInfo
682RpcServerUseProtseq
683RpcServerUseProtseqEp
684RpcServerUseProtseqEpEx
685RpcServerUseProtseqEx
686RpcServerUseProtseqIf
687RpcServerUseProtseqIfEx
688RpcStringBindingCompose
689RpcStringBindingParse
690RpcStringFree
691RpcTryExcept
692RpcTryFinally
693RtlCopyMemory
694RtlEqualMemory
695RtlFillMemory
696RtlMoveMemory
697RtlZeroMemory
698ScrollConsoleScreenBuffer
699SearchPath
700SecureZeroMemory
701SendDlgItemMessage
702SendMessage
703SendMessageCallback
704SendMessageTimeout
705SendNotifyMessage
706SetCalendarInfo
707SetClassLong
708SetClassLongPtr
709SetClassLongPtrA
710SetClassLongPtrW
711SetComputerName
712SetConsoleTitle
713SetCurrentDirectory
714SetDefaultCommConfig
715SetDefaultPrinter
716SetDlgItemText
717SetEnvironmentStrings
718SetEnvironmentVariable
719SetFileAttributes
720SetFileSecurity
721SetFileShortName
722SetFirmwareEnvironmentVariable
723SetForm
724SetICMProfile
725SetJob
726SetLocaleInfo
727SetMenuItemInfo
728SetPort
729SetPrinter
730SetPrinterData
731SetPrinterDataEx
732SetProp
733SetSwapAreaSize
734SetSysModalWindow
735SetUrlPolicyPermissions
736SetUserObjectInformation
737SetVolumeLabel
738SetWindowLong
739SetWindowLongPtr
740SetWindowLongPtrA
741SetWindowLongPtrW
742SetWindowText
743SetWindowsHook
744SetWindowsHookEx
745ShellAbout
746ShellExecute
747ShellExecuteEx
748ShellMessageBox
749Shell_NotifyIcon
750StartDoc
751StartDocPrinter
752StartService
753StartServiceCtrlDispatcher
754StoragePortClassGuid
755SystemParametersInfo
756TabbedTextOut
757TapeClassGuid
758TextOut
759TranslateAccelerator
760UintToPtr
761UlongToHandle
762UlongToPtr
763UnlockResource
764UnlockSegment
765UnregisterClass
766UpdateICMRegKey
767UpdateResource
768UuidFromString
769UuidToString
770VarBoolFromInt
771VarBoolFromUint
772VarBstrFromInt
773VarBstrFromUint
774VarCyFromInt
775VarCyFromUint
776VarDateFromInt
777VarDateFromUint
778VarDecFromInt
779VarDecFromUint
780VarI1FromInt
781VarI1FromUint
782VarI2FromInt
783VarI2FromUint
784VarI4FromI4
785VarI4FromInt
786VarI4FromUint
787VarI8FromI8
788VarI8FromInt
789VarI8FromUint
790VarIntFromBool
791VarIntFromCy
792VarIntFromDate
793VarIntFromDec
794VarIntFromDisp
795VarIntFromI1
796VarIntFromI2
797VarIntFromI4
798VarIntFromI8
799VarIntFromR4
800VarIntFromR8
801VarIntFromStr
802VarIntFromUI1
803VarIntFromUI2
804VarIntFromUI4
805VarIntFromUI8
806VarIntFromUint
807VarR4FromInt
808VarR4FromUint
809VarR8FromInt
810VarR8FromUint
811VarUI1FromInt
812VarUI1FromUint
813VarUI2FromInt
814VarUI2FromUint
815VarUI4FromInt
816VarUI4FromUI4
817VarUI4FromUint
818VarUI8FromUI8
819VarUintFromBool
820VarUintFromCy
821VarUintFromDate
822VarUintFromDec
823VarUintFromDisp
824VarUintFromI1
825VarUintFromI2
826VarUintFromI4
827VarUintFromI8
828VarUintFromInt
829VarUintFromR4
830VarUintFromR8
831VarUintFromStr
832VarUintFromUI1
833VarUintFromUI2
834VarUintFromUI4
835VarUintFromUI8
836VerFindFile
837VerInstallFile
838VerLanguageName
839VerQueryValue
840VerifyVersionInfo
841VkKeyScan
842VkKeyScanEx
843VolumeClassGuid
844WaitNamedPipe
845WinExecError
846WinHelp
847WriteConsole
848WriteConsoleInput
849WriteConsoleOutput
850WriteConsoleOutputCharacter
851WriteOnceDiskClassGuid
852WritePrivateProfileSection
853WritePrivateProfileString
854WritePrivateProfileStruct
855WriteProfileSection
856WriteProfileString
857XcvDataZeroMemory
858)
859
860# Construct regular expressions to look for methods or Set/Get macros
861# that define names that might be mangled.
862SET(DIRECT_REGEX "[^>A-Za-z0-9](")
863SET(MACRO_REGEX "vtk[A-Za-z0-9]*Macro *\\((")
864SET(SEP1 "")
865SET(SEP2 "")
866FOREACH(s ${SYMBOLS})
867  SET(DIRECT_REGEX "${DIRECT_REGEX}${SEP1}${s}")
868  SET(SEP1 "|")
869  IF("${s}" MATCHES "^(Get|Set)")
870    STRING(REGEX REPLACE "^(Set|Get)(.+)$" "\\2" IVAR "${s}")
871    IF(IVAR)
872      SET(MACRO_REGEX "${MACRO_REGEX}${SEP2}${IVAR}")
873      SET(SEP2 "|")
874    ENDIF()
875  ENDIF()
876ENDFOREACH()
877SET(DIRECT_REGEX "${DIRECT_REGEX})\\([^)]*\\)")
878SET(MACRO_REGEX "${MACRO_REGEX})[^A-Za-z0-9_][^)]*\\)")
879
880# Find all VTK class header files in the current directory and below.
881FILE(GLOB_RECURSE VTK_CLASS_HEADERS "vtk*.h")
882
883# Look for potentially mangled names.
884FOREACH(h ${VTK_CLASS_HEADERS})
885  # Read this class header.
886  FILE(READ "${h}" CONTENTS)
887
888  # Look for Set/Get macros defining methods with potentially mangled names.
889  STRING(REGEX MATCH "${MACRO_REGEX}" OUTPUT "${CONTENTS}")
890  IF(OUTPUT)
891    MESSAGE("${h}: ${OUTPUT}")
892  ENDIF()
893
894  # Look for methods with potentially mangled names.
895  STRING(REGEX MATCH "${DIRECT_REGEX}" OUTPUT "${CONTENTS}")
896  IF(OUTPUT)
897    MESSAGE("${h}: ${OUTPUT}")
898  ENDIF()
899ENDFOREACH()
900