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 #include "PDG_Types.h"
14 
15 #include <UT/UT_StringHolder.h>
16 
17 /*
18  * Configuration options for sorting work items
19  */
21 {
22  /// Default sort options
24  : myAttribute("")
26  , myDirection(false)
27  , myRequired(false)
28  {
29  }
30 
31  /// The sort attribute, used when the sort order is SortAttribute
33 
34  /// The type of sort to use for work items
36 
37  /// Sort ascending or descending
39 
40  /// Sort required items to the beginning of the list
41  bool myRequired;
42 };
43 
44 #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
Definition: PDG_Types.h:394
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.