GME  13
Classes | Public Types | Public Member Functions
CMgaMap< ObjectProxy > Class Template Reference

#include <MgaMap.h>

List of all members.

Classes

class  CMgaObjectProxyMapItem

Public Types

typedef CMap< HTREEITEM,
HTREEITEM, LPUNKNOWN,
LPUNKNOWN > 
CMapItem2Object
typedef CMap< LPUNKNOWN,
LPUNKNOWN,
CMgaObjectProxyMapItem
*, CMgaObjectProxyMapItem * > 
CMapObject2Item

Public Member Functions

 CMgaMap ()
virtual ~CMgaMap ()
void DestroyMap ()
BOOL LookupTreeItem (CMgaObjectProxy MgaObjectProxy, HTREEITEM &hTreeItem)
BOOL LookupObjectProxy (HTREEITEM hTreeItem, ObjectProxy &rObjectProxy)
BOOL RemoveTreeItem (HTREEITEM hTreeItem)
BOOL RemoveObjectProxy (CMgaObjectProxy MgaObjectProxy)
ObjectProxy & AddEntry (HTREEITEM hTreeItem, ObjectProxy MgaObjectProxy)
BOOL LookupObjectUnknown (HTREEITEM hTreeItem, LPUNKNOWN &pUnknown)
 _COM_SMARTPTR_TYPEDEF (IMgaObject, __uuidof(IMgaObject))
BOOL SearchTreeItem (BSTR Id, HTREEITEM &hTreeItem, IUnknown *&punk)
BOOL LookupTreeItem (LPUNKNOWN pUnknown, HTREEITEM &hTreeItem)
BOOL bIsInMap (LPUNKNOWN pUnknown)
BOOL bIsInMap (HTREEITEM hTreeItem)
void AddEntry (HTREEITEM hTreeItem, CMgaObjectProxy ObjectProxy)
BOOL RemoveObjectProxy (CMgaObjectProxy MgaObjectProxy)
BOOL RemoveTreeItem (HTREEITEM hTreeItem)
BOOL LookupTreeItem (CMgaObjectProxy MgaObjectProxy, HTREEITEM &hTreeItem)
BOOL LookupTreeItem (LPUNKNOWN pUnknown, HTREEITEM &hTreeItem)
BOOL LookupObjectProxy (HTREEITEM hTreeItem, CMgaObjectProxy &rObjectProxy)
BOOL bIsInMap (HTREEITEM hTreeItem)
BOOL bIsInMap (LPUNKNOWN pUnknown)
BOOL LookupObjectUnknown (HTREEITEM hTreeItem, LPUNKNOWN &pUnknown)
void DestroyMap ()
 CMgaMap ()
virtual ~CMgaMap ()

Detailed Description

template<class ObjectProxy>
class CMgaMap< ObjectProxy >

Definition at line 19 of file MgaMap.h.


Member Typedef Documentation

template<class ObjectProxy>
typedef CMap<HTREEITEM,HTREEITEM,LPUNKNOWN,LPUNKNOWN> CMgaMap< ObjectProxy >::CMapItem2Object

Definition at line 29 of file MgaMap.h.

template<class ObjectProxy>
typedef CMap<LPUNKNOWN,LPUNKNOWN,CMgaObjectProxyMapItem*,CMgaObjectProxyMapItem*> CMgaMap< ObjectProxy >::CMapObject2Item

Definition at line 30 of file MgaMap.h.


Constructor & Destructor Documentation

template<class ObjectProxy>
CMgaMap< ObjectProxy >::CMgaMap ( ) [inline]

Definition at line 32 of file MgaMap.h.

template<class ObjectProxy>
CMgaMap< ObjectProxy >::~CMgaMap ( ) [inline, virtual]

Definition at line 34 of file MgaMap.h.

template<class ObjectProxy>
CMgaMap< ObjectProxy >::CMgaMap ( )
template<class ObjectProxy>
virtual CMgaMap< ObjectProxy >::~CMgaMap ( ) [virtual]

Member Function Documentation

