Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsMapiInterfaceWrapper< tInterface > Struct Template Reference

List of all members.

Public Member Functions

 nsMapiInterfaceWrapper (void)
 ~nsMapiInterfaceWrapper (void)
 operator LPUNKNOWN * (void)
tInterface operator-> (void) const
 operator tInterface * (void)

Public Attributes

tInterface mInterface

Detailed Description

template<class tInterface>
struct nsMapiInterfaceWrapper< tInterface >

Definition at line 63 of file nsAbWinHelper.cpp.


Constructor & Destructor Documentation

template<class tInterface>
nsMapiInterfaceWrapper< tInterface >::nsMapiInterfaceWrapper ( void  ) [inline]

Definition at line 67 of file nsAbWinHelper.cpp.

template<class tInterface>
nsMapiInterfaceWrapper< tInterface >::~nsMapiInterfaceWrapper ( void  ) [inline]

Definition at line 68 of file nsAbWinHelper.cpp.

                                  {
        if (mInterface != NULL) { mInterface->Release() ; }
    }

Member Function Documentation

template<class tInterface>
nsMapiInterfaceWrapper< tInterface >::operator LPUNKNOWN * ( void  ) [inline]

Definition at line 71 of file nsAbWinHelper.cpp.

{ return NS_REINTERPRET_CAST(LPUNKNOWN *, &mInterface) ; }
template<class tInterface>
nsMapiInterfaceWrapper< tInterface >::operator tInterface * ( void  ) [inline]

Definition at line 73 of file nsAbWinHelper.cpp.

{ return &mInterface ; }
template<class tInterface>
tInterface nsMapiInterfaceWrapper< tInterface >::operator-> ( void  ) const [inline]

Definition at line 72 of file nsAbWinHelper.cpp.

{ return mInterface ; }

Member Data Documentation

template<class tInterface>
tInterface nsMapiInterfaceWrapper< tInterface >::mInterface

Definition at line 65 of file nsAbWinHelper.cpp.


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