.. # split from OEBioFunctions.rst:513

.. include:: ../substitutions

.. oe:namespace:: OEBio

.. meta::
   :keywords: OEMolComplexOrderRoleFactory

.. oe:function:: OEMolComplexOrderRoleFactory

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

      .. oe:api::

         OESystem::OERole OEMolComplexOrderRoleFactory(unsigned order)

   .. oe:language:: python

      .. oe:api:: python

         OEMolComplexOrderRoleFactory(order: int) -> OERole

   Returns an :ref:`OERole <OESystem_OERole>` object
   corresponding to the specified component order sequence 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


