basic_drophandle_sequence Class Template Reference
[Windows Shell Library]

#include <winstl/shell/drophandle_sequence.hpp>

Inheritance diagram for basic_drophandle_sequence:

stl_collection_tag collection_tag

List of all members.


Detailed Description

template<typename C, typename T = drophandle_sequence_traits<C>>
class winstl::basic_drophandle_sequence< C, T >

This class wraps an STL-like sequence interface over a Win32 drop handle.

Parameters:
C The character type
T The traits type. For translators that support default template arguments this defaults to drophandle_sequence_traits<C>

Public Types

typedef C char_type
 The character type.
typedef T traits_type
 The traits type.
typedef
basic_drophandle_sequence< C,
T > 
class_type
 The current parameterisation of the type.
typedef
basic_drophandle_sequence_const_iterator
< C, T > 
const_iterator
 The non-mutating (const) iterator type.
typedef const_iterator::value_type value_type
 The value type.
typedef ws_ptrdiff_t difference_type
 The difference type.

Public Member Functions

 basic_drophandle_sequence (HDROP hdrop, bool bOwnHandle=true)
 Construct a sequence based on the contents of the given drop handle.
 ~basic_drophandle_sequence () throw ()
 Release any resources aquired.
size_t size () const
 The number of elements in the sequence.
bool empty () const
 Indicates whether the sequence is empty.
const_iterator begin () const
 Begins the iteration.
const_iterator end () const
 Ends the iteration.

Member Typedef Documentation

typedef C char_type

The character type.

typedef T traits_type

The traits type.

The current parameterisation of the type.

The non-mutating (const) iterator type.

The value type.

typedef ws_ptrdiff_t difference_type

The difference type.


Constructor & Destructor Documentation

basic_drophandle_sequence ( HDROP  hdrop,
bool  bOwnHandle = true 
) [explicit]

Construct a sequence based on the contents of the given drop handle.

~basic_drophandle_sequence (  )  throw ()

Release any resources aquired.


Member Function Documentation

size_t size (  )  const

The number of elements in the sequence.

bool empty (  )  const

Indicates whether the sequence is empty.

const_iterator begin (  )  const

Begins the iteration.

Returns:
An iterator representing the start of the sequence

const_iterator end (  )  const

Ends the iteration.

Returns:
An iterator representing the end of the sequence


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

Generated on Thu Jun 10 08:59:35 2010 for STLSoft by  doxygen 1.5.6