|
AWS IoT Device SDK C++ v2 1.45.1
AWS IoT Device SDK C++ v2
|
Namespaces | |
| namespace | Auth |
| namespace | Cbor |
| namespace | Checksum |
| namespace | Crypto |
| namespace | DnsUtils |
| namespace | Endpoints |
| namespace | Http |
| namespace | Imds |
| namespace | Io |
| namespace | literals |
| namespace | Mqtt |
| namespace | Mqtt5 |
| namespace | S3 |
| namespace | string_view_literals |
| namespace | VariantDetail |
Classes | |
| class | ApiHandle |
| class | basic_string_view |
| struct | Conjunction |
| struct | Conjunction< Arg, Args... > |
| class | DateTime |
| struct | InPlaceT |
| struct | InPlaceTypeT |
| struct | IsSpecializationOf |
| struct | IsSpecializationOf< Primary< Args... >, Primary > |
| class | JsonObject |
| class | JsonView |
| class | Optional |
| class | RefCounted |
| class | StlAllocator |
| class | UUID |
| class | Variant |
Typedefs | |
| using | Allocator = aws_allocator |
| typedef basic_string_view< char > | string_view |
| typedef basic_string_view< char16_t > | u16string_view |
| typedef basic_string_view< char32_t > | u32string_view |
| typedef basic_string_view< wchar_t > | wstring_view |
| using | StringView = string_view |
| using | ByteBuf = aws_byte_buf |
| using | ByteCursor = aws_byte_cursor |
| using | String = std::basic_string<char, std::char_traits<char>, StlAllocator<char>> |
| using | StringStream = std::basic_stringstream<char, std::char_traits<char>, StlAllocator<char>> |
| template<typename K, typename V> | |
| using | Map = std::map<K, V, std::less<K>, StlAllocator<std::pair<const K, V>>> |
| template<typename K, typename V> | |
| using | UnorderedMap |
| template<typename K, typename V> | |
| using | MultiMap = std::multimap<K, V, std::less<K>, StlAllocator<std::pair<const K, V>>> |
| template<typename T> | |
| using | Vector = std::vector<T, StlAllocator<T>> |
| template<typename T> | |
| using | List = std::list<T, StlAllocator<T>> |
| template<typename RawType, typename TargetType> | |
| using | TypeConvertor = std::function<TargetType(RawType)> |
| template<typename T> | |
| using | ScopedResource = std::unique_ptr<T, std::function<void(T *)>> |
Enumerations | |
| enum class | LogLevel { None = AWS_LL_NONE , Fatal = AWS_LL_FATAL , Error = AWS_LL_ERROR , Warn = AWS_LL_WARN , Info = AWS_LL_INFO , Debug = AWS_LL_DEBUG , Trace = AWS_LL_TRACE , Count } |
| enum class | ApiHandleShutdownBehavior { Blocking , NonBlocking } |
| enum class | DateFormat { RFC822 = AWS_DATE_FORMAT_RFC822 , ISO_8601 = AWS_DATE_FORMAT_ISO_8601 , AutoDetect = AWS_DATE_FORMAT_AUTO_DETECT } |
| enum class | Month { January = AWS_DATE_MONTH_JANUARY , February = AWS_DATE_MONTH_FEBRUARY , March = AWS_DATE_MONTH_MARCH , April = AWS_DATE_MONTH_APRIL , May = AWS_DATE_MONTH_MAY , June = AWS_DATE_MONTH_JUNE , July = AWS_DATE_MONTH_JULY , August = AWS_DATE_MONTH_AUGUST , September = AWS_DATE_MONTH_SEPTEMBER , October = AWS_DATE_MONTH_OCTOBER , November = AWS_DATE_MONTH_NOVEMBER , December = AWS_DATE_MONTH_DECEMBER } |
| enum class | DayOfWeek { Sunday = AWS_DATE_DAY_OF_WEEK_SUNDAY , Monday = AWS_DATE_DAY_OF_WEEK_MONDAY , Tuesday = AWS_DATE_DAY_OF_WEEK_TUESDAY , Wednesday = AWS_DATE_DAY_OF_WEEK_WEDNESDAY , Thursday = AWS_DATE_DAY_OF_WEEK_THURSDAY , Friday = AWS_DATE_DAY_OF_WEEK_FRIDAY , Saturday = AWS_DATE_DAY_OF_WEEK_SATURDAY } |
Functions | |
| AWS_CRT_CPP_API Allocator * | ApiAllocator () noexcept |
| AWS_CRT_CPP_API Allocator * | DefaultAllocatorImplementation () noexcept |
| AWS_CRT_CPP_API Allocator * | DefaultAllocator () noexcept |
| AWS_CRT_CPP_API const char * | ErrorDebugString (int error) noexcept |
| AWS_CRT_CPP_API const char * | ErrorName (int error) noexcept |
| AWS_CRT_CPP_API int | LastError () noexcept |
| AWS_CRT_CPP_API int | LastErrorOrUnknown () noexcept |
| size_t AWS_CRT_CPP_API | HashString (const char *str) noexcept |
| template<class CharT, class Traits> | |
| bool | operator== (const basic_string_view< CharT, Traits > &lhs, const basic_string_view< CharT, Traits > &rhs) noexcept |
| template<class CharT, class Traits> | |
| bool | operator== (const basic_string_view< CharT, Traits > &lhs, typename std::common_type< basic_string_view< CharT, Traits > >::type &rhs) noexcept |
| template<class CharT, class Traits> | |
| bool | operator== (typename std::common_type< basic_string_view< CharT, Traits > >::type &lhs, const basic_string_view< CharT, Traits > &rhs) noexcept |
| template<class CharT, class Traits> | |
| bool | operator!= (const basic_string_view< CharT, Traits > &lhs, const basic_string_view< CharT, Traits > &rhs) noexcept |
| template<class CharT, class Traits> | |
| bool | operator!= (const basic_string_view< CharT, Traits > &lhs, typename std::common_type< basic_string_view< CharT, Traits > >::type &rhs) noexcept |
| template<class CharT, class Traits> | |
| bool | operator!= (typename std::common_type< basic_string_view< CharT, Traits > >::type &lhs, const basic_string_view< CharT, Traits > &rhs) noexcept |
| template<class CharT, class Traits> | |
| bool | operator< (const basic_string_view< CharT, Traits > &lhs, const basic_string_view< CharT, Traits > &rhs) noexcept |
| template<class CharT, class Traits> | |
| constexpr bool | operator< (const basic_string_view< CharT, Traits > &lhs, typename std::common_type< basic_string_view< CharT, Traits > >::type &rhs) noexcept |
| template<class CharT, class Traits> | |
| constexpr bool | operator< (typename std::common_type< basic_string_view< CharT, Traits > >::type &lhs, const basic_string_view< CharT, Traits > &rhs) noexcept |
| template<class CharT, class Traits> | |
| constexpr bool | operator> (const basic_string_view< CharT, Traits > &lhs, const basic_string_view< CharT, Traits > &rhs) noexcept |
| template<class CharT, class Traits> | |
| constexpr bool | operator> (const basic_string_view< CharT, Traits > &lhs, typename std::common_type< basic_string_view< CharT, Traits > >::type &rhs) noexcept |
| template<class CharT, class Traits> | |
| constexpr bool | operator> (typename std::common_type< basic_string_view< CharT, Traits > >::type &lhs, const basic_string_view< CharT, Traits > &rhs) noexcept |
| template<class CharT, class Traits> | |
| constexpr bool | operator<= (const basic_string_view< CharT, Traits > &lhs, const basic_string_view< CharT, Traits > &rhs) noexcept |
| template<class CharT, class Traits> | |
| constexpr bool | operator<= (const basic_string_view< CharT, Traits > &lhs, typename std::common_type< basic_string_view< CharT, Traits > >::type &rhs) noexcept |
| template<class CharT, class Traits> | |
| constexpr bool | operator<= (typename std::common_type< basic_string_view< CharT, Traits > >::type &lhs, const basic_string_view< CharT, Traits > &rhs) noexcept |
| template<class CharT, class Traits> | |
| constexpr bool | operator>= (const basic_string_view< CharT, Traits > &lhs, const basic_string_view< CharT, Traits > &rhs) noexcept |
| template<class CharT, class Traits> | |
| constexpr bool | operator>= (const basic_string_view< CharT, Traits > &lhs, typename std::common_type< basic_string_view< CharT, Traits > >::type &rhs) noexcept |
| template<class CharT, class Traits> | |
| constexpr bool | operator>= (typename std::common_type< basic_string_view< CharT, Traits > >::type &lhs, const basic_string_view< CharT, Traits > &rhs) noexcept |
| basic_string_view< char > | OPERATOR_LITERAL_SV (const char *s, size_t length) noexcept |
| basic_string_view< wchar_t > | OPERATOR_LITERAL_SV (const wchar_t *s, size_t length) noexcept |
| basic_string_view< char16_t > | OPERATOR_LITERAL_SV (const char16_t *s, size_t length) noexcept |
| basic_string_view< char32_t > | OPERATOR_LITERAL_SV (const char32_t *s, size_t length) noexcept |
| AWS_CRT_CPP_API ByteBuf | ByteBufFromCString (const char *str) noexcept |
| AWS_CRT_CPP_API ByteBuf | ByteBufFromEmptyArray (const uint8_t *array, size_t len) noexcept |
| AWS_CRT_CPP_API ByteBuf | ByteBufFromArray (const uint8_t *array, size_t capacity) noexcept |
| AWS_CRT_CPP_API ByteBuf | ByteBufNewCopy (Allocator *alloc, const uint8_t *array, size_t len) |
| AWS_CRT_CPP_API ByteBuf | ByteBufInit (Allocator *alloc, size_t len) |
| AWS_CRT_CPP_API bool | ByteBufInitFromFile (ByteBuf &buf, Allocator *alloc, const char *filename) |
| AWS_CRT_CPP_API void | ByteBufDelete (ByteBuf &) |
| AWS_CRT_CPP_API ByteCursor | ByteCursorFromCString (const char *str) noexcept |
| AWS_CRT_CPP_API ByteCursor | ByteCursorFromString (const Crt::String &str) noexcept |
| AWS_CRT_CPP_API ByteCursor | ByteCursorFromStringView (const Crt::StringView &str) noexcept |
| AWS_CRT_CPP_API ByteCursor | ByteCursorFromByteBuf (const ByteBuf &) noexcept |
| AWS_CRT_CPP_API ByteCursor | ByteCursorFromArray (const uint8_t *array, size_t len) noexcept |
| AWS_CRT_CPP_API Vector< uint8_t > | Base64Decode (const String &decode) noexcept |
| AWS_CRT_CPP_API Vector< uint8_t > | Base64Decode (ByteCursor decode) noexcept |
| AWS_CRT_CPP_API size_t | Base64DecodedLength (ByteCursor decode) noexcept |
| AWS_CRT_CPP_API String | Base64Encode (const Vector< uint8_t > &encode) noexcept |
| AWS_CRT_CPP_API String | Base64Encode (ByteCursor encode) noexcept |
| AWS_CRT_CPP_API size_t | Base64EncodedLength (ByteCursor encode) noexcept |
| template<typename RawType, typename TargetType> | |
| Vector< TargetType > | ArrayListToVector (const aws_array_list *array, TypeConvertor< RawType, TargetType > conv) |
| template<typename RawType, typename TargetType> | |
| Vector< TargetType > | ArrayListToVector (const aws_array_list *array) |
| template<typename Type> | |
| Vector< Type > | ArrayListToVector (const aws_array_list *array) |
| AWS_CRT_CPP_API StringView | ByteCursorToStringView (const ByteCursor &bc) |
| AWS_CRT_CPP_API ByteCursor | StringViewToByteCursor (const StringView &sv) |
| template<typename T> | |
| void | Delete (T *t, Allocator *allocator) |
| template<typename T, typename... Args> | |
| T * | New (Allocator *allocator, Args &&...args) |
| template<typename T, typename... Args> | |
| std::shared_ptr< T > | MakeShared (Allocator *allocator, Args &&...args) |
| template<typename Derived, typename Base, typename std::enable_if< std::is_base_of< Base, Derived >::value, bool >::type = true> | |
| ScopedResource< Base > | SafeSuperCast (ScopedResource< Derived > derived) |
| template<typename Base, typename Derived, typename std::enable_if< std::is_base_of< Base, Derived >::value, bool >::type = true> | |
| ScopedResource< Derived > | SafeSubCast (ScopedResource< Base > base) |
| using Aws::Crt::Allocator = aws_allocator |
| using Aws::Crt::ByteBuf = aws_byte_buf |
| using Aws::Crt::ByteCursor = aws_byte_cursor |
| using Aws::Crt::List = std::list<T, StlAllocator<T>> |
| using Aws::Crt::Map = std::map<K, V, std::less<K>, StlAllocator<std::pair<const K, V>>> |
| using Aws::Crt::MultiMap = std::multimap<K, V, std::less<K>, StlAllocator<std::pair<const K, V>>> |
| using Aws::Crt::ScopedResource = std::unique_ptr<T, std::function<void(T *)>> |
| using Aws::Crt::String = std::basic_string<char, std::char_traits<char>, StlAllocator<char>> |
| typedef basic_string_view<char> Aws::Crt::string_view |
| using Aws::Crt::StringStream = std::basic_stringstream<char, std::char_traits<char>, StlAllocator<char>> |
| using Aws::Crt::StringView = string_view |
| using Aws::Crt::TypeConvertor = std::function<TargetType(RawType)> |
| typedef basic_string_view<char16_t> Aws::Crt::u16string_view |
| typedef basic_string_view<char32_t> Aws::Crt::u32string_view |
| using Aws::Crt::UnorderedMap |
| using Aws::Crt::Vector = std::vector<T, StlAllocator<T>> |
| typedef basic_string_view<wchar_t> Aws::Crt::wstring_view |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
noexcept |
Each object from this library can use an explicit allocator. If you construct an object without specifying an allocator, then THIS allocator is used instead.
You can customize this allocator when initializing ApiHandle.
| Vector< Type > Aws::Crt::ArrayListToVector | ( | const aws_array_list * | array | ) |
Template function to convert an aws_array_list of Type to a C++ like Vector of Type.
| Vector< TargetType > Aws::Crt::ArrayListToVector | ( | const aws_array_list * | array | ) |
Template function to convert an aws_array_list of RawType to a C++ like Vector of TargetType. This template assumes a direct constructor: TargetType(RawType) is available
| Vector< TargetType > Aws::Crt::ArrayListToVector | ( | const aws_array_list * | array, |
| TypeConvertor< RawType, TargetType > | conv ) |
Template function to convert an aws_array_list of RawType to a C++ like Vector of TargetType. A conversion function should be provided to do the type conversion
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
| void Aws::Crt::ByteBufDelete | ( | ByteBuf & | buf | ) |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
inline |
|
noexcept |
|
noexcept |
| void Aws::Crt::Delete | ( | T * | t, |
| Allocator * | allocator ) |
|
noexcept |
Gets a string description of a CRT error code
| error | error code to get a descriptive string for |
|
noexcept |
Gets the name of a CRT error code, e.g. "AWS_ERROR_S3_CANCELED"
| error | error code to get the name for |
|
noexcept |
C-string hash function
| str | string to hash |
|
noexcept |
|
noexcept |
| std::shared_ptr< T > Aws::Crt::MakeShared | ( | Allocator * | allocator, |
| Args &&... | args ) |
| T * Aws::Crt::New | ( | Allocator * | allocator, |
| Args &&... | args ) |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
constexprnoexcept |
|
constexprnoexcept |
|
constexprnoexcept |
|
constexprnoexcept |
|
constexprnoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
constexprnoexcept |
|
constexprnoexcept |
|
constexprnoexcept |
|
constexprnoexcept |
|
constexprnoexcept |
|
constexprnoexcept |
| ScopedResource< Derived > Aws::Crt::SafeSubCast | ( | ScopedResource< Base > | base | ) |
| ScopedResource< Base > Aws::Crt::SafeSuperCast | ( | ScopedResource< Derived > | derived | ) |
|
inline |
| Allocator * Aws::Crt::g_allocator = Aws::Crt::DefaultAllocatorImplementation() |
|
staticconstexpr |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |