Share via


IAtlStringMgr Class

This class represents the interface to a CStringT memory manager.

__interface IAtlStringMgr

Members

Methods

Allocate

Call this method to allocate a new string data structure.

Clone

Call this method to return a pointer to a new string manager for use with another instance of CSimpleStringT.

Free

Call this method to free a string data structure.

GetNilString

Returns a pointer to the CStringData object used by empty string objects.

Reallocate

Call this method to reallocate a string data structure.

Remarks

This interface manages the memory used by the MFC-independent string classes; such as CSimpleStringT, CStringT, and CFixedStringT.

You can also use this class to implement a custom memory manager for your custom string class. For more information, see Memory Management and CStringT.

Requirements

Header: atlsimpstr.h

See Also

Reference

Hierarchy Chart

Other Resources

ATL/MFC Shared Classes