|
AlexaClientSDK
1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Go to the documentation of this file.
16 #ifndef ACSDKMANUFACTORY_ANNOTATED_H_
17 #define ACSDKMANUFACTORY_ANNOTATED_H_
22 namespace acsdkManufactory {
34 template <
typename Annotation,
typename Type>
58 Annotated(
const std::shared_ptr<Type>& value);
98 operator std::shared_ptr<Type>()
const;
105 explicit operator bool()
const;
109 std::shared_ptr<Type> m_value;
112 template <
typename Annotation,
typename Type>
116 template <
typename Annotation,
typename Type>
120 template <
typename Annotation,
typename Type>
124 template <
typename Annotation,
typename Type>
129 template <
typename Annotation,
typename Type>
131 return m_value.
get();
134 template <
typename Annotation,
typename Type>
139 template <
typename Annotation,
typename Type>
141 return m_value.
get();
144 template <
typename Annotation,
typename Type>
149 template <
typename Annotation,
typename Type>
154 template <
typename Annotation,
typename Type>
156 return lhs.
get() == rhs.
get();
159 template <
typename Annotation,
typename Type>
161 return !(lhs == rhs);
164 template <
typename Annotation,
typename Type>
166 return lhs.
get() == rhs.get();
169 template <
typename Annotation,
typename Type>
171 return !(lhs == rhs);
177 #endif // ACSDKMANUFACTORY_ANNOTATED_H_
bool operator==(const Annotated< Annotation, Type > &lhs, const std::shared_ptr< Type > &rhs)
Definition: Annotated.h:165
Type & operator*() const
Definition: Annotated.h:135
bool operator!=(const Annotated< Annotation, Type > &lhs, const std::shared_ptr< Type > &rhs)
Definition: Annotated.h:170
Definition: EndpointCapabilitiesRegistrarInterface.h:35
Type * operator->() const
Definition: Annotated.h:140
Type * get() const
Definition: Annotated.h:130
Definition: Annotated.h:35
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
Type
Definition: Type.h:26
void reset()
Definition: Annotated.h:125
AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0