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_ Type * get() const
Definition: Annotated.h:130
ACSDK_INLINE_VISIBILITY bool operator!=(const Annotated< Annotation, Type > &lhs, const std::shared_ptr< Type > &rhs)
Definition: Annotated.h:179
Definition: EndpointCapabilitiesRegistrarInterface.h:35
Definition: Annotated.h:35
Type * operator->() const
Definition: Annotated.h:140
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
Type
Definition: Type.h:26
Type & operator*() const
Definition: Annotated.h:135
void reset()
Definition: Annotated.h:125
ACSDK_INLINE_VISIBILITY bool operator==(const Annotated< Annotation, Type > &lhs, const std::shared_ptr< Type > &rhs)
Definition: Annotated.h:172