source: source/ariba/utility/misc/StringFormat.h@ 2444

Last change on this file since 2444 was 2444, checked in by mies, 15 years ago
File size: 880 bytes
Line 
1
2#ifndef STRINGFORMAT_H_
3#define STRINGFORMAT_H_
4
5#include "boost/xpressive/xpressive.hpp"
6
7using boost::xpressive::sregex;
8
9/**
10 * This class defines some regular expressions ...
11 *
12 * @author Sebastian Mies
13 */
14class StringFormat {
15public:
16 // regex: string
17 static const sregex rstring;
18
19 // regex: base64 encoding
20 static const sregex rbase64;
21
22 // regex: raw alphabet
23 static const sregex rchars;
24
25 // regex: integer
26 static const sregex rint;
27
28 // regex: binary label
29 static const sregex rlabel;
30
31 // regex: dot separated identifier
32 static const sregex rid;
33
34 // regex: "leaf" data
35 static const sregex rdata;
36
37 // regex: fields
38 static const sregex rfield_label;
39 static const sregex rfield;
40 static const sregex rfields;
41
42 // regex: objects
43 static const sregex robject_data;
44 static const sregex robject;
45 static const sregex robjects;
46};
47
48#endif /* STRINGFORMAT_H_ */
Note: See TracBrowser for help on using the repository browser.