Main Page | Modules | Data Structures | File List | Data Fields | Globals

massspec/session.h

00001 #ifndef _SESSION_H_ 00002 #define _SESSION_H_ 00003 00004 /* Copyright (c) Kyriacos Leptos and the President and Fellows of Harvard University 00005 Release Date: 2004-11-01 00006 Part of the MapQuant suite library "massspec.lib" 00007 */ 00008 00009 extern char* CURR_SESSION_PATH; 00010 extern char* CURR_SESSION_NAME; 00011 00012 char* createFilename(int type, char* first, ...); 00013 00014 00015 Rectangle4i Session_getRectangle4i (Experiment *expmnt, char* session_name); 00016 char* Session_getPath (Experiment *expmnt, char* szSessionName); 00017 void Session_createFolder (Experiment *expmnt, char* session); 00018 MQStringArray Session_getSessionsFromFile(char* filename, int* nsessions); 00019 int Session_isMultiple (Experiment *expmnt, char* session); 00020 00021 /*>char* Session_assembleFilename(Experiment *expmnt, char* szSession, char* szLabel, FileType nType) 00022 --------------------------------------------- 00023 Input: Experiment *expmnt the pointer to an Experiment data structure 00024 char* szSession the name of the session 00025 FileType nType the the type of the file 00026 char* szLabel the label attached to the session name 00027 00028 Returns: char * the name of the filename 00029 It assembles a filename of in the session folder in the form: 00030 "SESSION_PATH"/"SESSION_NAME"."LABEL"."FILE_EXTENSION" 00031 e.g. Session_assembleFilename("030212081232", FILE_IPK, "bs") 00032 would give: "SESSION_PATH"/030212081232_bs.fpeaks 00033 00034 15.01.96 The date the function was created followed by 00035 dates of any modifications in the same format 00036 */ 00037 00038 char* Session_assembleFilename(Experiment *expmnt, char* szSession, char* szNameInSession, MQFileType nType); 00039 00040 char* Session_assembleSubFilename(Experiment *expmnt, char* session, char* filename, MQFileType nType, char* subfilename); 00041 void Session_createFilenameFolder(Experiment *expmnt, char* session, char* filename, MQFileType nType); 00042 char* Session_getProcScriptName(Experiment* expmnt, char* szSession); 00043 00044 #endif 00045

Generated on Sun Feb 13 01:05:59 2005 for MapQuant by doxygen 1.3.7