ArmNN
 24.02
BooleanEncoder Class Reference

#include <BaseIterator.hpp>

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

Public Member Functions

 BooleanEncoder (uint8_t *data)
 
 BooleanEncoder ()
 
void Set (bool right) override
 
bool Get () const override
 
- Public Member Functions inherited from TypedIterator< uint8_t, Encoder< bool > >
 TypedIterator (uint8_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< bool >
 Encoder ()
 
virtual ~Encoder ()
 
virtual bool Get () const=0
 
- Public Member Functions inherited from BaseIterator
 BaseIterator ()
 
virtual ~BaseIterator ()
 

Additional Inherited Members

- Protected Attributes inherited from TypedIterator< uint8_t, Encoder< bool > >
uint8_t * m_Iterator
 
uint8_t * m_Start
 

Detailed Description

Definition at line 685 of file BaseIterator.hpp.

Constructor & Destructor Documentation

◆ BooleanEncoder() [1/2]

BooleanEncoder ( uint8_t *  data)
inline

Definition at line 688 of file BaseIterator.hpp.

689  : TypedIterator(data) {}

◆ BooleanEncoder() [2/2]

BooleanEncoder ( )
inline

Definition at line 691 of file BaseIterator.hpp.

692  : BooleanEncoder(nullptr) {}

Member Function Documentation

◆ Get()

bool Get ( ) const
inlineoverride

Definition at line 699 of file BaseIterator.hpp.

700  {
701  return *m_Iterator;
702  }

References TypedIterator< uint8_t, Encoder< bool > >::m_Iterator.

◆ Set()

void Set ( bool  right)
inlineoverridevirtual

Implements Encoder< bool >.

Definition at line 694 of file BaseIterator.hpp.

695  {
696  *m_Iterator = right;
697  }

References TypedIterator< uint8_t, Encoder< bool > >::m_Iterator.


The documentation for this class was generated from the following file:
armnn::TypedIterator< uint8_t, Encoder< bool > >::m_Iterator
uint8_t * m_Iterator
Definition: BaseIterator.hpp:108
armnn::BooleanEncoder::BooleanEncoder
BooleanEncoder()
Definition: BaseIterator.hpp:691
armnn::TypedIterator< uint8_t, Encoder< bool > >::TypedIterator
TypedIterator(uint8_t *data=nullptr)
Definition: BaseIterator.hpp:69