Class: TDirectoryTreeIterator

Declaration: FileSystemInterface.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TDirectoryIterator

Inherited By:

None.

Purpose:

Recursively iterates over the contents of a directory, depth-first.

Instantiation:

Allocate on the heap or the stack. The stack is preferred.

Deriving Classes:

Do not derive from this class.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Member Function: TDirectoryTreeIterator::~TDirectoryTreeIterator

virtual ~ TDirectoryTreeIterator ()

Interface Category:

API.

Purpose:

Destructor.

Calling Context:

Called to destroy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe. This is a handle class.

Other Considerations:

None.

Member Function: TDirectoryTreeIterator::operator=

TDirectoryTreeIterator & operator =(const TDirectoryTreeIterator & right)

Interface Category:

API.

Purpose:

Assignment operator.

Calling Context:

Called when an object is assigned to another compatible object.

Parameters:

Return Value:

A non-const reference to the left-hand side object.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe. This is a handle class.

Other Considerations:

None.

Member Function: TDirectoryTreeIterator::TDirectoryTreeIterator

  1. TDirectoryTreeIterator ()
  2. TDirectoryTreeIterator (const TDirectory & directory, const TPropertyIDSet & properties =kNoProperties, const TPropertyQuery & aQuery =kNoQuery)
  3. TDirectoryTreeIterator (const TDirectoryTreeIterator & copy)

Interface Category:

API.

Purpose:

  1. Default constructor.
  2. Constructs an iterator to find entities that satisfy aQuery and to return their properties.
  3. Copy constructor.

Calling Context:

  1. Called by the stream-in operators, or directly for later assignment.
  2. Call this function directly.
  3. Called to copy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe. This is a handle class.

Other Considerations:

None.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.