ArmNN
 24.08
Int64Encoder Class Reference

#include <BaseIterator.hpp>

Inheritance diagram for Int64Encoder:
[legend]
Collaboration diagram for Int64Encoder:
[legend]

Public Member Functions

 Int64Encoder (int64_t *data)
 
 Int64Encoder ()
 
void Set (double right) override
 
double_t Get () const override
 
- Public Member Functions inherited from TypedIterator< int64_t, Encoder< double > >
 TypedIterator (int64_t *data=nullptr)
 
void Reset (void *data) override
 
TypedIteratoroperator++ () override
 
TypedIteratoroperator+= (const unsigned int increment) override
 
TypedIteratoroperator-= (const unsigned int increment) override
 
TypedIteratoroperator[] (const unsigned int index) override
 
- Public Member Functions inherited from Encoder< double >
 Encoder ()
 
virtual ~Encoder ()
 
virtual double Get () const=0
 
- Public Member Functions inherited from BaseIterator
 BaseIterator ()
 
virtual ~BaseIterator ()
 

Additional Inherited Members

- Protected Attributes inherited from TypedIterator< int64_t, Encoder< double > >
int64_t * m_Iterator
 
int64_t * m_Start
 

Detailed Description

Definition at line 664 of file BaseIterator.hpp.

Constructor & Destructor Documentation

◆ Int64Encoder() [1/2]

Int64Encoder ( int64_t *  data)
inline

Definition at line 667 of file BaseIterator.hpp.

668  : TypedIterator(data) {}

◆ Int64Encoder() [2/2]

Int64Encoder ( )
inline

Definition at line 670 of file BaseIterator.hpp.

671  : Int64Encoder(nullptr) {}

Member Function Documentation

◆ Get()

double_t Get ( ) const
inlineoverride

Definition at line 678 of file BaseIterator.hpp.

679  {
680  return static_cast<double>(*m_Iterator);
681  }

◆ Set()

void Set ( double  right)
inlineoverridevirtual

Implements Encoder< double >.

Definition at line 673 of file BaseIterator.hpp.

674  {
675  *m_Iterator = static_cast<int64_t>(right);
676  }

References TypedIterator< int64_t, Encoder< double > >::m_Iterator.


The documentation for this class was generated from the following file:
armnn::TypedIterator< int64_t, Encoder< double > >::m_Iterator
int64_t * m_Iterator
Definition: BaseIterator.hpp:107
armnn::TypedIterator< int64_t, Encoder< double > >::TypedIterator
TypedIterator(int64_t *data=nullptr)
Definition: BaseIterator.hpp:68
armnn::Int64Encoder::Int64Encoder
Int64Encoder()
Definition: BaseIterator.hpp:670