From f4019872c1134c6fcc1d6993e5746f55c1e79208 Mon Sep 17 00:00:00 2001 From: Nikhil Raj Date: Tue, 8 Mar 2022 20:01:38 +0000 Subject: IVGCVSW-6819 Fix the directory structure and broken link to latest docu Signed-off-by: Nikhil Raj Change-Id: I05b559d15faf92c76ff536719693b361316be4f3 --- 22.02/classarmnn_1_1_transform_iterator.xhtml | 896 ++++++++++++++++++++++++++ 1 file changed, 896 insertions(+) create mode 100644 22.02/classarmnn_1_1_transform_iterator.xhtml (limited to '22.02/classarmnn_1_1_transform_iterator.xhtml') diff --git a/22.02/classarmnn_1_1_transform_iterator.xhtml b/22.02/classarmnn_1_1_transform_iterator.xhtml new file mode 100644 index 0000000000..64e71d0a33 --- /dev/null +++ b/22.02/classarmnn_1_1_transform_iterator.xhtml @@ -0,0 +1,896 @@ + + + + + + + + + + + + + +ArmNN: TransformIterator< Function, Iterator, Category, T, Distance, Pointer, Reference > Class Template Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  22.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TransformIterator< Function, Iterator, Category, T, Distance, Pointer, Reference > Class Template Reference
+
+
+ +

#include <TransformIterator.hpp>

+
+Inheritance diagram for TransformIterator< Function, Iterator, Category, T, Distance, Pointer, Reference >:
+
+
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 TransformIterator ()=default
 
 TransformIterator (TransformIterator const &transformIterator)=default
 
 TransformIterator (TransformIterator &&transformIterator)=default
 
 TransformIterator (Iterator &it, Function fn)
 
 TransformIterator (Iterator &&it, Function fn)
 
 ~TransformIterator ()=default
 
TransformIteratoroperator= (TransformIterator const &rhs)
 
TransformIteratoroperator= (TransformIterator &&rhs)
 
TransformIterator operator++ ()
 
TransformIterator operator-- ()
 
TransformIterator operator++ () const
 
TransformIterator operator-- () const
 
TransformIterator operator++ (int n) const
 
TransformIterator operator-- (int n) const
 
TransformIterator operator[] (Distance n) const
 
Distance operator- (const TransformIterator &other)
 
TransformIterator operator- (const Distance n)
 
TransformIterator operator+ (const Distance n)
 
bool operator> (const TransformIterator &rhs) const
 
bool operator< (const TransformIterator &rhs) const
 
bool operator>= (const TransformIterator &rhs) const
 
bool operator<= (const TransformIterator &rhs) const
 
bool operator== (TransformIterator other) const
 
bool operator!= (TransformIterator other) const
 
Reference operator* () const
 
+

Detailed Description

+

template<typename Function, typename Iterator, typename Category = typename std::iterator_traits<Iterator>::iterator_category, typename T = typename std::iterator_traits<Iterator>::value_type, typename Distance = typename std::iterator_traits<Iterator>::difference_type, typename Pointer = typename std::iterator_traits<Iterator>::pointer, typename Reference = typename std::result_of<const Function(typename std::iterator_traits<Iterator>::reference)>::type>
+class armnn::TransformIterator< Function, Iterator, Category, T, Distance, Pointer, Reference >

+ + +

Definition at line 21 of file TransformIterator.hpp.

+

Constructor & Destructor Documentation

+ +

◆ TransformIterator() [1/5]

+ +
+
+ + + + + +
+ + + + + + + +
TransformIterator ()
+
+default
+
+ +
+
+ +

◆ TransformIterator() [2/5]

+ +
+
+ + + + + +
+ + + + + + + + +
TransformIterator (TransformIterator< Function, Iterator, Category, T, Distance, Pointer, Reference > const & transformIterator)
+
+default
+
+ +
+
+ +

◆ TransformIterator() [3/5]

+ +
+
+ + + + + +
+ + + + + + + + +
TransformIterator (TransformIterator< Function, Iterator, Category, T, Distance, Pointer, Reference > && transformIterator)
+
+default
+
+ +
+
+ +

◆ TransformIterator() [4/5]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
TransformIterator (Iterator & it,
Function fn 
)
+
+inline
+
+ +

Definition at line 30 of file TransformIterator.hpp.

+
30 : m_it(it), m_fn(fn) {}
+
+
+ +

◆ TransformIterator() [5/5]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
TransformIterator (Iterator && it,
Function fn 
)
+
+inline
+
+ +

Definition at line 31 of file TransformIterator.hpp.

+
31 : m_it(it), m_fn(fn) {}
+
+
+ +

◆ ~TransformIterator()

+ +
+
+ + + + + +
+ + + + + + + +
~TransformIterator ()
+
+default
+
+ +
+
+

Member Function Documentation

+ +

◆ operator!=()

+ +
+
+ + + + + +
+ + + + + + + + +
bool operator!= (TransformIterator< Function, Iterator, Category, T, Distance, Pointer, Reference > other) const
+
+inline
+
+ +

Definition at line 71 of file TransformIterator.hpp.

+
71 {return !(m_it == other.m_it);}
+
+
+ +

◆ operator*()

+ +
+
+ + + + + +
+ + + + + + + +
Reference operator* () const
+
+inline
+
+ +

Definition at line 73 of file TransformIterator.hpp.

+
73 {return m_fn(*m_it);}
+
+
+ +