template<class ObjectProxy>
CMgaMap< ObjectProxy >::_COM_SMARTPTR_TYPEDEF ( IMgaObject  ,
__uuidof(IMgaObject  
)
template<class ObjectProxy>
void CMgaMap< ObjectProxy >::AddEntry ( HTREEITEM  hTreeItem,
CMgaObjectProxy  ObjectProxy 
)

Definition at line 139 of file MgaMap2.cpp.

template<class ObjectProxy>
ObjectProxy& CMgaMap< ObjectProxy >::AddEntry ( HTREEITEM  hTreeItem,
ObjectProxy  MgaObjectProxy 
) [inline]

Definition at line 137 of file MgaMap.h.

template<class ObjectProxy>
BOOL CMgaMap< ObjectProxy >::bIsInMap ( HTREEITEM  hTreeItem)
template<class ObjectProxy>
BOOL CMgaMap< ObjectProxy >::bIsInMap ( LPUNKNOWN  pUnknown)
template<class ObjectProxy>
BOOL CMgaMap< ObjectProxy >::bIsInMap ( LPUNKNOWN  pUnknown) [inline]

Definition at line 219 of file MgaMap.h.

template<class ObjectProxy>
BOOL CMgaMap< ObjectProxy >::bIsInMap ( HTREEITEM  hTreeItem) [inline]

Definition at line 228 of file MgaMap.h.

template<class ObjectProxy>
void CMgaMap< ObjectProxy >::DestroyMap ( )
template<class ObjectProxy>
void CMgaMap< ObjectProxy >::DestroyMap ( ) [inline]

Definition at line 38 of file MgaMap.h.

template<class ObjectProxy>
BOOL CMgaMap< ObjectProxy >::LookupObjectProxy ( HTREEITEM  hTreeItem,
CMgaObjectProxy rObjectProxy 
)

Definition at line 77 of file MgaMap2.cpp.

template<class ObjectProxy>
BOOL CMgaMap< ObjectProxy >::LookupObjectProxy ( HTREEITEM  hTreeItem,
ObjectProxy &  rObjectProxy 
) [inline]

Definition at line 67 of file MgaMap.h.

template<class ObjectProxy>
BOOL CMgaMap< ObjectProxy >::LookupObjectUnknown ( HTREEITEM  hTreeItem,
LPUNKNOWN &  pUnknown 
)
template<class ObjectProxy>
BOOL CMgaMap< ObjectProxy >::LookupObjectUnknown ( HTREEITEM  hTreeItem,
LPUNKNOWN &  pUnknown 
) [inline]

Definition at line 162 of file MgaMap.h.

template<class ObjectProxy>
BOOL CMgaMap< ObjectProxy >::LookupTreeItem ( CMgaObjectProxy  MgaObjectProxy,
HTREEITEM &  hTreeItem 
)
template<class ObjectProxy>
BOOL CMgaMap< ObjectProxy >::LookupTreeItem ( LPUNKNOWN  pUnknown,
HTREEITEM &  hTreeItem 
)
template<class ObjectProxy>
BOOL CMgaMap< ObjectProxy >::LookupTreeItem ( CMgaObjectProxy  MgaObjectProxy,
HTREEITEM &  hTreeItem 
) [inline]

Definition at line 60 of file MgaMap.h.

template<class ObjectProxy>
BOOL CMgaMap< ObjectProxy >::LookupTreeItem ( LPUNKNOWN  pUnknown,
HTREEITEM &  hTreeItem 
) [inline]

Definition at line 203 of file MgaMap.h.

template<class ObjectProxy>
BOOL CMgaMap< ObjectProxy >::RemoveObjectProxy ( CMgaObjectProxy  MgaObjectProxy)
template<class ObjectProxy>
BOOL CMgaMap< ObjectProxy >::RemoveObjectProxy ( CMgaObjectProxy  MgaObjectProxy) [inline]

Definition at line 113 of file MgaMap.h.

template<class ObjectProxy>
BOOL CMgaMap< ObjectProxy >::RemoveTreeItem ( HTREEITEM  hTreeItem)
template<class ObjectProxy>
BOOL CMgaMap< ObjectProxy >::RemoveTreeItem ( HTREEITEM  hTreeItem) [inline]

Definition at line 86 of file MgaMap.h.

template<class ObjectProxy>
BOOL CMgaMap< ObjectProxy >::SearchTreeItem ( BSTR  Id,
HTREEITEM &  hTreeItem,
IUnknown *&  punk 
) [inline]

Definition at line 171 of file MgaMap.h.


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