.. _api-zoo:

ZOO
===

The following constants and functions are available for the ZOO class:

Constants
---------

.. list-table::
   :widths: 30 50
   :header-rows: 1

   * - NAME
     - DESCRIPTION
   * - :ref:`SERVICE_ACCEPTED <service_accepted>`
     - {Integer} used for 
   * - :ref:`SERVICE_STARTED <service_started>`
     - {Integer} used for   
   * - :ref:`SERVICE_PAUSED <service_paused>` 
     - {Integer} used for 
   * - :ref:`SERVICE_SUCCEEDED <service_succeeded>`
     - {Integer} used for      
   * - :ref:`SERVICE_FAILED <service_failed>`
     - {Integer} used for        

Functions
---------

.. list-table::
   :widths: 12 50
   :header-rows: 1

   * - NAME
     - DESCRIPTION
   * - :ref:`removeItem <removeItem>`
     - Remove an object from an array.   
   * - :ref:`indexOf <indexOf>` 
     - 
   * - :ref:`extend <extend>` 
     - Copy all properties of a source object to a destination object.  
   * - :ref:`rad <rad>`  
     -     
   * - :ref:`distVincenty <distVincenty>`
     - Given two objects representing points with geographic coordinates, 
       this calculates the distance between those points on the surface of an  
       ellipsoid. 
   * - :ref:`Class <Class>` 
     - Method used to create ZOO classes. 
   * - :ref:`UpdateStatus <UpdateStatus>`
     - Method used to update the status of the process      

**Constants**

.. _service_accepted:

SERVICE_ACCEPTED	
  {Integer} used for
  
.. _service_started:

SERVICE_STARTED
  {Integer} used for
  
.. _service_paused:  

SERVICE_PAUSED	
  {Integer} used for
  
.. _service_succeeded:  

SERVICE_SUCCEEDED
  {Integer} used for
  
.. _service_failed:    
  
SERVICE_FAILED	
  {Integer} used for

**Functions**

.. _removeItem:

removeItem	
  Remove an object from an array.
  
.. _indexOf:

indexOf	

.. _extend:

extend
  Copy all properties of a source object to a destination object.
  
.. _rad:  
  
rad	

.. _distVincenty:

distVincenty	
  Given two objects representing points with geographic coordinates, this calculates the distance between those points on the surface of an ellipsoid.

.. _Class:

Class	
  Method used to create ZOO classes.
  
.. _UpdateStatus:  
  
UpdateStatus	
  Method used to update the status of the process

