original_docstring: Writes the cmd's Set function.
docstring: Writes the cmd's Set function.
docstring_tokens: Writes the cmd ' s Set function .
code: def WriteCmdSet(self, file):
      """Writes the cmd's Set function."""
      copy_args = self.MakeCmdArgString("_", False)
      file.Write("  void* Set(void* cmd%s) {\n" %
                 self.MakeTypedCmdArgString("_", True))
      file.Write("    static_cast<ValueType*>(cmd)->Init(%s);\n" % copy_args)
      file.Write("    return NextCmdAddress<ValueType>(cmd);\n")
      file.Write("  }\n")
      file.Write("\n")
code_tokens: def WriteCmdSet ( self , file ) : copy_args = self . MakeCmdArgString ( "_" , False ) file . Write ( "  void* Set(void* cmd%s) {\n" % self . MakeTypedCmdArgString ( "_" , True ) ) file . Write ( "    static_cast<ValueType*>(cmd)->Init(%s);\n" % copy_args ) file . Write ( "    return NextCmdAddress<ValueType>(cmd);\n" ) file . Write ( "  }\n" ) file . Write ( "\n" )
short_docstring: Writes the cmd's Set function.
short_docstring_tokens: Writes the cmd ' s Set function .
comment: """Writes the cmd's Set function."""