HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PDG_SortOptions.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * COMMENTS:
7  */
8 
9 #ifndef __PDG_SORT_OPTIONS_H__
10 #define __PDG_SORT_OPTIONS_H__
11 
12 #include "PDG_API.h"
13 
14 #include <UT/UT_StringHolder.h>
15 
16 /*
17  * Configuration options for sorting work items
18  */
20 {
21  /// Default sort options
23  : myAttribute("")
25  , myDirection(false)
26  , myRequired(false)
27  {
28  }
29 
30  /// The sort attribute, used when the sort order is SortAttribute
32 
33  /// The type of sort to use for work items
35 
36  /// Sort ascending or descending
38 
39  /// Sort required items to the beginning of the list
40  bool myRequired;
41 };
42 
43 #endif
bool myRequired
Sort required items to the beginning of the list.
int myOrder
Definition: GT_CurveEval.h:263
PDG_SortOptions()
Default sort options.
#define PDG_API
Definition: PDG_API.h:23
PDG_WorkItemSortOrder
PDG_WorkItemSortOrder myOrder
The type of sort to use for work items.
UT_StringHolder myAttribute
The sort attribute, used when the sort order is SortAttribute.
bool myDirection
Sort ascending or descending.