OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
owl::TShellMalloc Class Reference

Wraps the shell's IMalloc interface. More...

#include <owl/shellitm.h>

Inheritance diagram for owl::TShellMalloc:
owl::TComRef< IMalloc > owl::TComRefBase< T >

Public Member Functions

 TShellMalloc ()
 Default constructor for TShellMalloc.
 
 TShellMalloc (const TComRef< IMalloc > &source)
 TShellMalloc constructor to construct from TComRef<IMalloc>
 
 TShellMalloc (const TShellMalloc &source)
 TShellMalloc copy constructor.
 
TShellMallocoperator= (const TComRef< IMalloc > &source)
 TShellMalloc assignment operator (from TComRef<IMalloc>)
 
TShellMallocoperator= (const TShellMalloc &source)
 TShellMalloc assignment operator (from another TShellMalloc)
 
- Public Member Functions inherited from owl::TComRef< IMalloc >
 TComRef ()
 
 TComRef (IMalloc *iface)
 
 TComRef (const TComRef< IMalloc > &i)
 
TComRef< IMalloc > & operator= (IMalloc *iface)
 
TComRef< IMalloc > & operator= (const TComRef< IMalloc > &i)
 
IMallocoperator-> ()
 
IMallocoperator-> () const
 
- Public Member Functions inherited from owl::TComRefBase< T >
 operator T* ()
 
 operator T** ()
 
int operator! () const
 
void operator delete (void *p)
 

Additional Inherited Members

- Protected Member Functions inherited from owl::TComRefBase< T >
 TComRefBase (const TComRefBase< T > &i)
 
 TComRefBase (T *i)
 
 TComRefBase ()
 
 ~TComRefBase ()
 
void Clear ()
 
- Protected Attributes inherited from owl::TComRefBase< T >
T * I
 

Detailed Description

Wraps the shell's IMalloc interface.

Default constructor obtains shell's IMalloc interface. TComRef<IMalloc> and copy constructors supplied. TComRef<IMalloc> and TShellMalloc assignment operators also supplied.

Definition at line 82 of file shellitm.h.

Constructor & Destructor Documentation

◆ TShellMalloc() [1/3]

owl::TShellMalloc::TShellMalloc ( )
inline

Default constructor for TShellMalloc.

For more info, see MS doc for SHGetMalloc (Prog. Guide to MS Win95, p. 208)

Definition at line 663 of file shellitm.h.

References owl::TXShell::Check(), and owl::TShell::SHGetMalloc().

◆ TShellMalloc() [2/3]

owl::TShellMalloc::TShellMalloc ( const TComRef< IMalloc > & source)
inline

TShellMalloc constructor to construct from TComRef<IMalloc>

Definition at line 671 of file shellitm.h.

◆ TShellMalloc() [3/3]

owl::TShellMalloc::TShellMalloc ( const TShellMalloc & source)
inline

TShellMalloc copy constructor.

Definition at line 678 of file shellitm.h.

Member Function Documentation

◆ operator=() [1/2]

TShellMalloc & owl::TShellMalloc::operator= ( const TComRef< IMalloc > & source)
inline

TShellMalloc assignment operator (from TComRef<IMalloc>)

Definition at line 686 of file shellitm.h.

References owl::TComRef< T >::operator=().

◆ operator=() [2/2]

TShellMalloc & owl::TShellMalloc::operator= ( const TShellMalloc & source)
inline

TShellMalloc assignment operator (from another TShellMalloc)

Definition at line 696 of file shellitm.h.

References owl::TComRef< T >::operator=().


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