HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
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
*/
20
struct
PDG_API
PDG_SortOptions
21
{
22
/// Default sort options
23
PDG_SortOptions
()
24
: myAttribute(
""
)
25
,
myOrder
(
PDG_WorkItemSortOrder
::
eSortIndex
)
26
, myDirection(false)
27
, myRequired(false)
28
{
29
}
30
31
/// The sort attribute, used when the sort order is SortAttribute
32
UT_StringHolder
myAttribute
;
33
34
/// The type of sort to use for work items
35
PDG_WorkItemSortOrder
myOrder
;
36
37
/// Sort ascending or descending
38
bool
myDirection
;
39
40
/// Sort required items to the beginning of the list
41
bool
myRequired
;
42
};
43
44
#endif
PDG_WorkItemSortOrder::eSortIndex
Index based sorting.
PDG_SortOptions::myRequired
bool myRequired
Sort required items to the beginning of the list.
Definition:
PDG_SortOptions.h:41
myOrder
int myOrder
Definition:
GT_CurveEval.h:263
PDG_SortOptions::PDG_SortOptions
PDG_SortOptions()
Default sort options.
Definition:
PDG_SortOptions.h:23
PDG_API
#define PDG_API
Definition:
PDG_API.h:23
PDG_Types.h
PDG_SortOptions
Definition:
PDG_SortOptions.h:20
UT_StringHolder
Definition:
UT_StringHolder.h:999
PDG_WorkItemSortOrder
PDG_WorkItemSortOrder
Definition:
PDG_Types.h:394
PDG_SortOptions::myOrder
PDG_WorkItemSortOrder myOrder
The type of sort to use for work items.
Definition:
PDG_SortOptions.h:35
PDG_SortOptions::myAttribute
UT_StringHolder myAttribute
The sort attribute, used when the sort order is SortAttribute.
Definition:
PDG_SortOptions.h:32
PDG_API.h
UT_StringHolder.h
PDG_SortOptions::myDirection
bool myDirection
Sort ascending or descending.
Definition:
PDG_SortOptions.h:38
PDG
PDG_SortOptions.h
Generated on Thu May 9 2024 03:15:31 for HDK by
1.8.6