STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ... ATLSTL - Template Software for the Active Template Library COMSTL - The Standard Template Library meets the Component Object Model .netSTL - Standard Template Library meets the Microsoft.NET Common Language Runtime InetSTL - The Standard Template Library meets WinInet MFCSTL - Template Software for the Microsoft Foundation Classes UNIXSTL - Template Software for the UNIX Operating System WinSTL - where the Standard Template Library meets the Win32 API

Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

ccombstr_veneer Class Reference
[Container Library (ATLSTL)]

Applies standard string (std::basic_string) interface to the CComBSTR class. More...

#include <atlstl_ccombstr_veneer.h>

List of all members.

Public Types

typedef OLECHAR value_type
 The value type.

typedef LPOLESTR iterator
 The mutating iterator type.

typedef LPCOLESTR const_iterator
 The non-mutating (const) iterator type.

typedef LPOLESTR pointer
 The pointer type.

typedef LPCOLESTR const_pointer
 The pointer-to-const type.

typedef OLECHAR & reference
 The reference type.

typedef OLECHAR const & const_reference
 The reference-to-const type.

typedef as_size_t size_type
 The size type.


Public Methods

 ccombstr_veneer ()
 Default constructor.

 ccombstr_veneer (class_type const &rhs)
 Copy constructor.

 ccombstr_veneer (CComBSTR const &rhs)
 Copy constructor.

 ccombstr_veneer (LPCSTR s)
 Construct from an ANSI string.

 ccombstr_veneer (LPCWSTR s)
 Construct from a Unicode string.

 ccombstr_veneer (LPCOLESTR from, LPCOLESTR to)
 Construct from a range.

 ccombstr_veneer (size_type length, LPCOLESTR from)
 Construct from a range.

class_type const & operator= (class_type const &rhs)
 Copy assignment operator.

class_type const & operator= (CComBSTR const &rhs)
 Copy assignment operator.

class_type const & operator= (LPCSTR s)
 Assignment operator.

class_type const & operator= (LPCWSTR s)
 Assignment operator.

const_iterator begin () const
 Begins the iteration.

const_iterator end () const
 Ends the iteration.

CComBSTR & get_base_type ()
 Provides access to the underlying CComBSTR type.

CComBSTR const & get_base_type () const
 Provides access to the underlying CComBSTR 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.

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


Detailed Description

Applies standard string (std::basic_string) interface to the CComBSTR class.

This class adapts the


Member Typedef Documentation

typedef LPCOLESTR const_iterator
 

The non-mutating (const) iterator type.

typedef LPCOLESTR const_pointer
 

The pointer-to-const type.

typedef OLECHAR const& const_reference
 

The reference-to-const type.

typedef LPOLESTR iterator
 

The mutating iterator type.

typedef LPOLESTR pointer
 

The pointer type.

typedef OLECHAR& reference
 

The reference type.

typedef as_size_t size_type
 

The size type.

typedef OLECHAR value_type
 

The value type.


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

STLSoft Libraries documentation © Synesis Software Pty Ltd, 2001-2004