◆ operator+()

+ +
+
+ + + + + +
+ + + + + + + + +
TransformIterator operator+ (const Distance n)
+
+inline
+
+ +

Definition at line 63 of file TransformIterator.hpp.

+
63 {return {m_it + n, m_fn};}
+
+
+ +

◆ operator++() [1/3]

+ +
+
+ + + + + +
+ + + + + + + +
TransformIterator operator++ ()
+
+inline
+
+ +

Definition at line 49 of file TransformIterator.hpp.

+
49 {++m_it; return *this;}
+
+
+ +

◆ operator++() [2/3]

+ +
+
+ + + + + +
+ + + + + + + +
TransformIterator operator++ () const
+
+inline
+
+ +

Definition at line 52 of file TransformIterator.hpp.

+
52 {++m_it; return *this;}
+
+
+ +

◆ operator++() [3/3]

+ +
+
+ + + + + +
+ + + + + + + + +
TransformIterator operator++ (int n) const
+
+inline
+
+ +

Definition at line 55 of file TransformIterator.hpp.

+
55 {m_it += n; return *this;}
+
+
+ +

◆ operator-() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Distance operator- (const TransformIterator< Function, Iterator, Category, T, Distance, Pointer, Reference > & other)
+
+inline
+
+ +

Definition at line 60 of file TransformIterator.hpp.

+
60 {return m_it - other.m_it;}
+
+
+ +

◆ operator-() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + +
TransformIterator operator- (const Distance n)
+
+inline
+
+ +

Definition at line 62 of file TransformIterator.hpp.

+
62 {return {m_it - n, m_fn};}
+
+
+ +

◆ operator--() [1/3]

+ +
+
+ + + + + +
+ + + + + + + +
TransformIterator operator-- ()
+
+inline
+
+ +

Definition at line 50 of file TransformIterator.hpp.

+
50 {--m_it; return *this;}
+
+
+ +

◆ operator--() [2/3]

+ +
+
+ + + + + +
+ + + + + + + +
TransformIterator operator-- () const
+
+inline
+
+ +

Definition at line 53 of file TransformIterator.hpp.

+
53 {--m_it; return *this;}
+
+
+ +

◆ operator--() [3/3]

+ +
+
+ + + + + +
+ + + + + + + + +
TransformIterator operator-- (int n) const
+
+inline
+
+ +

Definition at line 56 of file TransformIterator.hpp.

+
56 {m_it -= n; return *this;}
+
+
+ +

◆ operator<()

+ +
+
+ + + + + +
+ + + + + + + + +
bool operator< (const TransformIterator< Function, Iterator, Category, T, Distance, Pointer, Reference > & rhs) const
+
+inline
+
+ +

Definition at line 66 of file TransformIterator.hpp.

+
66 {return m_it < rhs.m_it;}
+
+
+ +

◆ operator<=()

+ +
+
+ + + + + +
+ + + + + + + + +
bool operator<= (const TransformIterator< Function, Iterator, Category, T, Distance, Pointer, Reference > & rhs) const
+
+inline
+
+ +

Definition at line 68 of file TransformIterator.hpp.

+
68 {return m_it <= rhs.m_it;}
+
+
+ +

◆ operator=() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
TransformIterator& operator= (TransformIterator< Function, Iterator, Category, T, Distance, Pointer, Reference > const & rhs)
+
+inline
+
+ +

Definition at line 35 of file TransformIterator.hpp.

+
36  {
37  m_fn = rhs.m_fn;
38  m_it = rhs.m_it;
39  return *this;
40  }
+
+
+ +

◆ operator=() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + +
TransformIterator& operator= (TransformIterator< Function, Iterator, Category, T, Distance, Pointer, Reference > && rhs)
+
+inline
+
+ +

Definition at line 42 of file TransformIterator.hpp.

+
43  {
44  m_fn = std::move(rhs.m_fn);
45  m_it = std::move(rhs.m_it);
46  return *this;
47  }
+
+
+ +

◆ operator==()

+ +
+
+ + + + + +
+ + + + + + + + +
bool operator== (TransformIterator< Function, Iterator, Category, T, Distance, Pointer, Reference > other) const
+
+inline
+
+ +

Definition at line 70 of file TransformIterator.hpp.

+
70 {return (m_it == other.m_it);}
+
+
+ +

◆ operator>()

+ +
+
+ + + + + +
+ + + + + + + + +
bool operator> (const TransformIterator< Function, Iterator, Category, T, Distance, Pointer, Reference > & rhs) const
+
+inline
+
+ +

Definition at line 65 of file TransformIterator.hpp.

+
65 {return m_it > rhs.m_it;}
+
+
+ +

◆ operator>=()

+ +
+
+ + + + + +
+ + + + + + + + +
bool operator>= (const TransformIterator< Function, Iterator, Category, T, Distance, Pointer, Reference > & rhs) const
+
+inline
+
+ +

Definition at line 67 of file TransformIterator.hpp.

+
67 {return m_it >= rhs.m_it;}
+
+
+ +

◆ operator[]()

+ +
+
+ + + + + +
+ + + + + + + + +
TransformIterator operator[] (Distance n) const
+
+inline
+
+ +

Definition at line 58 of file TransformIterator.hpp.

+
58 {m_it[n]; return *this;};
+
+
+
The documentation for this class was generated from the following file: +
+
+ + + + -- cgit v1.2.1