basic_ftpdir_sequence Class Template Reference

#include <inetstl/filesystem/ftpdir_sequence.hpp>

Inheritance diagram for basic_ftpdir_sequence:

stl_collection_tag collection_tag

List of all members.


Detailed Description

template<typename C, typename X = throw_internet_exception_policy, typename T = filesystem_traits<C>>
class inetstl::basic_ftpdir_sequence< C, X, T >

STL collection of the files in an FTP directory matching a given pattern.

This class is described in detail in section 21.2 of Extended STL, volume 1.

Member Types

typedef sequence_type_::char_type char_type
typedef sequence_type_::value_type value_type
typedef sequence_type_::size_type size_type
typedef sequence_type_::bool_type bool_type
typedef is_sint_t flags_type
typedef
values_type_::const_reference 
const_reference
typedef
values_type_::const_iterator 
const_iterator
typedef
values_type_::const_reverse_iterator 
const_reverse_iterator
typedef basic_ftpdir_sequence
< C, X, T > 
class_type

Public Types

Member Constants
enum  search_flags {
  includeDots = sequence_type_::includeDots,
  directories = sequence_type_::directories,
  files = sequence_type_::files
}

Public Member Functions

Construction
 basic_ftpdir_sequence (HINTERNET hconn, char_type const *pattern, flags_type flags=directories|files)
 basic_ftpdir_sequence (HINTERNET hconn, char_type const *directory, char_type const *pattern, flags_type flags=directories|files)
 Commence a search according to the given search pattern and flags, relative to directory.
 basic_ftpdir_sequence (HINTERNET hconn, char_type const *directory, char_type const *patterns, char_type delim, flags_type flags=directories|files)
 Commence a search according to the given search pattern and flags, relative to directory.
 basic_ftpdir_sequence (class_type const &rhs)
 Constructs an instance of the sequence containing all the elements of the other.
class_typeoperator= (class_type const &rhs)
 Copies the contents of the given instance.
Element access
const_reference operator[] (size_type index) const
Iteration
const_iterator begin () const
const_iterator end () const
const_reverse_iterator rbegin () const
const_reverse_iterator rend () const
Size
size_type size () const
bool_type empty () const


Constructor & Destructor Documentation

basic_ftpdir_sequence ( HINTERNET  hconn,
char_type const *  directory,
char_type const *  pattern,
flags_type  flags = directories | files 
) [inline]

Commence a search according to the given search pattern and flags, relative to directory.

References basic_findfile_sequence::begin(), basic_findfile_sequence::end(), and stlsoft_ns_qual_std.

basic_ftpdir_sequence ( HINTERNET  hconn,
char_type const *  directory,
char_type const *  patterns,
char_type  delim,
flags_type  flags = directories | files 
) [inline]

Commence a search according to the given search pattern and flags, relative to directory.

References basic_findfile_sequence::begin(), basic_findfile_sequence::end(), and stlsoft_ns_qual_std.

basic_ftpdir_sequence ( class_type const &  rhs  ) 

Constructs an instance of the sequence containing all the elements of the other.


Member Function Documentation

class_type& operator= ( class_type const &  rhs  ) 

Copies the contents of the given instance.


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

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