00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef MS_DISTILLER_SEARCH_STATUS_HPP
00018 #define MS_DISTILLER_SEARCH_STATUS_HPP
00019
00020
00021
00022 #include <string>
00023
00024 namespace msparser_internal
00025 {
00026 class ms_XMLHelper;
00027 class ms_XMLElement;
00028 }
00029
00030 namespace matrix_science
00031 {
00032
00038
00039
00042 class MS_MASCOTRESFILE_API ms_distiller_search_status
00043 {
00044 public:
00045
00046 ms_distiller_search_status();
00047 bool extractXml(msparser_internal::ms_XMLHelper & helper, msparser_internal::ms_XMLElement & element);
00048
00050 int getId() const;
00052 std::string getTaskId() const;
00053 #ifndef SWIGCSHARP
00054
00055 std::string getTitle() const;
00056 #else
00057 std::wstring getTitle() const {
00058 return getTitleWide();
00059 };
00060 #endif
00061
00062 std::string getServer() const;
00064 std::string getSubmitTime() const;
00066 std::string getResultsFile() const;
00068 std::string getStatusMsg() const;
00070 int getError() const;
00071
00073 std::string getResfileStreamName() const;
00075 std::string getPeptideSummaryCacheStreamName() const;
00076
00077 private:
00078 std::wstring getTitleWide() const;
00079
00080 int id_;
00081 std::string taskId_;
00082 std::string title_;
00083 std::string server_;
00084 std::string submitTime_;
00085 std::string resultsFile_;
00086 std::string statusMsg_;
00087 int error_;
00088 };
00089
00091
00092
00093 }
00094
00095 #endif // MS_DISTILLER_SEARCH_STATUS_HPP
00096
00097