|
PST File Format SDK v0.4
|
Collaboration diagram for Database:Classes | |
| class | pstsdk::database_impl< T > |
| PST implementation. More... | |
| class | pstsdk::db_context |
| Database external interface. More... | |
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_pst > | pstsdk::open_small_pst (const std::wstring &filename) |
| Try to open the given file as an ANSI store. | |
| std::shared_ptr< small_pst > | pstsdk::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_pst > | pstsdk::open_large_pst (const std::wstring &filename) |
| Try to open the given file as a Unicode store. | |
| std::shared_ptr< large_pst > | pstsdk::open_large_pst (std::shared_ptr< file > file) |
| Try to open the given file as a Unicode store with custom file instance. | |
|
inline |
Open a db_context by copying the in-memory header and file handle from another db_context.
| [in] | other_database | A reference to an existing shared_db_ptr to copy from |
Definition at line 319 of file database.h.
|
inline |
Open a db_context for the given file.
| invalid_format | if the file format is not understood |
| runtime_error | if an error occurs opening the file |
| crc_fail | (PSTSDK_VALIDATION_LEVEL_WEAK) if the CRC of this header doesn't match |
| [in] | filename | The filename to open |
Definition at line 260 of file database.h.
|
inline |
Open a db_context for the given file instance.
| invalid_format | if the file format is not understood |
| runtime_error | if an error occurs opening the file |
| crc_fail | (PSTSDK_VALIDATION_LEVEL_WEAK) if the CRC of this header doesn't match |
| [in] | file | A shared_ptr to a file instance (e.g., backed by custom filesystem) |
Definition at line 300 of file database.h.
|
inline |
Try to open the given file as a Unicode store.
| invalid_format | if the file format is not Unicode |
| runtime_error | if an error occurs opening the file |
| crc_fail | (PSTSDK_VALIDATION_LEVEL_WEAK) if the CRC of this header doesn't match |
| [in] | filename | The filename to open |
Definition at line 288 of file database.h.
|
inline |
Try to open the given file as a Unicode store with custom file instance.
| invalid_format | if the file format is not Unicode |
| runtime_error | if an error occurs opening the file |
| crc_fail | (PSTSDK_VALIDATION_LEVEL_WEAK) if the CRC of this header doesn't match |
| [in] | file | A shared_ptr to a file instance |
Definition at line 294 of file database.h.
|
inline |
Try to open the given file as an ANSI store.
| invalid_format | if the file format is not ANSI |
| runtime_error | if an error occurs opening the file |
| crc_fail | (PSTSDK_VALIDATION_LEVEL_WEAK) if the CRC of this header doesn't match |
| [in] | filename | The filename to open |
Definition at line 276 of file database.h.
|
inline |
Try to open the given file as an ANSI store with custom file instance.
| invalid_format | if the file format is not ANSI |
| runtime_error | if an error occurs opening the file |
| crc_fail | (PSTSDK_VALIDATION_LEVEL_WEAK) if the CRC of this header doesn't match |
| [in] | file | A shared_ptr to a file instance |
Definition at line 282 of file database.h.