ArmNN
 24.02
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 665 of file BaseIterator.hpp.

Constructor & Destructor Documentation

◆ Int64Encoder() [1/2]

Int64Encoder ( int64_t *  data)
inline

Definition at line 668 of file BaseIterator.hpp.

669  : TypedIterator(data) {}

◆ Int64Encoder() [2/2]

Int64Encoder ( )
inline

Definition at line 671 of file BaseIterator.hpp.

672  : Int64Encoder(nullptr) {}

Member Function Documentation

◆ Get()

double_t Get ( ) const
inlineoverride

Definition at line 679 of file BaseIterator.hpp.

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

◆ Set()

void Set ( double  right)
inlineoverridevirtual

Implements Encoder< double >.

Definition at line 674 of file BaseIterator.hpp.

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

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:108
armnn::TypedIterator< int64_t, Encoder< double > >::TypedIterator
TypedIterator(int64_t *data=nullptr)
Definition: BaseIterator.hpp:69
armnn::Int64Encoder::Int64Encoder
Int64Encoder()
Definition: BaseIterator.hpp:671