|
Fairport
v1.0.38
|
Collaboration diagram for Database:Classes | |
| class | fairport::database_impl< T > |
| PST implementation. More... | |
| class | fairport::db_context |
| Database external interface. More... | |
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. | |
| fairport::shared_db_ptr fairport::open_database | ( | const std::wstring & | filename | ) | [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 | (FAIRPORT_VALIDATION_LEVEL_WEAK) if the CRC of this header doesn't match |
| [in] | filename | The filename to open |
Definition at line 209 of file database.h.
| std::tr1::shared_ptr< fairport::large_pst > fairport::open_large_pst | ( | const std::wstring & | filename | ) | [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 | (FAIRPORT_VALIDATION_LEVEL_WEAK) if the CRC of this header doesn't match |
| [in] | filename | The filename to open |
Definition at line 231 of file database.h.
| std::tr1::shared_ptr< fairport::small_pst > fairport::open_small_pst | ( | const std::wstring & | filename | ) | [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 | (FAIRPORT_VALIDATION_LEVEL_WEAK) if the CRC of this header doesn't match |
| [in] | filename | The filename to open |
Definition at line 225 of file database.h.