21 #ifndef OM_HGUARD_CHERT_VERSION_H    22 #define OM_HGUARD_CHERT_VERSION_H    42     explicit ChertVersion(
const std::string & dbdir) : filename(dbdir) {
    43         filename += 
"/iamchert";
 void read_and_check()
Read the version file and check it's a version we understand. 
 
std::string get_uuid_string() const
Return UUID in the standard 36 character string format. 
 
The ChertVersion class manages the "iamchert" file. 
 
ChertVersion(const std::string &dbdir)
 
std::string filename
The filename of the version file. 
 
std::string to_string() const
 
const char * get_uuid() const
Return pointer to 16 byte UUID. 
 
Uuid uuid
The UUID of this database. 
 
void create()
Create the version file. 
 
Class for handling UUIDs. 
 
const char * data() const