synthclone  0.3.0
synthclone::ZoneComparer Class Referenceabstract

Subclasses of 'ZoneComparer' are used to sort zones, generally by a specific property. More...

#include <synthclone/zonecomparer.h>

Inheritance diagram for synthclone::ZoneComparer:
Collaboration diagram for synthclone::ZoneComparer:

Public Member Functions

virtual bool isLessThan (const Zone *zone1, const Zone *zone2) const =0
 Indicates whether one Zone object should come before a second Zone object. More...
 

Protected Member Functions

 ZoneComparer (QObject *parent=0)
 Constructs a new ZoneComparer object. More...
 
virtual ~ZoneComparer ()
 

Detailed Description

Subclasses of 'ZoneComparer' are used to sort zones, generally by a specific property.

See also
Context::sortZones()

Constructor & Destructor Documentation

synthclone::ZoneComparer::ZoneComparer ( QObject *  parent = 0)
explicitprotected

Constructs a new ZoneComparer object.

This constructor should not be called directly; instead, constructors in subclasses should call this constructor when they're invoked.

Parameters
parentThe parent object of the new ZoneComparer object.
virtual synthclone::ZoneComparer::~ZoneComparer ( )
protectedvirtual

Member Function Documentation

virtual bool synthclone::ZoneComparer::isLessThan ( const Zone zone1,
const Zone zone2 
) const
pure virtual

Indicates whether one Zone object should come before a second Zone object.

Parameters
zone1The first Zone object.
zone2The second Zone object.
Returns
A boolean indicating the above.

The documentation for this class was generated from the following file: