#include <mfcstl/collections/cstring_adaptors.hpp>
It can be used wherever a CString is, or it can be used via the std::basic_string-like interface
Member Types | |
typedef CString_cadaptor | class_type |
The class type. | |
Public Member Functions | |
CString_cadaptor () | |
Default constructor. | |
CString_cadaptor (class_type const &rhs) | |
Copy constructor. | |
CString_cadaptor (CString const &rhs) | |
Copy constructor. | |
CString_cadaptor (LPCSTR s) | |
Construct from an ANSI string. | |
CString_cadaptor (LPCWSTR s) | |
Construct from a Unicode string. | |
CString_cadaptor (unsigned char const *s) | |
Construct from an MBCS string. | |
CString_cadaptor (LPCTSTR from, LPCTSTR to) | |
Construct from a range. | |
CString_cadaptor (LPCTSTR from, size_type length) | |
Construct from a range. | |
CString_cadaptor (class_type const &str, size_type pos, size_type n) | |
Constructs from str the range identified by [pos, pos + n). | |
CString_cadaptor (size_t cch, TCHAR ch) | |
class_type const & | operator= (class_type const &rhs) |
Copy assignment operator. | |
class_type const & | operator= (CString const &rhs) |
Copy assignment operator. | |
class_type const & | operator= (LPCSTR s) |
Assignment operator. | |
class_type const & | operator= (LPCWSTR s) |
Assignment operator. | |
class_type const & | operator= (unsigned char const *s) |
Assignment operator. |
typedef CString_cadaptor class_type |
CString_cadaptor | ( | ) |
Default constructor.
CString_cadaptor | ( | class_type const & | rhs | ) |
Copy constructor.
CString_cadaptor | ( | CString const & | rhs | ) | [explicit] |
Copy constructor.
CString_cadaptor | ( | LPCSTR | s | ) | [explicit] |
Construct from an ANSI string.
CString_cadaptor | ( | LPCWSTR | s | ) | [explicit] |
Construct from a Unicode string.
CString_cadaptor | ( | unsigned char const * | s | ) | [explicit] |
Construct from an MBCS string.
CString_cadaptor | ( | LPCTSTR | from, | |
LPCTSTR | to | |||
) |
Construct from a range.
CString_cadaptor | ( | LPCTSTR | from, | |
size_type | length | |||
) |
Construct from a range.
CString_cadaptor | ( | class_type const & | str, | |
size_type | pos, | |||
size_type | n | |||
) |
Constructs from str the range identified by [pos, pos + n).
class_type const& operator= | ( | class_type const & | rhs | ) |
Copy assignment operator.
class_type const& operator= | ( | CString const & | rhs | ) |
Copy assignment operator.
class_type const& operator= | ( | LPCSTR | s | ) |
Assignment operator.
class_type const& operator= | ( | LPCWSTR | s | ) |
Assignment operator.
class_type const& operator= | ( | unsigned char const * | s | ) |
Assignment operator.