ICSharpCode::SharpZipLib::Core::NameAndSizeFilter Class Reference

NameAnsSizeFilter filters based on name and file size. More...

Inheritance diagram for ICSharpCode::SharpZipLib::Core::NameAndSizeFilter:

ICSharpCode::SharpZipLib::Core::PathFilter ICSharpCode::SharpZipLib::Core::IScanFilter List of all members.

Public Member Functions

 NameAndSizeFilter (string filter, long minSize, long maxSize)
 Initialise a new instance of NameAndSizeFilter.
override bool IsMatch (string fileName)
 Test a filename to see if it matches the filter.

Properties

long MinSize
 The minimum size for a file that will match this filter.
long maxSize = long.MaxValue
long MaxSize
 The maximum size for a file that will match this filter.

Private Attributes

long minSize = 0

Detailed Description

NameAnsSizeFilter filters based on name and file size.

Definition at line 87 of file PathFilter.cs.


Constructor & Destructor Documentation

ICSharpCode::SharpZipLib::Core::NameAndSizeFilter::NameAndSizeFilter string  filter,
long  minSize,
long  maxSize
[inline]
 

Initialise a new instance of NameAndSizeFilter.

Parameters:
filter The filter to apply.
minSize The minimum file size to include.
maxSize The maximum file size to include.

Definition at line 96 of file PathFilter.cs.


Member Function Documentation

override bool ICSharpCode::SharpZipLib::Core::NameAndSizeFilter::IsMatch string  fileName  )  [inline, virtual]
 

Test a filename to see if it matches the filter.

Parameters:
fileName The filename to test.
Returns:
True if the filter matches, false otherwise.

Reimplemented from ICSharpCode::SharpZipLib::Core::PathFilter.

Definition at line 107 of file PathFilter.cs.


Member Data Documentation

long ICSharpCode::SharpZipLib::Core::NameAndSizeFilter::minSize = 0 [private]
 

Definition at line 115 of file PathFilter.cs.


Property Documentation

long ICSharpCode::SharpZipLib::Core::NameAndSizeFilter::MaxSize [get, set]
 

The maximum size for a file that will match this filter.

Definition at line 132 of file PathFilter.cs.

long ICSharpCode::SharpZipLib::Core::NameAndSizeFilter::maxSize = long.MaxValue [private]
 

Definition at line 126 of file PathFilter.cs.

long ICSharpCode::SharpZipLib::Core::NameAndSizeFilter::MinSize [get, set]
 

The minimum size for a file that will match this filter.

Definition at line 121 of file PathFilter.cs.


The documentation for this class was generated from the following file:
Generated on Fri Jun 23 21:50:05 2006 for OblivionModTranslator by  doxygen 1.4.6-NO