InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
InterfacePtr< IHyphenatedWord > Class Template Reference

#include <IHyphenatedWord.h>

Public Member Functions

 InterfacePtr (IHyphenatedWord *pFace=nil)
 
 InterfacePtr (const InterfacePtr< IHyphenatedWord > &p)
 
template<class OtherType >
InterfacePtr< IHyphenatedWord > & operator= (const InterfacePtr< OtherType > &p)
 
InterfacePtr< IHyphenatedWord > & operator= (const InterfacePtr< IHyphenatedWord > &p)
 
 operator IHyphenatedWord * () const
 
IHyphenatedWordoperator-> () const
 
bool16 operator! () const
 
IHyphenatedWordforget ()
 
IHyphenatedWordget () const
 
void reset (IHyphenatedWord *p=0)
 

Detailed Description

template<>
class InterfacePtr< IHyphenatedWord >

specialized version of InterfacePtr because IHyphenatedWord is not an interface

Constructor & Destructor Documentation

Copy constructor. Increments the ref count of p by one. We define this to prevent the

compiler from generating a bitwise copying version (template members do not suffice).

Parameters
p[IN] - InterfacePtr to be copied.

Member Function Documentation

template<class OtherType >
InterfacePtr<IHyphenatedWord>& InterfacePtr< IHyphenatedWord >::operator= (const InterfacePtr< OtherType > & p)
inline
Assigment operator. Increments the ref count of p by one.

This one enables InterfacePtr<const IFoo> = InterfacePtr<IFoo>

Parameters
p[IN] - InterfacePtr to be copied.
Assigment operator. Increments the ref count of p by one.

This one enables copying of InterfacePtr of the same types.

Parameters
p[IN] - InterfacePtr to be copied.