summaryrefslogtreecommitdiff
path: root/src/uuid.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2011-07-25 18:07:32 +0000
committerMike Buland <eichlan@xagasoft.com>2011-07-25 18:07:32 +0000
commit663c6d9c9113a92fc3c79b51ea986ff30189868d (patch)
treea95f425516ff406076ead3e99e96134c70602aa7 /src/uuid.h
parentd3a6d910f96d1509b17165b635663b608681b89a (diff)
downloadlibbu++-663c6d9c9113a92fc3c79b51ea986ff30189868d.tar.gz
libbu++-663c6d9c9113a92fc3c79b51ea986ff30189868d.tar.bz2
libbu++-663c6d9c9113a92fc3c79b51ea986ff30189868d.tar.xz
libbu++-663c6d9c9113a92fc3c79b51ea986ff30189868d.zip
Some tweaks to the uuid class to make it easier to work with, next for it is
probably going to be archiver operators.
Diffstat (limited to 'src/uuid.h')
-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};