.. # split from OEBioFunctions.rst:549

.. include:: ../substitutions

.. oe:namespace:: OEBio

.. meta::
   :keywords: OEMolComplexSiteRoleFactory

.. oe:function:: OEMolComplexSiteRoleFactory

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

      .. oe:api::

         OESystem::OERole OEMolComplexSiteRoleFactory(unsigned site)

   .. oe:language:: python

      .. oe:api:: python

         OEMolComplexSiteRoleFactory(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.

   .. seealso::

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

