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.


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


 Whether or not curl logs should be emitted.


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


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

Macro Definition Documentation


#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, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0