ITK Function Reference
(V10000.1.0.60_20160308.00)
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
sa
workcontext.h
Go to the documentation of this file.
1
/*==============================================================================
2
Copyright (c) 2003-2005 UGS Corporation
3
Unpublished - All Rights Reserved
4
==============================================================================*/
5
18
/* */
19
20
#ifndef WORKCONTEXT_H
21
#define WORKCONTEXT_H
22
23
#include <
sa/sa.h
>
24
25
#include <sa/libsa_exports.h>
26
33
#ifdef __cplusplus
34
extern
"C"
{
35
#endif
36
40
extern
SA_API
int
SA_create_work_context
(
41
const
char
* name,
42
const
char
* desc,
43
tag_t
group,
44
tag_t
role,
45
tag_t
user,
46
tag_t
project,
47
logical
allowSubgroups,
48
logical
settingModifiable,
49
tag_t
* newWorkContext
50
);
51
55
extern
SA_API
int
SA_assign_work_context
(
56
tag_t
workcontext,
57
tag_t
target
58
);
59
63
extern
SA_API
int
SA_remove_work_context
(
64
tag_t
workcontext,
65
tag_t
target
66
);
67
71
extern
SA_API
int
SA_set_current_work_context
(
72
tag_t
workcontext
73
);
74
78
extern
SA_API
int
SA_set_current_project
(
79
tag_t
project
80
);
81
85
extern
SA_API
int
SA_ask_current_work_context
(
86
tag_t
*workcontext
87
);
88
92
extern
SA_API
int
SA_ask_current_project
(
93
tag_t
*project
94
);
95
99
extern
SA_API
int
SA_ask_user_work_contexts
(
100
tag_t
user,
101
int
*n_workcontexts,
102
tag_t
**workcontexts
103
);
104
108
extern
SA_API
int
SA_set_current_organization
(
109
tag_t
organizationTag
110
);
111
115
extern
SA_API
int
SA_ask_current_organization
(
116
tag_t
*organizationTag
117
);
118
122
extern
SA_API
int
SA_ask_current_location_code
(
123
char
**locCodePref
124
);
125
129
extern
SA_API
int
SA_set_current_location_code
(
130
char
*locCodePref
131
);
132
137
extern
SA_API
int
SA_ask_current_user_context
(
138
tag_t
*user_context
139
);
140
143
#ifdef __cplusplus
144
}
145
#endif
146
147
#include <sa/libsa_undef.h>
148
#endif
149
150