C/C++ User's Journal 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
Synesis Software InetSTL - where the Standard Template Library meets the Internet UNIXSTL - Template Software for the UNIX Operating System WinSTL - where the Standard Template Library meets the Win32 API

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

DirectoryParts_class Class Reference
[recls.c++]

#include <fileentry.hpp>

List of all members.


Detailed Description

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


Public Methods

Construction
 DirectoryParts_class ()
 Default constructor.

 DirectoryParts_class (class_type const &rhs)
 Copy constructor.

 ~DirectoryParts_class ()
 Destructor.

class_type & operator= (class_type 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.


Constructor & Destructor Documentation

DirectoryParts_class  
 

Default constructor.

DirectoryParts_class class_type const &    rhs
 

Copy constructor.

~DirectoryParts_class  
 

Destructor.


Member Function Documentation

class_type& operator= class_type const &    rhs
 

Copy assignment operator.

string_t operator[] size_t    index const
 

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  
 

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-2006