1 /*=========================================================================
3 Program: Visualization Toolkit
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
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.
14 =========================================================================*/
18 #if defined(__cplusplus)
25 typedef struct _FunctionInfo
27 #if defined(__cplusplus)
32 int NumberOfArguments;
40 int ArgTypes[MAX_ARGS];
41 int ArgCounts[MAX_ARGS];
43 #if defined(__cplusplus)
44 vtkstd::string ArgClasses[MAX_ARGS];
46 char *ArgClasses[MAX_ARGS];
48 int ArgExternals[MAX_ARGS];
51 #if defined(__cplusplus)
52 vtkstd::string ReturnClass;
53 vtkstd::string Comment;
54 vtkstd::string Signature;
64 #if defined(__cplusplus)
66 typedef struct _FileInfo
71 #if defined(__cplusplus)
72 vtkstd::string ClassName;
73 vtkstd::string FileName;
74 vtkstd::string OutputFileName;
75 vtkstd::string SuperClasses[10];
80 char *SuperClasses[10];
83 int NumberOfSuperClasses;
84 int NumberOfFunctions;
85 FunctionInfo Functions[1000];
86 #if defined(__cplusplus)
87 vtkstd::string NameComment;
88 vtkstd::string Description;
89 vtkstd::string Caveats;
90 vtkstd::string SeeAlso;
101 //--------------------------------------------------------------------------nix
103 * This structure is used internally to sort+collect individual functions.
104 * Polymorphed functions will be combined and can be handeled together.
107 typedef struct _UniqueFunctionInfo
109 #if defined(__cplusplus)
114 int TotalPolymorphTypes;
115 #if defined(__cplusplus)
116 vtkstd::vector<FunctionInfo> Function;
118 FunctionInfo Function[20];
123 //--------------------------------------------------------------------------nix
125 * This structure is used to collect and hold class information. It is a
126 * modified version of FileInfo
129 typedef struct _ClassInfo
134 #if defined(__cplusplus)
135 vtkstd::string ClassName;
136 vtkstd::string FileName;
137 vtkstd::string OutputFileName;
138 vtkstd::string SuperClasses[10];
142 char *OutputFileName;
143 char *SuperClasses[10];
146 int NumberOfSuperClasses;
147 int NumberOfFunctions;
148 #if defined(__cplusplus)
149 vtkstd::vector<UniqueFunctionInfo> Functions;
151 UniqueFunctionInfo Functions[1000];
153 #if defined(__cplusplus)
154 vtkstd::string NameComment;
155 vtkstd::string Description;
156 vtkstd::string Caveats;
157 vtkstd::string SeeAlso;
167 #endif //__vtkParse_h