ArmNN
 20.05
Int32Decoder Class Reference

#include <BaseIterator.hpp>

Inheritance diagram for Int32Decoder:
TypedIterator< const int32_t, Decoder< float > > Decoder< float > BaseIterator

Public Member Functions

 Int32Decoder (const int32_t *data)
 
 Int32Decoder ()
 
float Get () const override
 
- Public Member Functions inherited from TypedIterator< const int32_t, Decoder< float > >
 TypedIterator (const int32_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
 
TypedIteratorSetIndex (unsigned int index, unsigned int axisIndex=0) override
 
- Public Member Functions inherited from Decoder< float >
 Decoder ()
 
virtual ~Decoder ()
 
- Public Member Functions inherited from BaseIterator
 BaseIterator ()
 
virtual ~BaseIterator ()
 

Additional Inherited Members

- Protected Attributes inherited from TypedIterator< const int32_t, Decoder< float > >
const int32_t * m_Iterator
 
const int32_t * m_Start
 

Detailed Description

Definition at line 262 of file BaseIterator.hpp.

Constructor & Destructor Documentation

◆ Int32Decoder() [1/2]

Int32Decoder ( const int32_t *  data)
inline

Definition at line 265 of file BaseIterator.hpp.

266  : TypedIterator(data) {}

◆ Int32Decoder() [2/2]

Int32Decoder ( )
inline

Definition at line 268 of file BaseIterator.hpp.

269  : Int32Decoder(nullptr) {}

Member Function Documentation

◆ Get()

float Get ( ) const
inlineoverridevirtual

Implements Decoder< float >.

Definition at line 271 of file BaseIterator.hpp.

272  {
273  return static_cast<float>(*m_Iterator);
274  }

The documentation for this class was generated from the following file: