This file contains Unicode/MultiByte competability functions and a generic string class (tstring). More...
#include <string>
Go to the source code of this file.
Defines | |
#define | tstring string |
tstring for MultiByte complications: string | |
Functions | |
std::string | MakeAnsiString (const std::tstring &sString) |
Returns a MultiByte string from a generic string object. | |
std::string | MakeAnsiString (LPCTSTR pString) |
Returns a MultiByrte string from a generic NULL-terminated buffer. | |
std::wstring | MakeWideString (const std::tstring &sString) |
Returns a Unicode string from a generic string object. | |
std::wstring | MakeWideString (LPCTSTR pString) |
Returns a Unicode string from a generic NULL-terminated buffer. | |
std::tstring | MakeTString (const std::string &sString) |
Returns a generic string object from a MultiByte string. | |
std::tstring | MakeTString (const std::wstring &sString) |
Returns a generic string object from a Unicode string. |
This file contains Unicode/MultiByte competability functions and a generic string class (tstring).
Definition in file CCTChar.h.
std::string MakeAnsiString | ( | LPCTSTR | pString | ) |
Returns a MultiByrte string from a generic NULL-terminated buffer.
pString | Generic NULL-terminated buffer to translate |
Definition at line 54 of file CCTChar.cpp.
std::string MakeAnsiString | ( | const std::tstring & | sString | ) |
Returns a MultiByte string from a generic string object.
sString | Generic string object to translate |
Definition at line 34 of file CCTChar.cpp.
Referenced by SQLite::RealStatement::BindParameter(), DoLicensePage(), SQLite::RealDB::Execute(), SQLite::RealStatement::HasParameter(), OEMSendPage(), OEMStartDoc(), SQLite::RealDB::Open(), SQLite::RealStatement::ParameterIndex(), SQLite::Realset::Realset(), SQLite::RealStatement::RealStatement(), and LicenseInfoLoader::RequestLicense().
std::tstring MakeTString | ( | const std::wstring & | sString | ) |
Returns a generic string object from a Unicode string.
sString | Unicode string object to translate |
Definition at line 134 of file CCTChar.cpp.
std::tstring MakeTString | ( | const std::string & | sString | ) |
Returns a generic string object from a MultiByte string.
sString | MultiByte string object to translate |
Definition at line 114 of file CCTChar.cpp.
Referenced by FileINI::CheckLineForSection(), FileINI::DoInitLine(), DoLicensePage(), SQLite::RealDB::Execute(), FileINI::GetAllSections(), SQLite::RealDB::GetLastError(), FileINI::GetLines(), LicenseInfoLoader::LoadInternalLicenseInfo(), SQLite::RealRecord::RealRecord(), SQLite::Realset::Realset(), LicenseInfoLoader::RequestLicense(), and Trim().
std::wstring MakeWideString | ( | LPCTSTR | pString | ) |
Returns a Unicode string from a generic NULL-terminated buffer.
pString | Generic NULL-terminated buffer to translate |
Definition at line 94 of file CCTChar.cpp.
std::wstring MakeWideString | ( | const std::tstring & | sString | ) |
Returns a Unicode string from a generic string object.
sString | Generic string object to translate |
Definition at line 74 of file CCTChar.cpp.
Referenced by PrinterInstall::DoAddPort(), and PrinterInstall::DoDeletePort().