#include <collection_comparer.h>
Public Methods | |
| CollectionComparer (Collection const &collection1, Collection const &collection2) | |
| bool | areEqual () const |
| bool | areUnrelated () const |
| bool | onlyTrivialChanges () const |
| bool | onlyCollectionNameChanged () const |
| bool | addsLevels () const |
| bool | removesLevels () const |
| bool | changesProperties () const |
| bool | reordersLevels () const |
| bool | operator< (CollectionComparer const &other) const |
Private Attributes | |
| int | m_nr_reordered |
| int | m_nr_removed |
| int | m_nr_added |
| bool | m_are_equal |
| bool | m_are_unrelated |
| bool | m_only_collection_name_changed |
| bool | m_adds_levels |
| bool | m_removes_levels |
| bool | m_changes_properties |
| bool | m_reorders_levels |
| bool | m_not_trivial_changes |
|
|||||||||||||||
|
Creates the object.
|
|
|
Returns true, if the first collection adds levels to the second collection.
|
|
|
Returns true, if both collections are absolutely equal.
|
|
|
Returns true, if the collections are absolutely unrelated.
|
|
|
Returns true, if the first collection changes properties of the second collection.
|
|
|
Returns true, if only the name of the collection is changed.
|
|
|
Returns true, if only trivial changes are found (difficulty, copyright, info or author changed).
|
|
|
Returns true, if the current collection comparerer found a worser equality than the given comparer.
|
|
|
Returns true, if the first collection removes levels from the second collection.
|
|
|
Returns true, if the first collection reorders properties of the second collection.
|
|
|
The first collection adds levels.
|
|
|
The collections are equal.
|
|
|
The collections are unrelated.
|
|
|
The first collection changes properties.
|
|
|
Not trivial changes are found.
|
|
|
The number of added levels.
|
|
|
The number of removed levels.
|
|
|
The number of reordered levels.
|
|
|
The collection only has another name.
|
|
|
The first collection removes levels.
|
|
|
The first collection reorders levels.
|
1.2.9.1 written by Dimitri van Heesch,
© 1997-2001