RMS SDK for C++  0.2.1
A client library for using Microsoft RMS from Linux.
Guid.h
1 /*
2  * ======================================================================
3  * Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
4  * Licensed under the MIT License.
5  * See LICENSE.md in the project root for license information.
6  * ======================================================================
7 */
8 
9 #ifndef GUID_H
10 #define GUID_H
11 
12 #include "types.h"
13 
14 namespace rmsauth {
15 
16 class IGuid
17 {
18 public:
19  virtual String toString() const = 0;
20  virtual bool empty() const = 0;
21 };
22 
23 class Guid : public IGuid
24 {
25 public:
26  Guid();
27  Guid(const String& str);
28  virtual String toString() const override;
29  virtual bool empty() const override;
30 
31  static Guid newGuid();
32 
33 private:
34  ptr<IGuid> pImpl;
35  Guid(ptr<IGuid> guid);
36 };
37 
38 } // namespace rmsauth {
39 
40 #endif // GUID_H
Definition: Guid.h:16
Definition: AcquireTokenForClientHandler.h:14
Definition: Guid.h:23