|
|
|
|
|
|
|
|
|
|
|
|||||||
#include <mfcstl_cstring_veneer.h>
Public Types | |
| typedef TCHAR | value_type |
| The value type. | |
| typedef LPTSTR | iterator |
| The mutating iterator type. | |
| typedef LPCTSTR | const_iterator |
| The non-mutating (const) iterator type. | |
| typedef LPTSTR | pointer |
| The pointer type. | |
| typedef LPCTSTR | const_pointer |
| The pointer-to-const type. | |
| typedef TCHAR & | reference |
| The reference type. | |
| typedef TCHAR const & | const_reference |
| The reference-to-const type. | |
| typedef ms_size_t | size_type |
| The size type. | |
Public Methods | |
| cstring_veneer () | |
| Default constructor. | |
| cstring_veneer (class_type const &rhs) | |
| Copy constructor. | |
| cstring_veneer (CString const &rhs) | |
| Copy constructor. | |
| cstring_veneer (LPCSTR s) | |
| Construct from an ANSI string. | |
| cstring_veneer (LPCWSTR s) | |
| Construct from a Unicode string. | |
| cstring_veneer (unsigned char const *s) | |
| Construct from an MBCS string. | |
| cstring_veneer (LPCTSTR from, LPCTSTR to) | |
| Construct from a range. | |
| cstring_veneer (LPCTSTR from, size_type length) | |
| Construct from a range. | |
| 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. | |
| const_iterator | begin () const |
| Begins the iteration. | |
| const_iterator | end () const |
| Ends the iteration. | |
| CString & | get_base_type () |
| Provides access to the underlying CString type. | |
| CString const & | get_base_type () const |
| Provides access to the underlying CString type. | |
| size_type | length () const |
| Returns the number of elements in the sequence. | |
| size_type | size () const |
| Returns the number of elements in the sequence. | |
| ms_bool_t | empty () const |
| Indicates whether the sequence is empty. | |
| const_pointer | c_str () const |
| Returns a pointer to constant data representing the managed string. | |
This class adapts the
|
|
The non-mutating (const) iterator type.
|
|
|
The pointer-to-const type.
|
|
|
The reference-to-const type.
|
|
|
The mutating iterator type.
|
|
|
The pointer type.
|
|
|
The reference type.
|
|
|
The size type.
|
|
|
The value type.
|
|
|
| STLSoft Libraries documentation © Synesis Software Pty Ltd, 2001-2004 |