uuidgen.h

来自「Password Safe Password Safe is a passwor」· C头文件 代码 · 共 28 行

H
28
字号
// UUIDGen.h// Silly class for generating UUIDs// Each instance has its own unique value, // which can be accessed as an array of bytes or as a human-readable// ASCII string.//#ifndef __UUIDGEN_H#define __UUIDGEN_Htypedef unsigned char uuid_array_t[16];typedef unsigned char uuid_str_t[37]; //"204012e6-600f-4e01-a5eb-515267cb0d50"#include "PwsPlatform.h"class CUUIDGen { public:  CUUIDGen(); // UUID generated at creation time  CUUIDGen(const uuid_array_t &); // for storing an existing UUID  ~CUUIDGen();  void GetUUID(uuid_array_t &) const;  void GetUUIDStr(uuid_str_t &) const; private:  UUID uuid;};#endif /* __UUIDGEN_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?