CString_cadaptor Class Reference
[Collections Library]

#include <mfcstl/collections/cstring_adaptors.hpp>

Inheritance diagram for CString_cadaptor:

CString_adaptor_base stl_collection_tag collection_tag

List of all members.


Detailed Description

Adaptor class, representing a Class Adaptor over the MFC CString type.

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.


Member Typedef Documentation

The class type.

Reimplemented from CString_adaptor_base.


Constructor & Destructor Documentation

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).


Member Function Documentation

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.


The documentation for this class was generated from the following file:

Generated on Thu Jun 10 08:58:32 2010 for STLSoft by  doxygen 1.5.6