comet::stl_enumeration< ET > Struct Template Reference

#include <comet/enum.h>

List of all members.

Static Public Member Functions

template<typename C> com_ptr< ET > create (const C &container)
template<typename C, typename TH> com_ptr< ET > create (const C &container, TH *th)
template<typename C, typename TH, typename CONVERTER> com_ptr< ET > create (const C &container, TH *th, const CONVERTER &converter)

Related Functions

(Note that these are not member functions.)

com_ptr< IEnumVARIANT > create_enum (const C &container, TH *th=0)
com_ptr< IEnumVARIANT > create_enum (const C &container, TH *th, CONVERTER converter)
 Creates IEnumVARIANT enumeration of a STL container with a converter.


Detailed Description

template<typename ET>
struct comet::stl_enumeration< ET >

STL Enumeration creation helper.
Parameters:
ET Enumeration Type (COM Interface).


Member Function Documentation

template<typename ET>
template<typename C, typename TH, typename CONVERTER>
com_ptr<ET> comet::stl_enumeration< ET >::create const C &  container,
TH *  th,
const CONVERTER &  converter
[inline, static]
 

Auto-Create a _NewEnum enumerator from an STL container, specifying a converter.

Parameters:
container STL Container.
th Outer or this pointer.
converter Converter type (convert Container element to iterator interface element types).

template<typename ET>
template<typename C, typename TH>
com_ptr<ET> comet::stl_enumeration< ET >::create const C &  container,
TH *  th
[inline, static]
 

Auto-Create a _NewEnum enumerator from an STL container.

Parameters:
container STL Container.
th Outer or this pointer.

template<typename ET>
template<typename C>
com_ptr<ET> comet::stl_enumeration< ET >::create const C &  container  )  [inline, static]
 

Auto-Create a _NewEnum enumerator from an STL container. No contained object.

Parameters:
container STL Container.


Friends And Related Function Documentation

template<typename ET>
com_ptr< IEnumVARIANT > create_enum const C &  container,
TH *  th,
CONVERTER  converter
[related]
 

Creates IEnumVARIANT enumeration of a STL container with a converter.

Parameters:
container STL Container.
th Outer or this pointer.
converter Converter type (convert Container element to VARIANT)
See also:
ptr_converter ptr_converter_select1st ptr_converter_select2nd

template<typename ET>
com_ptr< IEnumVARIANT > create_enum const C &  container,
TH *  th = 0
[related]
 

Creates IEnumVARIANT enumeration of a STL container.

Parameters:
container STL Container.
th Outer or this pointer.
                        com_ptr<IEnumVARIANT> get__NewEnum() {
                                return create_enum( collection_, this );
                        }


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