Class Poco::TraverseBase
Author: Applied Informatics Software Engineering GmbH and Contributors

# Poco

# class TraverseBase

Library: Foundation
Package: Filesystem
Header: Poco/DirectoryIteratorStrategy.h

## Inheritance

Known Derived Classes: ChildrenFirstTraverse, SiblingsFirstTraverse

## Member Summary

Member Functions: isDirectory, isFiniteDepth

## Types

### DepthFunPtr

typedef std::pointer_to_unary_function < const Stack &, UInt16 > DepthFunPtr;

### Stack

typedef std::stack < DirectoryIterator > Stack;

## Enumerations

### Anonymous

D_INFINITE = 0

Special value for infinite traverse depth.

## Constructors

### TraverseBase

TraverseBase(
DepthFunPtr depthDeterminer,
UInt16 maxDepth = D_INFINITE
);

## Member Functions

### isDirectory

bool isDirectory(
Poco::File & file
);

### isFiniteDepth

bool isFiniteDepth();

## Variables

### _depthDeterminer

DepthFunPtr _depthDeterminer;

### _itEnd

DirectoryIterator _itEnd;

### _maxDepth

UInt16 _maxDepth;