pycram.datastructures.mixins
============================

.. py:module:: pycram.datastructures.mixins


Classes
-------

.. autoapisummary::

   pycram.datastructures.mixins.HasConcept


Module Contents
---------------

.. py:class:: HasConcept(world: pycram.datastructures.world.World, name: typing_extensions.Optional[str] = None, concept: typing_extensions.Type[pycrap.ontologies.Base] = PhysicalObject, parse_name: bool = True)

   A mixin class that adds an ontological concept and individual to a class that will be registered in PyCRAP.


   .. py:attribute:: ontology_concept
      :type:  typing_extensions.Type[pycrap.ontologies.Base]

      The ontological concept that this class represents.



   .. py:attribute:: ontology_individual
      :type:  typing_extensions.Optional[pycrap.ontologies.Base]
      :value: None


      The individual in the ontology that is connected with this class.



   .. py:attribute:: onto_name
      :type:  typing_extensions.Optional[str]
      :value: None


      The name of the individual in the ontology.



