Switch to unified view
a/src/rcldb/rcldb.h | b/src/rcldb/rcldb.h | ||
---|---|---|---|
1 | #ifndef _DB_H_INCLUDED_ |
1 | #ifndef _DB_H_INCLUDED_ |
2 | #define _DB_H_INCLUDED_ |
2 | #define _DB_H_INCLUDED_ |
3 | /* @(#$Id: rcldb.h,v 1.15 2005-10-19 14:14:17 dockes Exp $ (C) 2004 J.F.Dockes */ |
3 | /* @(#$Id: rcldb.h,v 1.16 2005-11-05 14:40:50 dockes Exp $ (C) 2004 J.F.Dockes */ |
4 | 4 | ||
5 | #include <string> |
5 | #include <string> |
6 | #include <list> |
6 | #include <list> |
7 | #include <vector> |
7 | #include <vector> |
8 | #ifndef NO_NAMESPACES |
8 | #ifndef NO_NAMESPACES |
... |
... |
||
37 | public: |
37 | public: |
38 | // These fields potentially go into the document data record |
38 | // These fields potentially go into the document data record |
39 | string url; |
39 | string url; |
40 | string ipath; |
40 | string ipath; |
41 | string mimetype; |
41 | string mimetype; |
42 | string mtime; // Modification time as decimal ascii
|
42 | string fmtime; // File modification time as decimal ascii unix time |
43 | string dmtime; // Data reference date (same format). Ie: mail date |
||
43 | string origcharset; |
44 | string origcharset; |
44 | string title; |
45 | string title; |
45 | string keywords; |
46 | string keywords; |
46 | string abstract; |
47 | string abstract; |
47 | 48 | ||
... |
... |
||
49 | 50 | ||
50 | void erase() { |
51 | void erase() { |
51 | url.erase(); |
52 | url.erase(); |
52 | ipath.erase(); |
53 | ipath.erase(); |
53 | mimetype.erase(); |
54 | mimetype.erase(); |
54 | mtime.erase(); |
55 | fmtime.erase();
|
56 | dmtime.erase(); |
||
55 | origcharset.erase(); |
57 | origcharset.erase(); |
56 | title.erase(); |
58 | title.erase(); |
57 | keywords.erase(); |
59 | keywords.erase(); |
58 | abstract.erase(); |
60 | abstract.erase(); |
59 | 61 |