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
14
#include <
UT/UT_StringHolder.h
>
15
16
/*
17
* Configuration options for sorting work items
18
*/
19
struct
PDG_API
PDG_SortOptions
20
{
21
/// Default sort options
22
PDG_SortOptions
()
23
: myAttribute(
""
)
24
,
myOrder
(
PDG_WorkItemSortOrder
::
eSortIndex
)
25
, myDirection(false)
26
, myRequired(false)
27
{
28
}
29
30
/// The sort attribute, used when the sort order is SortAttribute
31
UT_StringHolder
myAttribute
;
32
33
/// The type of sort to use for work items
34
PDG_WorkItemSortOrder
myOrder
;
35
36
/// Sort ascending or descending
37
bool
myDirection
;
38
39
/// Sort required items to the beginning of the list
40
bool
myRequired
;
41
};
42
43
#endif
PDG_SortOptions::myRequired
bool myRequired
Sort required items to the beginning of the list.
Definition:
PDG_SortOptions.h:40
myOrder
int myOrder
Definition:
GT_CurveEval.h:263
PDG_SortOptions::PDG_SortOptions
PDG_SortOptions()
Default sort options.
Definition:
PDG_SortOptions.h:22
PDG_API
#define PDG_API
Definition:
PDG_API.h:23
PDG_SortOptions
Definition:
PDG_SortOptions.h:19
PDG_WorkItemSortOrder
PDG_WorkItemSortOrder
Definition:
PDG_WorkItemTypes.h:135
UT_StringHolder
Definition:
UT_StringHolder.h:999
PDG_SortOptions::myOrder
PDG_WorkItemSortOrder myOrder
The type of sort to use for work items.
Definition:
PDG_SortOptions.h:34
PDG_SortOptions::myAttribute
UT_StringHolder myAttribute
The sort attribute, used when the sort order is SortAttribute.
Definition:
PDG_SortOptions.h:31
PDG_API.h
UT_StringHolder.h
PDG_WorkItemSortOrder::eSortIndex
Index based sorting.
PDG_SortOptions::myDirection
bool myDirection
Sort ascending or descending.
Definition:
PDG_SortOptions.h:37
PDG
PDG_SortOptions.h
Generated on Sat Dec 21 2024 02:47:29 for HDK by
1.8.6