// file : odb/forward.hxx // copyright : Copyright (c) 2009-2012 Code Synthesis Tools CC // license : GNU GPL v2; see accompanying LICENSE file #ifndef ODB_FORWARD_HXX #define ODB_FORWARD_HXX #include #include #include namespace odb { class database; class connection; typedef details::shared_ptr connection_ptr; class transaction; class statement; class session; namespace core { using odb::database; using odb::connection; using odb::connection_ptr; using odb::transaction; using odb::statement; using odb::session; } // Tracing. // class tracer; // Not in core. extern LIBODB_EXPORT tracer& stderr_tracer; namespace core { using odb::stderr_tracer; } // Implementation details. // class access { public: template class object_traits; template class object_factory; template class view_traits; template class view_factory; template class pointer_factory; template class composite_value_traits; template class container_traits; }; template struct object_traits; template struct view_traits; // Cache traits. // template struct no_id_pointer_cache_traits; template struct no_op_pointer_cache_traits; template struct pointer_cache_traits; template struct no_id_reference_cache_traits; template struct no_op_reference_cache_traits; template struct reference_cache_traits; // Polymorphism support. // template struct polymorphic_map; namespace details { template <> struct counter_type { typedef shared_base counter; }; } } #include #endif // ODB_FORWARD_HXX