#include <comstl/util/value_policies.hpp>
Public Types | |
| typedef STATSTG | value_type |
Static Public Member Functions | |
| static void | init (value_type *p) throw () |
| Initialises an instance. | |
| static void | copy (value_type *dest, value_type const *src) |
| Initialises an instance from another. | |
| static void | clear (value_type *p) throw () |
| Releases an instance. | |
| static void init | ( | value_type * | p | ) | throw () [inline, static] |
Initialises an instance.
In the case of the STATSTG type, this involves setting the pwcsName member to NULL
| static void copy | ( | value_type * | dest, | |
| value_type const * | src | |||
| ) | [inline, static] |
Initialises an instance from another.
In the case of the STATSTG type, this involves a straight byte-for-byte copy of the structure contents, following by invoking olestring_dup() on the pwcsName member, to obtain a deep copy
| comstl::com_exception | If exception support is enabled, an instance of comstl::com_exception will be thrown if the copy cannot be made |
References comstl::olestring_dup().
| static void clear | ( | value_type * | p | ) | throw () [inline, static] |
Releases an instance.
In the case of the STATSTG type, this involves invoking olestring_destroy() on the pwcsName member
References comstl::olestring_destroy().
1.5.6