PST File Format SDK v0.4
Loading...
Searching...
No Matches
database.h File Reference

Database implementation. More...

#include <fstream>
#include <memory>
#include "pstsdk/util/btree.h"
#include "pstsdk/util/errors.h"
#include "pstsdk/util/primitives.h"
#include "pstsdk/util/util.h"
#include "pstsdk/disk/disk.h"
#include "pstsdk/ndb/node.h"
#include "pstsdk/ndb/page.h"
#include "pstsdk/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  pstsdk::database_impl< T >
 PST implementation. More...
 

Namespaces

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

Typedefs

typedef database_impl< ulonglongpstsdk::large_pst
 
typedef database_impl< ulongpstsdk::small_pst
 

Functions

shared_db_ptr pstsdk::open_database (const std::wstring &filename)
 Open a db_context for the given file.
 
shared_db_ptr pstsdk::open_database (std::shared_ptr< file > file)
 Open a db_context for the given file instance.
 
shared_db_ptr pstsdk::open_database (const shared_db_ptr &other_database)
 Open a db_context by copying the in-memory header and file handle from another db_context.
 
std::shared_ptr< small_pstpstsdk::open_small_pst (const std::wstring &filename)
 Try to open the given file as an ANSI store.
 
std::shared_ptr< small_pstpstsdk::open_small_pst (std::shared_ptr< file > file)
 Try to open the given file as an ANSI store with custom file instance.
 
std::shared_ptr< large_pstpstsdk::open_large_pst (const std::wstring &filename)
 Try to open the given file as a Unicode store.
 
std::shared_ptr< large_pstpstsdk::open_large_pst (std::shared_ptr< file > file)
 Try to open the given file as a Unicode store with custom file instance.
 

Detailed Description

Database implementation.

Author
Terry Mahaffey

Contains the db_context implementations for ANSI and Unicode stores

Definition in file database.h.