From 8d2ca734165a068478df7cffa46185680b05cd20 Mon Sep 17 00:00:00 2001 From: Nikhil Raj Date: Fri, 24 Feb 2023 10:28:19 +0000 Subject: Update Doxygen docu for 23.02 Signed-off-by: Nikhil Raj Change-Id: Ie6c19a27d50fefab2796b2b5875374e81f5bf971 --- 23.02/_polymorphic_downcast_8hpp.xhtml | 205 +++++++++++++++++++++++++++++++++ 1 file changed, 205 insertions(+) create mode 100644 23.02/_polymorphic_downcast_8hpp.xhtml (limited to '23.02/_polymorphic_downcast_8hpp.xhtml') diff --git a/23.02/_polymorphic_downcast_8hpp.xhtml b/23.02/_polymorphic_downcast_8hpp.xhtml new file mode 100644 index 0000000000..c0d98b1f23 --- /dev/null +++ b/23.02/_polymorphic_downcast_8hpp.xhtml @@ -0,0 +1,205 @@ + + + + + + + + + + + + + +ArmNN: include/armnn/utility/PolymorphicDowncast.hpp File Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  23.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