class Track_Sort

Sort Tracks Command. More...

Full nameTSE3::Cmd::Track_Sort
Definition#include <Track.h>
InheritsTSE3::Cmd::Command [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Types

Public Methods


Detailed Description

Command to sort a;; TSE3::Track objects in a TSE3::Song.

See also: Command

enum SortBy { ByName, ByMuted, BySelected, ByPort, ByChannel, BySize }

SortBy

Describes the Track sort criteria.

enum SortOrder { Ascending, Descending }

SortOrder

Describes the Track sort order

 Track_Sort (TSE3::Song *song, SortBy by, SortOrder order, TSE3::App::TrackSelection *selection = 0)

Track_Sort

You specify the TSE3::Song to sort, and the sort parameters.

Parameters:
songSong to sort Tracks of
bySort criteria
orderSort order
selectionTrack selection to use for BySelected (zero if not supported)

 ~Track_Sort ()

~Track_Sort

[virtual]

void  executeImpl ()

executeImpl

[protected virtual]

Reimplemented from Command for internal purposes..

void  undoImpl ()

undoImpl

[protected virtual]

Reimplemented from Command for internal purposes..