A container of properties to be used with classes derived from object. More...
#include <property_container.h>
Public Types | |
typedef property_container_iterator | iterator |
typedef const void * | value_type |
Public Member Functions | |
iterator | begin () const |
iterator | end () const |
uint32_t | fetch () |
Fetches properties with the tags supplied using operator<<. | |
void | fetch_all () |
Fetches ALL properties of the object associated with this container. | |
enum MAPITAGS | get_tag_at (uint32_t pos) |
property_container & | operator<< (uint32_t property_tag) |
Adds a Property Tag to be fetched by fetch(). | |
const void * | operator[] (uint32_t property_tag) |
Finds the property value associated with a property tag. | |
property_container (TALLOC_CTX *memory_ctx, mapi_object_t &mapi_object) | |
Constructor. | |
size_t | size () const |
Get number of properties in container. | |
~property_container () | |
Destructor. |
A container of properties to be used with classes derived from object.
attach_test.cpp, foldertree.cpp, messages.cpp, and test.cpp.
typedef const void* libmapipp::property_container::value_type |
libmapipp::property_container::property_container | ( | TALLOC_CTX * | memory_ctx, |
mapi_object_t & | mapi_object | ||
) | [inline] |
Constructor.
libmapipp::property_container::~property_container | ( | ) | [inline] |
Destructor.
uint32_t libmapipp::property_container::fetch | ( | ) | [inline] |
Fetches properties with the tags supplied using operator<<.
Referenced by libmapipp::attachment::attachment().
void libmapipp::property_container::fetch_all | ( | ) | [inline] |
Fetches ALL properties of the object associated with this container.
enum MAPITAGS libmapipp::property_container::get_tag_at | ( | uint32_t | pos | ) | [inline] |
property_container& libmapipp::property_container::operator<< | ( | uint32_t | property_tag | ) | [inline] |
Adds a Property Tag to be fetched by fetch().
const void* libmapipp::property_container::operator[] | ( | uint32_t | property_tag | ) | [inline] |
Finds the property value associated with a property tag.
property_tag | The Property Tag to be searched for |
size_t libmapipp::property_container::size | ( | ) | const [inline] |
Get number of properties in container.
![]() ![]() ![]() |
This content is licensed under the Creative Commons Attribution ShareAlike License v. 3.0: http://creativecommons.org/licenses/by-sa/3.0/ |