StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
parseXmlString.hh
1 /***************************************************************************
2  *
3  * $Id: parseXmlString.hh,v 1.3 1999/12/28 21:31:43 porter Exp $
4  *
5  * Author: R. Jeff Porter
6  ***************************************************************************
7  *
8  * Description: parses Xml file & returns contents between request TAGs
9  *
10  ***************************************************************************
11  *
12  * $Log: parseXmlString.hh,v $
13  * Revision 1.3 1999/12/28 21:31:43 porter
14  * added 'using std::vector' and 'using std::list' for Solaris CC5 compilation.
15  * Also fixed some warnings arising from the CC5 compiles
16  *
17  * Revision 1.2 1999/09/30 02:06:15 porter
18  * add StDbTime to better handle timestamps, modify SQL content (mysqlAccessor)
19  * allow multiple rows (StDbTable), & Added the comment sections at top of
20  * each header and src file
21  *
22  **************************************************************************/
23 #ifndef PARSEXMLSTRING_HH
24 #define PARSEXMLSTRING_HH
25 
26 
28 
29 public:
30 
31  parseXmlString(){};
32  ~parseXmlString(){};
33 
34  char * getString(char* line, char* key1, char* key2);
35  char * getStringAfter(char* line, char* key);
36  char * getStringBefore(char* line, char* key);
37  int getIndexAfter(char* line, char* key);
38  int getIndexBefore(char* line, char* key);
39  char* removeBlankEnds(char* line);
40 };
41 
42 
43 #endif
44 
45 
46 
47 
48 
49 
50 
51 
52 
53