pythoncom.gif
blank.gif blank.gif blank.gif Home Page

Module win32com.makegw.makegwparse - Utilities for makegw - Parse a header file to build an interface


SYNOPSIS

# Parent Module
win32com.makegw
# Classes
ArgFormatter  # An instance for a specific type of argument.  Knows how to convert itself
ArgFormatterBSTR
ArgFormatterIID
ArgFormatterInterface
ArgFormatterLARGE_INTEGER
ArgFormatterOLECHAR
ArgFormatterPythonCOM  # An arg formatter for types exposed in the PythonCOM module
ArgFormatterSTATSTG
ArgFormatterSimple  # An arg formatter for simple integer etc types
ArgFormatterTime
ArgFormatterULARGE_INTEGER
Argument  # A representation of an argument to a COM method
Interface  # A representation of a C++ COM Interface
Method  # A representation of a C++ method on a COM interface

# Functions
find_interface  # Find and return an interface in a file
def make_arg_converter(arg)
parse_interface_info  # Find, parse and return an interface in a file
def test_regex(r,text)

# Variables
dictionary AllConverters = {'const IID': (<class ArgF ...
dictionary ConvertSimpleTypes = {'BREAKRESUMEACTION': ('in ...
int ENDMARKER = 0
string error_not_found = 'The requested item could  ...
string error_not_supported = 'The required functionalit ...
string key = 'UINT'

DESCRIPTION

This module contains the core code for parsing a header file describing a COM interface, and building it into an "Interface" structure.

Each Interface has methods, and each method has arguments.

Each argument knows how to use Py_BuildValue or Py_ParseTuple to exchange itself with Python.

See the win32com.makegw module for information in building a COM interface


blank.gif blank.gif blank.gif Home Page
www_icon.gif

Copyright © Greg Stein, Mark Hammond, Curt Hagenlocher and a few other contributors
All Rights Reserved
Comments to author:
Generated: Sun Apr 20 1997