|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include <atlstr.h>


Static Public Member Functions | |
| static IAtlStringMgr * | GetInstance (void) |
Public Attributes | |
| virtual _Ret_maybenull_ _In_ int | CharSize |
| CStringData * | StrData |
| SizeBytes = sizeof(CStringData) + ((NumChars + 1) * CharSize) | |
| StrData = static_cast<CStringData*>(m_MemMgr->Allocate(SizeBytes)) | |
| StrData | pStringMgr = this |
| StrData | nRefs = 1 |
| StrData | nAllocLength = NumChars |
| StrData | nDataLength = 0 |
| return | StrData |
| virtual _Ret_maybenull_ _In_ int | nChars |
| virtual _Ret_maybenull_ _In_ int _In_ int nCharSize | noexcept |
| CStringData * | pNewData |
| ULONG | SizeBytes |
| ULONG | nDataBytes |
| nChars | |
| nDataBytes = nChars * nCharSize | |
| pNewData = static_cast<CStringData*>(m_MemMgr->Reallocate(StrData, SizeBytes)) | |
| pNewData | nAllocLength = nChars - 1 |
| return | pNewData |
Public Attributes inherited from ATL::IAtlStringMgr | |
| virtual _Ret_maybenull_ _In_ int | nCharSize = 0 |
| virtual _Ret_maybenull_ _In_ int | nAllocLength |
| virtual _Ret_maybenull_ _In_ int _In_ int | nCharSize = 0 |
Protected Attributes | |
| IAtlMemMgr * | m_MemMgr |
| CNilStringData | m_NilStrData |
Static Private Member Functions | |
| static bool | StaticInitialize () |
|
inline |
Definition at line 18 of file atlstr.h.
|
inlinevirtual |
|
virtual |
|
virtual |
|
inlinevirtualnoexcept |
|
inlinevirtual |
|
inlinestatic |
Definition at line 28 of file atlstr.h.
Referenced by ATL::StrTraitATL< _BaseType, StringIterator >::GetDefaultManager(), StaticInitialize(), Test_Exporter(), and Test_Importer().
|
inlinevirtualnoexcept |
|
inlinestaticprivate |
| virtual _Ret_maybenull_ _In_ int ATL::CAtlStringMgr::CharSize |
|
protected |
|
protected |
Definition at line 15 of file atlstr.h.
Referenced by CAtlStringMgr(), and GetNilString().
| virtual _Ret_maybenull_ _In_ int ATL::CAtlStringMgr::nChars |
| CStringData* ATL::CAtlStringMgr::pNewData |
| ATL::CAtlStringMgr::pNewData = static_cast<CStringData*>(m_MemMgr->Reallocate(StrData, SizeBytes)) |
| ATL::CAtlStringMgr::SizeBytes = sizeof(CStringData) + ((NumChars + 1) * CharSize) |
| CStringData* ATL::CAtlStringMgr::StrData |
| ATL::CAtlStringMgr::StrData = static_cast<CStringData*>(m_MemMgr->Allocate(SizeBytes)) |