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  

proxy_sequence Class Template Reference

Enables a non-STL sequence to provide an STL interface. More...

#include <stlsoft_proxy_sequence.h>

List of all members.

Public Methods

 proxy_sequence ()
 Constructs a default proxy_sequence.

 proxy_sequence (element_type *first, element_type *last)
 Constructs a proxy_sequence from a given range.

 proxy_sequence (element_type *first, size_type n)
 Constructs a proxy_sequence from a given range.

Iteration
iterator begin ()
 Begins the iteration.

iterator end ()
 Ends the iteration.

const_iterator begin () const
 Begins the iteration.

const_iterator end () const
 Ends the iteration.

Attributes
bool empty () const
 Indicates whether the sequence is empty.

size_type size () const
 Indicates whether the sequence is empty.


Detailed Description

template<typename E, typename V, typename T>
class stlsoft::proxy_sequence< E, V, T >

Enables a non-STL sequence to provide an STL interface.

Parameters:
R  The element type. This type is the element in the underlying sequence
V  The value type. This is the type to which the element type is translated
T  The traits_type. This type provides a static method make_value(), which converts the element type to the value type


Constructor & Destructor Documentation

proxy_sequence   [inline]
 

Constructs a default proxy_sequence.

proxy_sequence element_type *    first,
element_type *    last
[inline]
 

Constructs a proxy_sequence from a given range.

proxy_sequence element_type *    first,
size_type    n
[inline]
 

Constructs a proxy_sequence from a given range.


Member Function Documentation

const_iterator begin   const [inline]
 

Begins the iteration.

Returns:
An iterator representing the start of the sequence

iterator begin   [inline]
 

Begins the iteration.

Returns:
An iterator representing the start of the sequence

bool empty   const [inline]
 

Indicates whether the sequence is empty.

const_iterator end   const [inline]
 

Ends the iteration.

Returns:
An iterator representing the end of the sequence

iterator end   [inline]
 

Ends the iteration.

Returns:
An iterator representing the end of the sequence

size_type size   const [inline]
 

Indicates whether the sequence is empty.


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

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