.. oe:namespace:: OESiteHopper


.. oe:constnamespace:: OESiteHopperDatabaseMode

   Control the mode when opening an OESiteHopperDatabase.


   .. oe:constant:: APPEND

      Opening in APPEND mode allows adding more OEDesignUnits to an existing
      database. OESiteHopperDatabaseOptions that are already stored in the 
      database will be used to create new patches.

      If the requested database file does not yet exist, this mode works
      like CREATE.

   .. oe:constant:: CREATE

      Create a new OESiteHopperDatabase file. If the file already exists it
      will be overwritten.


   .. oe:constant:: MAX

      The largest value in the namespace. Useful for verifying that a 
      given mode is valid. This mode is not valid for opening an OESiteHopperDatabase.

   .. oe:constant:: READONLY

      Open a OESiteHopperDatabase file in read-only mode. This is equivalent to
      SEARCH.


   .. oe:constant:: SEARCH

      Open a OESiteHopperDatabase file for searching. This is equivalent to
      READONLY.

   .. oe:constant:: UNDEFINED

      The lowest value in the namespace. Useful for verifying that a 
      given mode is valid. This mode is not valid for opening an OESiteHopperDatabase.

