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   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   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 <fileentry.hpp>

List of all members.

Public Types

typedef recls_char_t char_type
typedef DirectoryParts class_type

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.


Member Typedef Documentation

typedef recls_char_t char_type
 

typedef DirectoryParts class_type
 


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.


Friends And Related Function Documentation

friend class FileEntry [friend]
 


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

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