C/C++ User's Journal Synesis Software STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ... ATLSTL - where the Standard Template Library meets the Active Template Library COMSTL - where the Standard Template Library meets the Component Object Model UNIXSTL - Template Software for the UNIX Operating System WinSTL - where the Standard Template Library meets the Win32 API

Main Page   Modules   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

DirectoryParts Class Reference
[recls.c++]

This class provides enumeration over the parts of a directory for a given file entry. More...

#include <reclspp_fileentry.h>

List of all members.

Public Methods

Construction
 DirectoryParts ()
 Default constructor.

 DirectoryParts (DirectoryParts const &rhs)
 Copy constructor.

 ~DirectoryParts ()
 Destructor.

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

Attributes
size_t size () const
 Returns the number of directory parts managed by this instance.

string_t operator[] (size_t index) const
 Returns the number of directory parts managed by this instance.


Detailed Description

This class provides enumeration over the parts of a directory for a given file entry.


Constructor & Destructor Documentation

DirectoryParts   [inline]
 

Default constructor.

DirectoryParts DirectoryParts const &    rhs [inline]
 

Copy constructor.

~DirectoryParts   [inline]
 

Destructor.


Member Function Documentation

DirectoryParts & operator= DirectoryParts const &    rhs [inline]
 

Copy assignment operator.

string_t operator[] size_t    index const [inline]
 

Returns the number of directory parts managed by this instance.

Parameters:
index  The index of the requried directory part
Note:
The behaviour is undefined if index is out of the range denoted by [0, size())

size_t size   [inline]
 

Returns the number of directory parts managed by this instance.


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

recls Library documentation © Synesis Software Pty Ltd, 2001-2004