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< IMalloc >

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.
TShellMalloc & operator= (const TComRef< IMalloc > &source)
 TShellMalloc assignment operator (from TComRef<IMalloc>).
TShellMalloc & operator= (const TShellMalloc &source)
 TShellMalloc assignment operator (from another TShellMalloc).
Public Member Functions inherited from owl::TComRef< IMalloc >
 TComRef ()
TComRef< IMalloc > & operator= (IMalloc *iface)
IMalloc * operator-> ()
Public Member Functions inherited from owl::TComRefBase< IMalloc >
 operator IMalloc * ()
 operator IMalloc ** ()
int operator! () const
void operator delete (void *p)

Additional Inherited Members

Protected Member Functions inherited from owl::TComRefBase< IMalloc >
 TComRefBase (const TComRefBase< IMalloc > &i)
 ~TComRefBase ()
void Clear ()
Protected Attributes inherited from owl::TComRefBase< IMalloc >
IMalloc * 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 668 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 676 of file shellitm.h.

References owl::TComRef< IMalloc >::TComRef().

◆ TShellMalloc() [3/3]

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

TShellMalloc copy constructor.

Definition at line 683 of file shellitm.h.

References owl::TComRef< IMalloc >::TComRef(), and TShellMalloc().

Member Function Documentation

◆ operator=() [1/2]

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

TShellMalloc assignment operator (from TComRef<IMalloc>).

Definition at line 691 of file shellitm.h.

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

◆ operator=() [2/2]

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

TShellMalloc assignment operator (from another TShellMalloc).

Definition at line 701 of file shellitm.h.

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


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