.. include:: ../substitutions

.. oe:namespace:: OEChem

.. meta::
   :keywords: OEWriteCSVHeader

.. oe:function:: OEWriteCSVHeader

   .. oe:language:: c++ java csharp

      .. oe:api::

         void OEWriteCSVHeader(oemolostream& ifs, const OECSVHeader& header,
                               unsigned int flavor = OEOFlavor::CSV::DEFAULT)

   .. oe:language:: python

      .. oe:api:: python

         OEWriteCSVHeader(ifs: oemolostream, header: OECSVHeader, flavor: int) -> None

   Write out the column names specified by the
   :ref:`OECSVHeader <OEChem_OECSVHeader>` object into the stream passed as the
   ``ifs`` argument. Nothing will be written if
   :oe:const:`OEChem::OEOFlavor::CSV::Header` is not set.

   .. seealso::

      :ref:`section_moltaggeddata_CSV`

