|
PST File Format SDK v0.4
|
Search Folder object. More...
#include <folder.h>
Collaboration diagram for pstsdk::search_folder:Public Types | |
| typedef boost::transform_iterator< message_transform_row, const_table_row_iter > | message_iterator |
| Message iterator type; a transform iterator over a table row iterator. | |
Public Member Functions | |
| search_folder (const shared_db_ptr &db, const node &n) | |
| Construct a search folder object. | |
| search_folder (const search_folder &other) | |
| Copy construct a search folder object. | |
| search_folder (search_folder &&other) | |
| Move construct a search folder. | |
| message_iterator | message_begin () const |
| Get an iterator to the first message in this folder. | |
| message_iterator | message_end () const |
| Get the end message iterator. | |
| std::wstring | get_name () const |
| Get the display name of this folder. | |
| size_t | get_unread_message_count () const |
| Get the number of unread messages in this folder. | |
| size_t | get_message_count () const |
| Get the number of messages in this folder. | |
| property_bag & | get_property_bag () |
| Get the property bag backing this folder. | |
| const property_bag & | get_property_bag () const |
| Get the property bag backing this folder. | |
| shared_db_ptr | get_db () const |
| Get the database pointer used by this folder. | |
| table & | get_contents_table () |
| Get the contents table of this folder. | |
| const table & | get_contents_table () const |
| Get the contents table of this folder. | |
| node_id | get_id () const |
| Get the node_id of this search folder. | |
Search Folder object.
Search folders are different from regular folders mainly in that they do not have a hierarchy table (and thus no subfolders). The messages they "contain" are actually in other folders.
This object exists to reflect that limited interface. Eventually this object may support querying the criteria used to create the search folder.
| typedef boost::transform_iterator<message_transform_row, const_table_row_iter> pstsdk::search_folder::message_iterator |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |