parameters: (self, func, file)
docstring: Overrriden from TypeHandler.
docstring_summary: Overrriden from TypeHandler.
docstring_tokens: Overrriden from TypeHandler .
function: def WriteImmediateCmdSet(self, func, file):
      """Overrriden from TypeHandler."""
      copy_args = func.MakeCmdArgString("_", False)
      file.Write("  void* Set(void* cmd%s) {\n" %
                 func.MakeTypedCmdArgString("_", True))
      self.WriteImmediateCmdGetTotalSize(func, file)
      file.Write("    static_cast<ValueType*>(cmd)->Init(%s);\n" % copy_args)
      file.Write("    return NextImmediateCmdAddressTotalSize<ValueType>("
                 "cmd, total_size);\n")
      file.Write("  }\n")
      file.Write("\n")
function_tokens: def WriteImmediateCmdSet ( self , func , file ) : copy_args = func . MakeCmdArgString ( "_" , False ) file . Write ( "  void* Set(void* cmd%s) {\n" % func . MakeTypedCmdArgString ( "_" , True ) ) self . WriteImmediateCmdGetTotalSize ( func , file ) file . Write ( "    static_cast<ValueType*>(cmd)->Init(%s);\n" % copy_args ) file . Write ( "    return NextImmediateCmdAddressTotalSize<ValueType>(" "cmd, total_size);\n" ) file . Write ( "  }\n" ) file . Write ( "\n" )