.. # split from OEBioFunctions.rst:566

.. include:: ../substitutions

.. oe:namespace:: OEBio

.. meta::
   :keywords: OEMolComplexSurfaceWatersRoleFactory

.. oe:function:: OEMolComplexSurfaceWatersRoleFactory

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

      .. oe:api::

         OESystem::OERole OEMolComplexSurfaceWatersRoleFactory(unsigned site)

   .. oe:language:: python

      .. oe:api:: python

         OEMolComplexSurfaceWatersRoleFactory(site: int) -> OERole

   Returns an :ref:`OERole <OESystem_OERole>` object
   corresponding to the specified binding site number
   for use in constructing a functional role filter for surface waters.

   .. seealso::

      * :ref:`section_split_mol_complex` section
      * :ref:`OERole <OESystem_OERole>` class
      * :ref:`OEMolComplexFilter <OEBio_OEMolComplexFilter>` class
      * :oe:func:`OEBio::OERoleMolComplexFilterFactory` function


