AWS IoT Device SDK C++ v2  1.32.6
AWS IoT Device SDK C++ v2
Namespaces | Typedefs | Functions
Types.h File Reference
#include <aws/common/common.h>
#include <aws/crt/Exports.h>
#include <aws/crt/Optional.h>
#include <aws/crt/StlAllocator.h>
#include <aws/crt/StringView.h>
#include <aws/io/socket.h>
#include <aws/mqtt/mqtt.h>
#include <functional>
#include <list>
#include <map>
#include <sstream>
#include <string>
#include <unordered_map>
#include <utility>
#include <vector>

Go to the source code of this file.

Namespaces

 Aws
 
 Aws::Crt
 
 Aws::Crt::Io
 
 Aws::Crt::Mqtt
 

Typedefs

using Aws::Crt::ByteBuf = aws_byte_buf
 
using Aws::Crt::ByteCursor = aws_byte_cursor
 
using Aws::Crt::Io::IStream = std::basic_istream< char, std::char_traits< char > >
 
using Aws::Crt::Mqtt::QOS = aws_mqtt_qos
 
using Aws::Crt::Mqtt::ReturnCode = aws_mqtt_connect_return_code
 
using Aws::Crt::String = std::basic_string< char, std::char_traits< char >, StlAllocator< char > >
 
using Aws::Crt::StringStream = std::basic_stringstream< char, std::char_traits< char >, StlAllocator< char > >
 
template<typename K , typename V >
using Aws::Crt::Map = std::map< K, V, std::less< K >, StlAllocator< std::pair< const K, V > >>
 
template<typename K , typename V >
using Aws::Crt::UnorderedMap = std::unordered_map< K, V, std::hash< K >, std::equal_to< K >, StlAllocator< std::pair< const K, V > >>
 
template<typename K , typename V >
using Aws::Crt::MultiMap = std::multimap< K, V, std::less< K >, StlAllocator< std::pair< const K, V > >>
 
template<typename T >
using Aws::Crt::Vector = std::vector< T, StlAllocator< T > >
 
template<typename T >
using Aws::Crt::List = std::list< T, StlAllocator< T > >
 
template<typename RawType , typename TargetType >
using Aws::Crt::TypeConvertor = std::function< TargetType(RawType)>
 
template<typename T >
using Aws::Crt::ScopedResource = std::unique_ptr< T, std::function< void(T *)> >
 

Functions

AWS_CRT_CPP_API ByteBuf Aws::Crt::ByteBufFromCString (const char *str) noexcept
 
AWS_CRT_CPP_API ByteBuf Aws::Crt::ByteBufFromEmptyArray (const uint8_t *array, size_t len) noexcept
 
AWS_CRT_CPP_API ByteBuf Aws::Crt::ByteBufFromArray (const uint8_t *array, size_t capacity) noexcept
 
AWS_CRT_CPP_API ByteBuf Aws::Crt::ByteBufNewCopy (Allocator *alloc, const uint8_t *array, size_t len)
 
AWS_CRT_CPP_API void Aws::Crt::ByteBufDelete (ByteBuf &)
 
AWS_CRT_CPP_API ByteCursor Aws::Crt::ByteCursorFromCString (const char *str) noexcept
 
AWS_CRT_CPP_API ByteCursor Aws::Crt::ByteCursorFromString (const Crt::String &str) noexcept
 
AWS_CRT_CPP_API ByteCursor Aws::Crt::ByteCursorFromStringView (const Crt::StringView &str) noexcept
 
AWS_CRT_CPP_API ByteCursor Aws::Crt::ByteCursorFromByteBuf (const ByteBuf &) noexcept
 
AWS_CRT_CPP_API ByteCursor Aws::Crt::ByteCursorFromArray (const uint8_t *array, size_t len) noexcept
 
AWS_CRT_CPP_API Vector< uint8_t > Aws::Crt::Base64Decode (const String &decode) noexcept
 
AWS_CRT_CPP_API String Aws::Crt::Base64Encode (const Vector< uint8_t > &encode) noexcept
 
template<typename RawType , typename TargetType >
Vector< TargetType > Aws::Crt::ArrayListToVector (const aws_array_list *array, TypeConvertor< RawType, TargetType > conv)
 
template<typename RawType , typename TargetType >
Vector< TargetType > Aws::Crt::ArrayListToVector (const aws_array_list *array)
 
template<typename Type >
Vector< Type > Aws::Crt::ArrayListToVector (const aws_array_list *array)
 
AWS_CRT_CPP_API StringView Aws::Crt::ByteCursorToStringView (const ByteCursor &bc)
 
AWS_CRT_CPP_API ByteCursor Aws::Crt::StringViewToByteCursor (const StringView &sv)
 
template<typename T >
void Aws::Crt::Delete (T *t, Allocator *allocator)
 
template<typename T , typename... Args>
T * Aws::Crt::New (Allocator *allocator, Args &&...args)
 
template<typename T , typename... Args>
std::shared_ptr< T > Aws::Crt::MakeShared (Allocator *allocator, Args &&...args)