.. include:: ../substitutions

.. oe:namespace:: OEChem

.. meta::
   :keywords: OESetDefaultFlavors

.. oe:function:: OESetDefaultFlavors

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

      .. oe:api::

         bool OESetDefaultFlavors(oemolistream &)

   .. oe:language:: python

      .. oe:api:: python

         OESetDefaultFlavors(arg1: oemolistream) -> bool

   Sets the flavors for all of the file formats associated with
   the :ref:`oemolistream <OEChem_oemolistream>` object to their default state.
   The :ref:`oemolistream <OEChem_oemolistream>` constructor invokes this function to initialize its input file format flavors.

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

      .. oe:api::

         bool OESetDefaultFlavors(oemolostream &)

   .. oe:language:: python

      .. oe:api:: python

         OESetDefaultFlavors(arg1: oemolostream) -> bool

   Sets the flavors for all of the file formats associated with
   the :ref:`oemolostream <OEChem_oemolostream>` object to their default state.
   The :ref:`oemolostream <OEChem_oemolostream>` constructor invokes this function to initialize its output file format flavors.

   .. seealso::
 
      * :oe:func:`OEChem::OESetDefaultIFlavors` and :oe:func:`OEChem::OESetDefaultOFlavors` functions
      * :oe:func:`OEChem::OEGetDefaultIFlavor` and :oe:func:`OEChem::OEGetDefaultOFlavor` functions
      * :ref:`the OEFormat namespace <OEChem_OEFormat>`
      * :oe:constns:`OEChem::OEIFlavor` and :oe:constns:`OEChem::OEOFlavor` namespaces
      * :oe:meth:`OEChem::oemolstreambase::SetFlavor` and :oe:meth:`OEChem::oemolstreambase::GetFlavor` methods
