00001 /* $Id: ssParse.h,v 1.3 2004/07/14 14:03:58 pfb Exp $ */ 00002 00003 #ifndef _ssParse_h 00004 #define _ssParse_h 00005 00006 /*========================================================================= 00007 00008 Program: Visualization Toolkit 00009 Module: $RCSfile: ssParse.h,v $ 00010 Language: C++ 00011 Date: $Date: 2004/07/14 14:03:58 $ 00012 Version: $Revision: 1.3 $ 00013 00014 00015 Copyright (c) 1993-2001 Ken Martin, Will Schroeder, Bill Lorensen 00016 All rights reserved. 00017 00018 Redistribution and use in source and binary forms, with or without 00019 modification, are permitted provided that the following conditions are met: 00020 00021 * Redistributions of source code must retain the above copyright notice, 00022 this list of conditions and the following disclaimer. 00023 00024 * Redistributions in binary form must reproduce the above copyright notice, 00025 this list of conditions and the following disclaimer in the documentation 00026 and/or other materials provided with the distribution. 00027 00028 * Neither name of Ken Martin, Will Schroeder, or Bill Lorensen nor the names 00029 of any contributors may be used to endorse or promote products derived 00030 from this software without specific prior written permission. 00031 00032 * Modified source versions must be plainly marked as such, and must not be 00033 misrepresented as being the original software. 00034 00035 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' 00036 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 00037 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 00038 ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR 00039 ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 00040 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 00041 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 00042 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 00043 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 00044 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00045 00046 =========================================================================*/ 00047 00048 #define MAX_ARGS 20 00049 00050 typedef struct _FunctionInfo 00051 { 00052 char *Name; 00053 int NumberOfArguments; 00054 int ArrayFailure; 00055 int IsPureVirtual; 00056 int IsPublic; 00057 int IsProtected; 00058 int IsOperator; 00059 int HaveHint; 00060 int HintSize; 00061 int ArgTypes[MAX_ARGS]; 00062 int ArgCounts[MAX_ARGS]; 00063 char *ArgClasses[MAX_ARGS]; 00064 int ReturnType; 00065 char *ReturnClass; 00066 char *Comment; 00067 char *Signature; 00068 } FunctionInfo; 00069 00070 typedef struct _FileInfo 00071 { 00072 int HasDelete; 00073 int IsAbstract; 00074 int IsConcrete; 00075 char *ClassName; 00076 char *FileName; 00077 char *SuperClasses[10]; 00078 int NumberOfSuperClasses; 00079 int NumberOfFunctions; 00080 FunctionInfo Functions[1000]; 00081 char *NameComment; 00082 char *Description; 00083 char *Caveats; 00084 char *SeeAlso; 00085 char *Package; 00086 } FileInfo; 00087 00088 /* 00089 * $Log: ssParse.h,v $ 00090 * Revision 1.3 2004/07/14 14:03:58 pfb 00091 * Cosmetic changes. 00092 * 00093 * Revision 1.2 2003/02/26 06:47:49 pfb 00094 * Work over of the guard defines. 00095 * 00096 * Revision 1.1 2001/07/12 19:08:24 pfb 00097 * Initial rev. 00098 * 00099 * 00100 */ 00101 #endif // _ssParse_h