#  Copyright (c) 1997-2018
#  Ewgenij Gawrilow, Michael Joswig (Technische Universitaet Berlin, Germany)
#  http://www.polymake.org
#
#  This program is free software; you can redistribute it and/or modify it
#  under the terms of the GNU General Public License as published by the
#  Free Software Foundation; either version 2, or (at your option) any
#  later version: http://www.gnu.org/licenses/gpl.txt.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#-------------------------------------------------------------------------------
#
#  This file is part of the polymake database interface polyDB.
#
#   @author Silke Horn, Andreas Paffenholz
#   http://solros.de
#   http://www.mathematik.tu-darmstadt.de/~paffenholz
#


CREDIT polyDB
   Access to the polymake polytope database.
   (c) 2013-2018 Silke Horn, Andreas Paffenholz
   http://solros.de
   http://www.mathematik.tu-darmstadt.de/~paffenholz

CONFIGURE {
   eval("require MongoDB;");
   if ($@) {
      die "Could not load perl MongoDB module: $@\n\nSee 'help \"install_mongodb\";' for an installation guide.\n";
   } else {
      return 1;
   }
}

require PolyDB;

# @topic category any/Database
# Here you can find the functions to access the polymake database.

# @topic category functions/Database Admin
# These are administrative functions. You need admin access to the database for these.
#
# This category also contains functions that I want to hide from the public because they are not yet completely presentable.

# @topic category functions/Database Write Access
# These are the functions to insert and update objects. You need write access to the database for these.

INCLUDE
  db_templates.rules
  db_query.rules
  db_info.rules
  db_insert.rules
  db_admin.rules
  db_cursor.rules


# Local Variables:
# mode: perl
# cperl-indent-level:3
# indent-tabs-mode:nil
# End:
