Download include/aws/crt/UUID.h from Shenghong/dai_env: direct link, hf CLI and curl.
- Browser
- Download file 1.06 kB
-
https://huggingface.co/Shenghong/dai_env/resolve/main/include/aws/crt/UUID.h
- Command line
-
hf download hf://Shenghong/dai_env/include/aws/crt/UUID.h
-
curl -L -o UUID.h https://huggingface.co/Shenghong/dai_env/resolve/main/include/aws/crt/UUID.h
1.06 kB
| /** | |
| * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | |
| * SPDX-License-Identifier: Apache-2.0. | |
| */ | |
| namespace Aws | |
| { | |
| namespace Crt | |
| { | |
| /** | |
| * Utility class for creating UUIDs and serializing them to a string | |
| */ | |
| class AWS_CRT_CPP_API UUID final | |
| { | |
| public: | |
| UUID() noexcept; | |
| UUID(const String &str) noexcept; | |
| UUID &operator=(const String &str) noexcept; | |
| bool operator==(const UUID &other) const noexcept; | |
| bool operator!=(const UUID &other) const noexcept; | |
| operator String() const; | |
| operator ByteBuf() const noexcept; | |
| inline operator bool() const noexcept { return m_good; } | |
| int GetLastError() const noexcept; | |
| String ToString() const; | |
| private: | |
| aws_uuid m_uuid; | |
| bool m_good; | |
| }; | |
| } // namespace Crt | |
| } // namespace Aws | |