16 #ifndef ACSDK_SDKCLIENT_INCLUDE_ACSDK_SDKCLIENT_ANNOTATED_H_ 17 #define ACSDK_SDKCLIENT_INCLUDE_ACSDK_SDKCLIENT_ANNOTATED_H_ 36 template <
typename Annotation,
typename Type>
111 std::shared_ptr<Type> m_value;
114 template <
typename Annotation,
typename Type>
118 template <
typename Annotation,
typename Type>
123 template <
typename Annotation,
typename Type>
127 template <
typename Annotation,
typename Type>
132 template <
typename Annotation,
typename Type>
134 return m_value.get();
137 template <
typename Annotation,
typename Type>
142 template <
typename Annotation,
typename Type>
144 return m_value.get();
147 template <
typename Annotation,
typename Type>
152 template <
typename Annotation,
typename Type>
157 template <
typename Annotation,
typename Type>
161 return lhs.
get() == rhs.
get();
164 template <
typename Annotation,
typename Type>
168 return !(lhs == rhs);
171 template <
typename Annotation,
typename Type>
174 const std::shared_ptr<Type>& rhs) {
175 return lhs.
get() == rhs.get();
178 template <
typename Annotation,
typename Type>
181 const std::shared_ptr<Type>& rhs) {
182 return !(lhs == rhs);
188 #endif // ACSDK_SDKCLIENT_INCLUDE_ACSDK_SDKCLIENT_ANNOTATED_H_
ACSDK_INLINE_VISIBILITY Type & operator*() const
Definition: Annotated.h:138
Type element_type
The underlying type that is being annotated.
Definition: Annotated.h:40
Definition: Annotated.h:37
ACSDK_INLINE_VISIBILITY bool operator!=(const Annotated< Annotation, Type > &lhs, const Annotated< Annotation, Type > &rhs)
Definition: Annotated.h:165
ACSDK_INLINE_VISIBILITY Type * operator->() const
Definition: Annotated.h:143
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
ACSDK_INLINE_VISIBILITY Type * get() const
Definition: Annotated.h:133
Type
Definition: Type.h:26
ACSDK_INLINE_VISIBILITY void reset()
Definition: Annotated.h:128
ACSDK_INLINE_VISIBILITY bool operator==(const Annotated< Annotation, Type > &lhs, const Annotated< Annotation, Type > &rhs)
Definition: Annotated.h:158