### Class ArgFormatterIID

## SYNOPSIS

    import win32com.makegw.makegwparse

    class ArgFormatterIID(ArgFormatterPythonCOM)
      def GetBuildForInterfacePreCode(self)
      def GetInterfaceCppObjectInfo(self)
      def GetParsePostCode(self, resultIndirectionLevel = None)
      def _GetPythonTypeDesc(self)

      # Methods inherited by ArgFormatterIID from ArgFormatterPythonCOM
      def DeclareParseArgTupleInputConverter(self)
      def GetBuildForInterfacePostCode(self)
      def GetBuildValueArg(self)
      def GetFormatChar(self)
      def GetParseTupleArg(self)

      # Methods inherited by ArgFormatterIID from ArgFormatter
      def GetAutoduckString(self)
      def GetBuildForGatewayPostCode(self)
      def GetBuildForGatewayPreCode(self)
      def GetIndirectedArgName(self, indirectFrom = None, indirectionTo = None)
      def GetUnconstType(self)
      def NeedUSES_CONVERSION(self)
      def SetGatewayMode(self)
      def _GetDeclaredIndirection(self)
      def _IndirectPrefix(self, indirectionFrom, indirectionTo = None)
      def __init__(self, arg, builtinIndirection, declaredIndirection = 0)

## DESCRIPTION

### def GetBuildForGatewayPostCode(self)

Get a string of C++ code to be executed after (ie, to finalise) the Py_BuildValue conversion for Gateways

### def GetBuildForGatewayPreCode(self)

Get a string of C++ code to be executed before (ie, to initialise) the Py_BuildValue conversion for Gateways

### def NeedUSES_CONVERSION(self)

Determines if this arg forces a USES_CONVERSION macro

### def _IndirectPrefix(self, indirectionFrom, indirectionTo = None)

Given the indirection level I was declared at (0=Normal, 1=*, 2=**) return a string prefix so I can pass to a function with the required indirection (where the default is the indirection of the method's param.

eg, assuming my arg has indirection level of 2, if this function was passed 1 it would return "&", so that a variable declared with indirection of 1 can be prefixed with this to turn it into the indirection level required of 2

## SEE ALSO

win32com.makegw.makegwparse

win32com.makegw.makegwparse

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