Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

DuplicateLevelFinder Class Reference

Used to find duplicate levels in the CollectionHolder. More...

#include <duplicate_level_finder.h>

List of all members.

Public Methods

 DuplicateLevelFinder ()
bool process ()
int steps () const
bool finished () const
bool foundDuplicates () const
QString const & text () const

Private Attributes

int m_number_of_collections
int m_collection_nr
int m_number_of_levels
int m_level_nr
std::map< CompressedMap, int > maps
QString m_text
int m_steps

Detailed Description

Used to find duplicate levels in the CollectionHolder.

Ralf Schmelter (

Constructor & Destructor Documentation


Creates the object.

Member Function Documentation

bool DuplicateLevelFinder::finished const

Returns true, if the search was finished (process() returned true).

bool DuplicateLevelFinder::foundDuplicates const

Returns true, if duplicate levels are found.

bool DuplicateLevelFinder::process

Call this as long as it returns false.

int DuplicateLevelFinder::steps const

Returns the number of steps needed.

QString const& DuplicateLevelFinder::text const

Returns a string containing the duplicate levels.

Member Data Documentation

Collection* DuplicateLevelFinder::m_collection [private]

The actual collection.

int DuplicateLevelFinder::m_collection_nr [private]

The actual collection nr.

int DuplicateLevelFinder::m_level_nr [private]

The actual level nr.

int DuplicateLevelFinder::m_number_of_collections [private]

The number of collections.

int DuplicateLevelFinder::m_number_of_levels [private]

The actual number of levels.

int DuplicateLevelFinder::m_steps [private]

The number of steps needed.

QString DuplicateLevelFinder::m_text [private]

The text for the duplicate levels.

std::map<CompressedMap, int> DuplicateLevelFinder::maps [private]

The maps already processed.

The documentation for this class was generated from the following file:
Generated at Sun Jan 6 18:49:10 2002 for EasySok by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001