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

Public Methods

Construction
 DirectoryParts_class ()
 Default constructor.

 DirectoryParts_class (class_type const &rhs)
 Copy constructor.

 ~DirectoryParts_class ()
 Destructor.

class_typeoperator= (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.


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 class_type
 


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.


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