- Timestamp:
- 2008-05-23T14:27:11+12:00 (16 years ago)
- Location:
- gsdl/trunk/lib
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/lib/dbclass.h
r15655 r15679 67 67 virtual void deletekey (const text_t &key) = 0; 68 68 69 // returns file extension string 70 virtual text_t getfileextension () = 0; 71 69 72 // returns true on success 70 73 virtual bool getkeydata (const text_t& key, text_t &data) = 0; -
gsdl/trunk/lib/gdbmclass.cpp
r15655 r15679 25 25 26 26 #include "gdbmclass.h" 27 #include " unitool.h"27 #include "gsdltools.h" 28 28 #include "gsdlunicode.h" 29 #include "OIDtools.h"30 29 31 30 … … 115 114 116 115 116 // returns file extension string 117 text_t gdbmclass::getfileextension () 118 { 119 if (littleEndian()) return ".ldb"; 120 return ".bdb"; 121 } 122 123 117 124 // returns true on success 118 125 bool gdbmclass::getkeydata (const text_t& key, text_t &data) -
gsdl/trunk/lib/gdbmclass.h
r15655 r15679 62 62 void deletekey (const text_t &key); 63 63 64 // returns file extension string 65 text_t getfileextension (); 66 64 67 // returns true on success 65 68 bool getkeydata (const text_t& key, text_t &data); -
gsdl/trunk/lib/sqlitedbclass.cpp
r15655 r15679 89 89 90 90 91 // returns file extension string 92 text_t sqlitedbclass::getfileextension () 93 { 94 return ".db"; 95 } 96 97 91 98 // returns true on success 92 99 bool sqlitedbclass::getkeydata (const text_t& key, text_t &data) -
gsdl/trunk/lib/sqlitedbclass.h
r15655 r15679 45 45 void deletekey (const text_t &key); 46 46 47 // returns file extension string 48 text_t getfileextension (); 49 47 50 // returns true on success 48 51 bool getkeydata (const text_t& key, text_t &data);
Note:
See TracChangeset
for help on using the changeset viewer.