original_docstring: Writes the client context state header.
docstring: Writes the client context state header.
docstring_tokens: Writes the client context state header .
code: def WriteClientContextStateHeader(self, filename):
      """Writes the client context state header."""
      file = CHeaderWriter(
          filename,
          "// It is included by client_context_state.h\n")
      file.Write("struct EnableFlags {\n")
      file.Write("  EnableFlags();\n")
      for capability in _CAPABILITY_FLAGS:
        file.Write("  bool %s;\n" % capability['name'])
      file.Write("};\n\n")
  
      file.Close()
      self.generated_cpp_filenames.append(file.filename)
code_tokens: def WriteClientContextStateHeader ( self , filename ) : file = CHeaderWriter ( filename , "// It is included by client_context_state.h\n" ) file . Write ( "struct EnableFlags {\n" ) file . Write ( "  EnableFlags();\n" ) for capability in _CAPABILITY_FLAGS : file . Write ( "  bool %s;\n" % capability [ 'name' ] ) file . Write ( "};\n\n" ) file . Close ( ) self . generated_cpp_filenames . append ( file . filename )
short_docstring: Writes the client context state header.
short_docstring_tokens: Writes the client context state header .
comment: """Writes the client context state header."""