ReactOS 0.4.16-dev-122-g325d74c
|
#include <atlsimpstr.h>
Public Types | |
typedef ChTraitsBase< BaseType >::XCHAR | XCHAR |
typedef ChTraitsBase< BaseType >::PXSTR | PXSTR |
typedef ChTraitsBase< BaseType >::PCXSTR | PCXSTR |
typedef ChTraitsBase< BaseType >::YCHAR | YCHAR |
typedef ChTraitsBase< BaseType >::PYSTR | PYSTR |
typedef ChTraitsBase< BaseType >::PCYSTR | PCYSTR |
Static Public Member Functions | |
static void __cdecl | CopyChars (_Out_writes_to_(nDestLen, nChars) XCHAR *pchDest, _In_ size_t nDestLen, _In_reads_opt_(nChars) const XCHAR *pchSrc, _In_ int nChars) noexcept |
static void __cdecl | CopyCharsOverlapped (_Out_writes_to_(nDestLen, nDestLen) XCHAR *pchDest, _In_ size_t nDestLen, _In_reads_(nChars) const XCHAR *pchSrc, _In_ int nChars) noexcept |
static int __cdecl | StringLength (_In_opt_z_ const char *psz) noexcept |
static int __cdecl | StringLength (_In_opt_z_ const wchar_t *psz) noexcept |
Static Protected Member Functions | |
static void __cdecl | Concatenate (_Inout_ CSimpleStringT &strResult, _In_count_(nLength1) PCXSTR psz1, _In_ int nLength1, _In_count_(nLength2) PCXSTR psz2, _In_ int nLength2) |
static void | ThrowMemoryException () |
static void | ThrowInvalidArgException () |
Private Member Functions | |
void | Attach (_Inout_ CStringData *pData) noexcept |
__declspec (noinline) void Fork(_In_ int nLength) | |
PXSTR | PrepareWrite (_In_ int nLength) |
void | PrepareWrite2 (_In_ int nLength) |
void | Reallocate (_In_ int nLength) |
void | SetLength (_In_ int nLength) |
Static Private Member Functions | |
static CStringData *__cdecl | CloneData (_Inout_ CStringData *pData) |
Private Attributes | |
PXSTR | m_pszData |
Friends | |
CSimpleStringT | operator+ (_In_ const CSimpleStringT &str1, _In_ const CSimpleStringT &str2) |
CSimpleStringT | operator+ (_In_ const CSimpleStringT &str1, _In_z_ PCXSTR psz2) |
CSimpleStringT | operator+ (_In_z_ PCXSTR psz1, _In_ const CSimpleStringT &str2) |
Definition at line 137 of file atlsimpstr.h.
typedef ChTraitsBase<BaseType>::PCXSTR ATL::CSimpleStringT< BaseType, t_bMFCDLL >::PCXSTR |
Definition at line 142 of file atlsimpstr.h.
typedef ChTraitsBase<BaseType>::PCYSTR ATL::CSimpleStringT< BaseType, t_bMFCDLL >::PCYSTR |
Definition at line 145 of file atlsimpstr.h.
typedef ChTraitsBase<BaseType>::PXSTR ATL::CSimpleStringT< BaseType, t_bMFCDLL >::PXSTR |
Definition at line 141 of file atlsimpstr.h.
typedef ChTraitsBase<BaseType>::PYSTR ATL::CSimpleStringT< BaseType, t_bMFCDLL >::PYSTR |
Definition at line 144 of file atlsimpstr.h.
typedef ChTraitsBase<BaseType>::XCHAR ATL::CSimpleStringT< BaseType, t_bMFCDLL >::XCHAR |
Definition at line 140 of file atlsimpstr.h.
typedef ChTraitsBase<BaseType>::YCHAR ATL::CSimpleStringT< BaseType, t_bMFCDLL >::YCHAR |
Definition at line 143 of file atlsimpstr.h.
|
inlineexplicit |
Definition at line 151 of file atlsimpstr.h.
|
inline |
Definition at line 157 of file atlsimpstr.h.
|
inline |
Definition at line 164 of file atlsimpstr.h.
|
inline |
Definition at line 178 of file atlsimpstr.h.
|
inlinenoexcept |
Definition at line 196 of file atlsimpstr.h.
|
inlineprivate |
Definition at line 508 of file atlsimpstr.h.
|
inline |
Definition at line 352 of file atlsimpstr.h.
|
inline |
Definition at line 304 of file atlsimpstr.h.
|
inline |
Definition at line 271 of file atlsimpstr.h.
Referenced by ATL::CSimpleStringT< BaseType, t_bMFCDLL >::Append(), ATL::CSimpleStringT< BaseType, t_bMFCDLL >::operator+=(), and CZipExtract::ShowExtractError().
|
inline |
Definition at line 299 of file atlsimpstr.h.
|
inlineprivatenoexcept |
Definition at line 503 of file atlsimpstr.h.
Referenced by ATL::CSimpleStringT< BaseType, t_bMFCDLL >::__declspec(), ATL::CSimpleStringT< BaseType, t_bMFCDLL >::CSimpleStringT(), ATL::CSimpleStringT< BaseType, t_bMFCDLL >::Empty(), ATL::CSimpleStringT< BaseType, t_bMFCDLL >::operator=(), and ATL::CSimpleStringT< BaseType, t_bMFCDLL >::Reallocate().
|
inlinestaticprivate |
Definition at line 600 of file atlsimpstr.h.
Referenced by ATL::CSimpleStringT< BaseType, t_bMFCDLL >::CSimpleStringT(), and ATL::CSimpleStringT< BaseType, t_bMFCDLL >::operator=().
|
inlinestaticprotected |
Definition at line 488 of file atlsimpstr.h.
|
inlinestaticnoexcept |
Definition at line 438 of file atlsimpstr.h.
Referenced by ATL::CSimpleStringT< BaseType, t_bMFCDLL >::__declspec(), ATL::CSimpleStringT< BaseType, t_bMFCDLL >::Append(), ATL::CSimpleStringT< BaseType, t_bMFCDLL >::CloneData(), ATL::CSimpleStringT< BaseType, t_bMFCDLL >::Concatenate(), ATL::CSimpleStringT< BaseType, t_bMFCDLL >::CSimpleStringT(), and ATL::CSimpleStringT< BaseType, t_bMFCDLL >::SetString().
|
inlinestaticnoexcept |
Definition at line 447 of file atlsimpstr.h.
Referenced by ATL::CSimpleStringT< BaseType, t_bMFCDLL >::SetString().
|
inlinenoexcept |
Definition at line 253 of file atlsimpstr.h.
Referenced by DoTestCaseB(), CInstalledApplicationInfo::GetApplicationRegString(), GetStorageDirectory(), CConfigParser::GetString(), CAutoComplete::LoadQuickComplete(), CDownloaderProgress::OnSetText(), ParseCmdAndExecute(), CAppScrnshotPreview::PreviousDisplayCleanup(), ATL::CSimpleStringT< BaseType, t_bMFCDLL >::SetString(), Test_Exporter(), and Test_Importer().
|
inlinenoexcept |
Definition at line 357 of file atlsimpstr.h.
Referenced by CCharMapWindow::ChangeMapFont(), ExtractFilesFromZip(), and ATL::CSimpleStringT< BaseType, t_bMFCDLL >::SetString().
|
inline |
Definition at line 340 of file atlsimpstr.h.
Referenced by ATL::CSimpleStringT< BaseType, t_bMFCDLL >::Append(), CConfigParser::CacheINI(), CAvailableApplicationInfo::CAvailableApplicationInfo(), CCharMapWindow::ChangeMapFont(), ChooseFolder(), CAppsListView::CompareFunc(), CZipExtract::CZipExtract(), CAppScrnshotPreview::DisplayImage(), CMyDocsDropHandler::Drop(), CDeskLinkDropHandler::Drop(), CAppDB::EnumerateFiles(), RunOnceExEntry::Exec(), ExtractAndInstallThread(), ExtractFilesFromZip(), ATL::CTimeSpan::Format(), ATL::CTime::Format(), ATL::CTime::FormatGmt(), CInstalledApplicationInfo::GetApplicationRegString(), GetDefaultDownloadDirectory(), GetStorageDirectory(), CLayerUIPropPage::InitFile(), MultiByteToWide(), CZipEnumerator::next(), CZipPassword::OnButton(), CZipExtract::CExtractSettingsPage::OnWizardNext(), CSendToMenu::QueryContextMenu(), CCopyAsPathMenu::QueryContextMenu(), CShellLink::QueryContextMenu(), CCopyMoveToMenu::QueryContextMenuImpl(), CAsyncLoadIcon::Queue(), ReadString(), CInstalledApplicationInfo::RetrieveInstallDate(), ATL::CSimpleStringT< BaseType, t_bMFCDLL >::SetString(), anonymous_namespace{settingsdlg.cpp}::SettingsDlgProc(), SHGetIniStringW(), StartProcess(), CFindFolder::StartSearch(), CCharMapWindow::StatusBarLoadString(), CDownloadManager::ThreadFunc(), tmToStr(), and WideToMultiByte().
|
inlinenoexcept |
Definition at line 399 of file atlsimpstr.h.
Referenced by ATL::CSimpleStringT< BaseType, t_bMFCDLL >::__declspec(), ATL::CSimpleStringT< BaseType, t_bMFCDLL >::Empty(), ATL::CSimpleStringT< BaseType, t_bMFCDLL >::GetAllocLength(), ATL::CSimpleStringT< BaseType, t_bMFCDLL >::GetBuffer(), ATL::CSimpleStringT< BaseType, t_bMFCDLL >::GetLength(), ATL::CSimpleStringT< BaseType, t_bMFCDLL >::GetManager(), ATL::CSimpleStringT< BaseType, t_bMFCDLL >::operator=(), ATL::CSimpleStringT< BaseType, t_bMFCDLL >::PrepareWrite(), ATL::CSimpleStringT< BaseType, t_bMFCDLL >::PrepareWrite2(), ATL::CSimpleStringT< BaseType, t_bMFCDLL >::Reallocate(), ATL::CSimpleStringT< BaseType, t_bMFCDLL >::SetLength(), and ATL::CSimpleStringT< BaseType, t_bMFCDLL >::~CSimpleStringT().
|
inlinenoexcept |
Definition at line 362 of file atlsimpstr.h.
Referenced by CACLCustomMRU::AddMRUString(), ATL::CSimpleStringT< BaseType, t_bMFCDLL >::Append(), CConfigParser::CacheINI(), CAutoComplete::DoAutoAppend(), DoesMatch(), CMyDocsDropHandler::Drop(), ExtractAndInstallThread(), CFontExt::GetDetailsOf(), CACListISF::GetPaths(), RecycleBin5::Init(), CLayerUIPropPage::InitFile(), ATL::CSimpleStringT< BaseType, t_bMFCDLL >::IsEmpty(), CAutoComplete::OnEditKeyDown(), CAppsListView::OnEraseBackground(), CACListView::OnLButtonDown(), CDownloaderProgress::OnPaint(), CACLCustomMRU::PersistMRU(), CAsyncLoadIcon::Queue(), CConfigParser::ReadSection(), CInstalledApplicationInfo::RetrieveInstallDate(), CInstalledApplicationInfo::RetrieveUninstallStrings(), ATL::CSimpleStringT< BaseType, t_bMFCDLL >::SetString(), anonymous_namespace{settingsdlg.cpp}::SettingsDlgProc(), CZipExtract::ShowExtractError(), and ValidateStringSettings().
|
inlinenoexcept |
Definition at line 404 of file atlsimpstr.h.
|
inlinenoexcept |
Definition at line 371 of file atlsimpstr.h.
|
inlinenoexcept |
Definition at line 367 of file atlsimpstr.h.
Referenced by ATL::CSimpleStringT< BaseType, t_bMFCDLL >::Append(), CMainWindow::Create(), CMainToolbar::Create(), CreateShortcut(), CAppScrnshotPreview::DisplayImage(), DisplayTrayProperties(), CDownloadManager::DownloadDlgProc(), CFontExt::Drop(), CZipExtract::Extract(), ExtractAndInstallThread(), ExtractFilesFromCab(), CFontInfo::File(), FNFDINOTIFY(), FontFolderMenuCallback(), LoadAndInitialize(), MessageBox_LoadString(), CZipExtract::CExtractSettingsPage::OnBrowse(), CApplicationView::OnCommand(), CAppsListView::OnEraseBackground(), CConfirmReplace::OnInitDialog(), CZipPassword::OnInitDialog(), CDownloaderProgress::OnPaint(), CAppScrnshotPreview::PreviousDisplayCleanup(), CConfigParser::ReadSection(), CInstalledApplicationInfo::RetrieveInstallDate(), CAvailableApplicationInfo::RetrieveScreenshot(), CInstalledApplicationInfo::RetrieveUninstallStrings(), CDowloadingAppsListView::SetDownloadStatus(), CDownloaderProgress::SetProgress(), ATL::CSimpleStringT< BaseType, t_bMFCDLL >::SetString(), CZipExtract::ShowExtractError(), CDownloadManager::ThreadFunc(), ValidateStringSettings(), wmain(), and wWinMain().
|
inlinenoexcept |
Definition at line 394 of file atlsimpstr.h.
Referenced by CMainWindow::AddApplicationsToView(), CConfigParser::CacheINI(), CInstalledApplicationInfo::CanModify(), ChooseFolder(), CompareVersion(), ContentsMatch(), copy_dir_to_dir(), copy_file_to_file(), CAutoComplete::DoAutoAppend(), DoGetFileTitle(), ExtractAndInstallThread(), FileNameMatch(), GetInstalledVersion(), CAutoComplete::GetQuickEdit(), HandleInfoCommand(), RunOnceExInstance::HandleSubKey(), CAvailableApplicationInfo::LicenseString(), LoadAndInitialize(), CAppRichEdit::LoadAndInsertText(), CAutoComplete::LoadQuickComplete(), move_file_to_file(), CAutoComplete::OnAutoCompStart(), CApplicationView::OnCommand(), CAppsListView::OnEraseBackground(), CZipPassword::OnInitDialog(), CDownloaderProgress::OnSetText(), CAppScrnshotPreview::PreviousDisplayCleanup(), CMainWindow::ProcessFileMenu(), ProgressDlg::ProcessWindowMessage(), RecursiveFind(), CAutoComplete::ReLoadInnerList(), CAvailableApplicationInfo::RetrieveLanguages(), CFontCache::SetFontDir(), SHGetIniStringW(), CInstalledApplicationInfo::ShowAppInfo(), CInstalledApplicationInfo::UninstallApplication(), UninstallThread(), CMainWindow::UpdateApplicationsList(), CFontInfo::Valid(), CAvailableApplicationInfo::Valid(), CInstalledApplicationInfo::Valid(), and wmain().
|
inlinenoexcept |
Definition at line 248 of file atlsimpstr.h.
|
inline |
Definition at line 230 of file atlsimpstr.h.
|
inline |
Definition at line 236 of file atlsimpstr.h.
|
inline |
Definition at line 242 of file atlsimpstr.h.
|
inline |
Definition at line 208 of file atlsimpstr.h.
|
inline |
Definition at line 202 of file atlsimpstr.h.
|
inline |
Definition at line 376 of file atlsimpstr.h.
Referenced by CCharMapWindow::ChangeMapFont().
|
inlineprivate |
Definition at line 525 of file atlsimpstr.h.
Referenced by ATL::CSimpleStringT< BaseType, t_bMFCDLL >::_Post_writable_size_(), and ATL::CSimpleStringT< BaseType, t_bMFCDLL >::Preallocate().
|
inlineprivate |
Definition at line 537 of file atlsimpstr.h.
Referenced by ATL::CSimpleStringT< BaseType, t_bMFCDLL >::PrepareWrite().
|
inlineprivate |
Definition at line 568 of file atlsimpstr.h.
Referenced by ATL::CSimpleStringT< BaseType, t_bMFCDLL >::PrepareWrite2().
|
inline |
Definition at line 387 of file atlsimpstr.h.
Referenced by CConfigParser::CacheINI(), CAvailableApplicationInfo::CAvailableApplicationInfo(), ChooseFolder(), CAppsListView::CompareFunc(), CZipExtract::CZipExtract(), CAppScrnshotPreview::DisplayImage(), CMyDocsDropHandler::Drop(), CAppDB::EnumerateFiles(), ExtractAndInstallThread(), ExtractFilesFromZip(), ATL::CTimeSpan::Format(), ATL::CTime::Format(), ATL::CTime::FormatGmt(), CInstalledApplicationInfo::GetApplicationRegString(), GetDefaultDownloadDirectory(), GetStorageDirectory(), MultiByteToWide(), CZipPassword::OnButton(), CZipExtract::CExtractSettingsPage::OnWizardNext(), CAsyncLoadIcon::Queue(), ReadString(), CInstalledApplicationInfo::RetrieveInstallDate(), anonymous_namespace{settingsdlg.cpp}::SettingsDlgProc(), SHGetIniStringW(), StartProcess(), CFindFolder::StartSearch(), CDownloadManager::ThreadFunc(), tmToStr(), and WideToMultiByte().
|
inline |
Definition at line 381 of file atlsimpstr.h.
Referenced by ATL::CSimpleStringT< BaseType, t_bMFCDLL >::Append(), CLayerUIPropPage::InitFile(), ATL::CSimpleStringT< BaseType, t_bMFCDLL >::ReleaseBuffer(), and ATL::CSimpleStringT< BaseType, t_bMFCDLL >::SetString().
|
inlineprivate |
Definition at line 586 of file atlsimpstr.h.
Referenced by ATL::CSimpleStringT< BaseType, t_bMFCDLL >::CSimpleStringT(), ATL::CSimpleStringT< BaseType, t_bMFCDLL >::Empty(), and ATL::CSimpleStringT< BaseType, t_bMFCDLL >::ReleaseBufferSetLength().
|
inline |
Definition at line 309 of file atlsimpstr.h.
Referenced by ATL::CSimpleStringT< BaseType, t_bMFCDLL >::operator=(), ATL::CSimpleStringT< BaseType, t_bMFCDLL >::SetString(), and CZipExtract::ShowExtractError().
|
inline |
Definition at line 314 of file atlsimpstr.h.
|
inlinestaticnoexcept |
Definition at line 456 of file atlsimpstr.h.
Referenced by ATL::CSimpleStringT< BaseType, t_bMFCDLL >::Append(), ATL::CSimpleStringT< BaseType, t_bMFCDLL >::CSimpleStringT(), ATL::CSimpleStringT< BaseType, t_bMFCDLL >::ReleaseBuffer(), and ATL::CSimpleStringT< BaseType, t_bMFCDLL >::SetString().
|
inlinestaticnoexcept |
Definition at line 462 of file atlsimpstr.h.
|
inlinestaticprotected |
Definition at line 632 of file atlsimpstr.h.
Referenced by ATL::CSimpleStringT< BaseType, t_bMFCDLL >::CSimpleStringT().
|
inlinestaticprotected |
|
friend |
Definition at line 411 of file atlsimpstr.h.
|
friend |
Definition at line 420 of file atlsimpstr.h.
|
friend |
Definition at line 429 of file atlsimpstr.h.
|
private |
Definition at line 148 of file atlsimpstr.h.
Referenced by ATL::CSimpleStringT< BaseType, t_bMFCDLL >::Attach(), ATL::CSimpleStringT< BaseType, t_bMFCDLL >::CSimpleStringT(), ATL::CSimpleStringT< BaseType, t_bMFCDLL >::GetBuffer(), ATL::CSimpleStringT< BaseType, t_bMFCDLL >::GetData(), ATL::CSimpleStringT< BaseType, t_bMFCDLL >::GetString(), ATL::CSimpleStringT< BaseType, t_bMFCDLL >::operator PCXSTR(), ATL::CSimpleStringT< BaseType, t_bMFCDLL >::PrepareWrite(), ATL::CSimpleStringT< BaseType, t_bMFCDLL >::ReleaseBuffer(), and ATL::CSimpleStringT< BaseType, t_bMFCDLL >::SetLength().