UltraScan III
Namespaces
Classes
Files
File List
File Members
utils
us_project.h
Go to the documentation of this file.
1
#ifndef US_PROJECT_H
3
#define US_PROJECT_H
4
5
#include "
us_extern.h
"
6
#include "
us_db2.h
"
7
13
class
US_UTIL_EXTERN
US_Project
14
{
15
public
:
16
18
enum
projectStatus
19
{
20
NOT_SAVED
,
21
EDITING
,
22
HD_ONLY
,
23
DB_ONLY
,
24
BOTH
25
};
26
27
int
projectID
;
28
QString
projectGUID
;
29
QString
goals
;
30
QString
molecules
;
31
QString
purity
;
32
QString
expense
;
33
QString
bufferComponents
;
34
QString
saltInformation
;
35
QString
AUC_questions
;
36
QString
expDesign
;
37
QString
notes
;
38
QString
projectDesc
;
39
QString
status
;
40
41
projectStatus
saveStatus
;
42
44
US_Project
();
45
47
~US_Project
() {};
48
54
int
readFromDisk( QString& );
55
62
int
readFromDB (
int
,
US_DB2
* = 0 );
63
65
void
clear (
void
);
66
68
void
saveToDisk (
void
);
69
74
int
saveToDB (
US_DB2
* = 0 );
75
77
void
deleteFromDisk (
void
);
78
83
void
deleteFromDB (
US_DB2
* = 0 );
84
91
bool
diskFilename (
const
QString& , QString& );
92
98
bool
diskPath ( QString& );
99
101
void
show (
void
);
102
103
private
:
104
105
void
readProjectInfo ( QXmlStreamReader& xml );
106
QString get_filename (
const
QString&,
bool
& );
107
};
108
#endif
Generated on Sun Jun 21 2015 11:40:43 for UltraScan III by
1.8.3.1-20130324