From fd627ffaec8fd8801d980b4c91ee7c0607ab6aaf Mon Sep 17 00:00:00 2001 From: Jan Eilers Date: Thu, 25 Feb 2021 17:44:00 +0000 Subject: IVGCVSW-5687 Update Doxygen Docu * Update Doxygen Documentation for 21.02 release Signed-off-by: Jan Eilers Change-Id: I9ed2f9caab038836ea99d7b378d7899fe431a4e5 --- 21.02/_polymorphic_downcast_8hpp.xhtml | 205 +++++++++++++++++++++++++++++++++ 1 file changed, 205 insertions(+) create mode 100644 21.02/_polymorphic_downcast_8hpp.xhtml (limited to '21.02/_polymorphic_downcast_8hpp.xhtml') diff --git a/21.02/_polymorphic_downcast_8hpp.xhtml b/21.02/_polymorphic_downcast_8hpp.xhtml new file mode 100644 index 0000000000..5dd9c93f5f --- /dev/null +++ b/21.02/_polymorphic_downcast_8hpp.xhtml @@ -0,0 +1,205 @@ + + + + + + + + + + + + + +ArmNN: include/armnn/utility/PolymorphicDowncast.hpp File Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
PolymorphicDowncast.hpp File Reference
+
+
+
#include "Assert.hpp"
+#include <armnn/Exceptions.hpp>
+#include <memory>
+#include <type_traits>
+
+

Go to the source code of this file.

+ + + + + + + +

+Namespaces

 armnn
 Copyright (c) 2021 ARM Limited and Contributors.
 
 armnn::utility
 
+ + + + + +

+Macros

#define ARMNN_POLYMORPHIC_CAST_CHECK_METHOD(cond)   ARMNN_ASSERT(cond)
 
#define ARMNN_POLYMORPHIC_CAST_CHECK(cond)   ARMNN_POLYMORPHIC_CAST_CHECK_METHOD(cond)
 
+ + + + + + + + + + + + + + + + + + + + + +

+Functions

template<class T1 , class T2 >
std::shared_ptr< T1 > StaticPointerCast (const std::shared_ptr< T2 > &sp)
 
template<class T1 , class T2 >
std::shared_ptr< T1 > DynamicPointerCast (const std::shared_ptr< T2 > &sp)
 
template<class T1 , class T2 >
T1 * StaticPointerCast (T2 *ptr)
 
template<class T1 , class T2 >
T1 * DynamicPointerCast (T2 *ptr)
 
template<typename DestType , typename SourceType >
DestType PolymorphicDowncast (SourceType value)
 Polymorphic downcast for build in pointers only. More...
 
template<typename DestType , typename SourceType >
auto PolymorphicPointerDowncast (const SourceType &value)
 Polymorphic downcast for shared pointers and build in pointers. More...
 
+

Macro Definition Documentation

+ +

◆ ARMNN_POLYMORPHIC_CAST_CHECK

+ +
+
+ + + + + + + + +
#define ARMNN_POLYMORPHIC_CAST_CHECK( cond)   ARMNN_POLYMORPHIC_CAST_CHECK_METHOD(cond)
+
+ +

Definition at line 27 of file PolymorphicDowncast.hpp.

+ +

Referenced by armnn::PolymorphicDowncast(), and armnn::PolymorphicPointerDowncast().

+ +
+
+ +

◆ ARMNN_POLYMORPHIC_CAST_CHECK_METHOD

+ +
+
+ + + + + + + + +
#define ARMNN_POLYMORPHIC_CAST_CHECK_METHOD( cond)   ARMNN_ASSERT(cond)
+
+ +

Definition at line 22 of file PolymorphicDowncast.hpp.

+ +
+
+
+
+ + + + -- cgit v1.2.1