CString_iadaptor Class Reference
[Collections Library]

#include <mfcstl/collections/cstring_adaptors.hpp>

Inheritance diagram for CString_iadaptor:

CString_adaptor_base stl_collection_tag collection_tag

List of all members.


Detailed Description

Adaptor class, representing an Instance Adaptor over the MFC CString type.

It can be used via the std::basic_string-like interface

Member Types

typedef CString_iadaptor class_type
 The class type.

Public Member Functions

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.
Construction
 CString_iadaptor (CString &str)
 CString_iadaptor (CString *str)
Element Access
reference operator[] (size_type index)
 Returns a mutable (non-const) reference to the element at index.
const_reference operator[] (size_type index) const
 Returns a non-mutable (const) reference to the element at index.


Member Typedef Documentation

The class type.

Reimplemented from CString_adaptor_base.


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.

reference operator[] ( size_type  index  ) 

Returns a mutable (non-const) reference to the element at index.

Note:
The behaviour is undefined if index >= size()

const_reference operator[] ( size_type  index  )  const

Returns a non-mutable (const) reference to the element at index.

Note:
The behaviour is undefined if index >= size()


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