1 *** swig.h.old Wed Feb 04 14:59:40 1998
2 --- swig.h Fri Aug 28 14:46:32 1998
10 + // -------------------------------------------------------------------
11 + // Simple Vector class
12 + // User is responsible for deleting contents before deleteing Vector
13 + // -------------------------------------------------------------------
17 + Vector(size_t allocSize=8);
20 + size_t size() { return m_size; }
21 + size_t count() { return m_count; }
22 + size_t append(void* object);
23 + size_t extend(size_t newSize);
25 + void*& operator[] (size_t idx);
27 + static void* s_nullPtr;
36 /************************************************************************
39 * Defines the basic datatypes supported by the translator.
43 extern char *name_get(char *vname, int suppress=0);
44 extern char *name_set(char *vname, int suppress=0);
45 extern char *name_construct(char *classname, int suppress=0);
46 extern char *name_destroy(char *classname, int suppress=0);
48 + // ----------------------------------------------------------------------
51 + // Class for managing class members (internally)
52 + // ----------------------------------------------------------------------
58 + char *classname; // Real class name
59 + char *classrename; // New name of class (if applicable)
60 + char *classtype; // class type (struct, union, class)
61 + int strip; // Strip off class declarator
62 + int wextern; // Value of extern wrapper variable for this class
63 + int have_constructor; // Status bit indicating if we've seen a constructor
64 + int have_destructor; // Status bit indicating if a destructor has been seen
65 + int is_abstract; // Status bit indicating if this is an abstract class
66 + int generate_default; // Generate default constructors
67 + int objective_c; // Set if this is an objective C class
68 + int error; // Set if this class can't be generated
69 + int line; // Line number
70 + char **baseclass; // Base classes (if any)
71 + Hash *local; // Hash table for local types
72 + Hash *scope; // Local scope hash table
73 + DocEntry *de; // Documentation entry of class
74 + CPP_member *members; // Linked list of members
75 + CPP_class *next; // Next class
76 + static CPP_class *classlist; // List of all classes stored
80 + CPP_class(char *name, char *ctype);
81 + void add_member(CPP_member *m);
82 + CPP_member *search_member(char *name);
83 + void inherit_decls(int mode);
85 + static CPP_class *search(char *name);
86 + void create_default();
87 + static void create_all();
90 + extern CPP_class *current_class;
92 /***********************************************************************
95 * Revision 1.1 1998/10/03 05:56:02 RD
96 * *** empty log message ***