AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Classes | Namespaces | Macros | Functions
TypeIndex.h File Reference
#include <sstream>
#include <string>
#include <typeindex>
#include <type_traits>
#include <AVSCommon/Utils/Logger/LogEntry.h>
#include <AVSCommon/Utils/Logger/LoggerUtils.h>
#include <AVSCommon/Utils/PlatformDefinitions.h>
Include dependency graph for TypeIndex.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  alexaClientSDK::avsCommon::utils::TypeIndex
 
struct  alexaClientSDK::avsCommon::utils::TypeIndex::TypeSpecific< Type >
 
struct  std::hash< alexaClientSDK::avsCommon::utils::TypeIndex >
 

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::avsCommon
 
 alexaClientSDK::avsCommon::utils
 
 std
 

Macros

#define ACSDK_LOG_TYPE_INDEX(type)   logTypeIndex<type>(#type)
 

Functions

template<typename Type >
TypeIndex alexaClientSDK::avsCommon::utils::getTypeIndex ()
 
template<typename Type >
void alexaClientSDK::avsCommon::utils::logTypeIndex (const std::string &name)
 

Macro Definition Documentation

◆ ACSDK_LOG_TYPE_INDEX

#define ACSDK_LOG_TYPE_INDEX (   type)    logTypeIndex<type>(#type)

Helper macro for invoking logTypeIndex<Type> without specifying the type twice.

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0