aboutsummaryrefslogtreecommitdiff
path: root/src/uuid.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/uuid.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/uuid.h b/src/uuid.h
index ee7469b..1ffecc2 100644
--- a/src/uuid.h
+++ b/src/uuid.h
@@ -17,11 +17,12 @@ namespace Bu
17 public: 17 public:
18 Uuid(); 18 Uuid();
19 Uuid( const Uuid &src ); 19 Uuid( const Uuid &src );
20 Uuid( const Bu::String &sSrc );
20 virtual ~Uuid(); 21 virtual ~Uuid();
21 22
22 Bu::String toRawString(); 23 Bu::String toRawString() const;
23 Bu::String toString(); 24 Bu::String toString() const;
24 Bu::String toUrn(); 25 Bu::String toUrn() const;
25 26
26 int getVersion(); 27 int getVersion();
27 28
@@ -35,6 +36,7 @@ namespace Bu
35 void clear(); 36 void clear();
36 37
37 private: 38 private:
39 void set( const Bu::String &sSrc );
38 unsigned char data[16]; 40 unsigned char data[16];
39 }; 41 };
40}; 42};