MAPIC++ClientLibraryBindings 2.0 API Documentation

- Main Page
- Related Pages
- Namespaces
- Classes
- Examples

- Class List
- Class Hierarchy
- Class Members

Public Member Functions | List of all members
libmapipp::property_container Class Reference

A container of properties to be used with classes derived from object. More...

`#include <property_container.h>`

## Public Member Functions
uint32_t | fetch ()
| Fetches properties with the tags supplied using operator<<.
void | fetch_all ()
| Fetches ALL properties of the object associated with this container.
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.

## Detailed Description

A container of properties to be used with classes derived from object.

Examples:
  attach_test.cpp, foldertree.cpp, messages.cpp, and test.cpp.

## Member Function Documentation

uint32_t libmapipp::property_container::fetch | ( |  | ) |
| inline

Fetches properties with the tags supplied using operator<<.

Returns
  The number of objects that were fetched.

Examples:
  attach_test.cpp, foldertree.cpp, messages.cpp, and test.cpp.

const void* libmapipp::property_container::operator[] | ( | uint32_t | property_tag | ) |
| inline

Finds the property value associated with a property tag.

Parameters

  property_tag | The Property Tag to be searched for

Returns
  Property Value as a const void pointer

The documentation for this class was generated from the following file:

- libmapi++/property_container.h

| This content is licensed under the Creative Commons Attribution ShareAlike License v. 3.0: http://creativecommons.org/licenses/by-sa/3.0/