pythoncom.gif
Previous Next blank.gif Home Page

Class CoClassItem


SYNOPSIS

import win32com.client.makepy
class CoClassItem(CoClassItem, WritableItem)
  def WriteClass(self)
  def WriteCoClass(self, dispItem, sourceItem)
  def WriteOcxClass(self, dispItem, sourceItem)
  int INDENT = 5

  # Methods inherited by CoClassItem from WritableItem
  def __cmp__(self, other)
  def __repr__(self)

  # Methods inherited by CoClassItem from CoClassItem
  def Build(self, typeinfo, attr, bForUser = 1)
  def __init__(self, doc, sourceItem = None, dispItem = None)

  # Methods inherited by CoClassItem from DispatchItem
  def CountInOutOptArgs(self, argTuple)
  def DoResolveType(self, typeinfo, hrefResult)
  def DoResolveTypeTuple(self, typeTuple, typeinfo)
  def MakeDispatchFuncMethod(self, entry, name, bMakeClass = 1)
  def MakeFuncMethod(self, entry, name, bMakeClass = 1)
  def MakeInterfaceFuncMethod(self, entry, name, bMakeClass = 1)
  def ResolveUserDefined(self, typeTuple, typeinfo)

DESCRIPTION

def CountInOutOptArgs(self, argTuple)

Return tuple counting in/outs/OPTS. Sum of result may not be len(argTuple), as some args may be in/out.

def ResolveUserDefined(self, typeTuple, typeinfo)

Resolve VT_USERDEFINED (often aliases or typed IDispatches)

def __cmp__(self, other)

Compare for sorting

SEE ALSO

win32com.client.makepy

win32com.client.build

win32com.client.makepy


Previous Next 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