22 #ifndef XAPIAN_INCLUDED_UUIDS_H 23 #define XAPIAN_INCLUDED_UUIDS_H 40 void parse(
const char* in);
42 void parse(
const std::string& in) {
return parse(in.data()); }
61 return reinterpret_cast<const char*
>(
uuid_data);
void assign(const char *p)
unsigned char uuid_data[BINARY_SIZE]
The UUID data.
static constexpr unsigned STRING_SIZE
The size of a UUID string in bytes (not including trailing '\0').
std::string to_string() const
void parse(const char *in)
void parse(const std::string &in)
static constexpr unsigned BINARY_SIZE
The size of a UUID in bytes.
const char * data() const