Fairport  v1.0.38
fairport/ndb/database.h File Reference

Database implementation. More...

#include <fstream>
#include <memory>
#include "fairport/util/btree.h"
#include "fairport/util/errors.h"
#include "fairport/util/primitives.h"
#include "fairport/util/util.h"
#include "fairport/disk/disk.h"
#include "fairport/ndb/node.h"
#include "fairport/ndb/page.h"
#include "fairport/ndb/database_iface.h"
+ Include dependency graph for database.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  fairport::database_impl< T >
 PST implementation. More...

Namespaces

namespace  fairport
 

Contains the definition of all in memory representations of disk structures.


Typedefs

typedef database_impl< ulonglong > fairport::large_pst
typedef database_impl< ulong > fairport::small_pst

Functions

shared_db_ptr fairport::open_database (const std::wstring &filename)
 Open a db_context for the given file.
std::tr1::shared_ptr< small_pst > fairport::open_small_pst (const std::wstring &filename)
 Try to open the given file as an ANSI store.
std::tr1::shared_ptr< large_pst > fairport::open_large_pst (const std::wstring &filename)
 Try to open the given file as a Unicode store.

Detailed Description

Database implementation.

Author:
Terry Mahaffey

Contains the db_context implementations for ANSI and Unicode stores

Definition in file database.h.