OSB_LIB::ScanDir::Select Class Reference

List of all members.

Detailed Description

Select directory entries.

This class defines the callback interface for ScanDir::scan().

Definition at line 221 of file osbfileutil.h.

Public Member Functions


Constructor & Destructor Documentation

virtual OSB_LIB::ScanDir::Select::~Select (  )  [inline, virtual]

Virtual destructor.

Definition at line 224 of file osbfileutil.h.


Member Function Documentation

virtual int OSB_LIB::ScanDir::Select::operator() ( const std::string &  dir,
const std::string &  name 
) [pure virtual]

Select directory entries to include in the result set.

Parameters:
dir Path of the directory, it always ends with a '/'.
name Name of the directory entry.
Returns:
An bitmap integer value that defines the action:
-1 to stop further scanning,
1: to add dir/name to the result,
2: to scan the directory dir/name recursivly.
3: to add and scan recursivly. See also ScanDir::scan().


The documentation for this class was generated from the following file:
Generated on Sat Sep 2 14:12:08 2006 for OSB Library by  doxygen 1.4.7