// file : odb/schema-catalog.hxx // copyright : Copyright (c) 2009-2013 Code Synthesis Tools CC // license : GNU GPL v2; see accompanying LICENSE file #ifndef ODB_SCHEMA_CATALOG_HXX #define ODB_SCHEMA_CATALOG_HXX #include #include #include // odb::core #include namespace odb { class LIBODB_EXPORT schema_catalog { public: static void create_schema (database&, const std::string& name = ""); static bool exists (database_id, const std::string& name); static bool exists (const database& db, const std::string& name) { return exists (db.id (), name); } }; namespace common { using odb::schema_catalog; } } #include #endif // ODB_SCHEMA_CATALOG_HXX