ArmNN
 24.08
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 684 of file BaseIterator.hpp.

Constructor & Destructor Documentation

◆ BooleanEncoder() [1/2]

BooleanEncoder ( uint8_t *  data)
inline

Definition at line 687 of file BaseIterator.hpp.

688  : TypedIterator(data) {}

◆ BooleanEncoder() [2/2]

BooleanEncoder ( )
inline

Definition at line 690 of file BaseIterator.hpp.

691  : BooleanEncoder(nullptr) {}

Member Function Documentation

◆ Get()

bool Get ( ) const
inlineoverride

Definition at line 698 of file BaseIterator.hpp.

699  {
700  return *m_Iterator;
701  }

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

◆ Set()

void Set ( bool  right)
inlineoverridevirtual

Implements Encoder< bool >.

Definition at line 693 of file BaseIterator.hpp.

694  {
695  *m_Iterator = right;
696  }

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:107
armnn::BooleanEncoder::BooleanEncoder
BooleanEncoder()
Definition: BaseIterator.hpp:690
armnn::TypedIterator< uint8_t, Encoder< bool > >::TypedIterator
TypedIterator(uint8_t *data=nullptr)
Definition: BaseIterator.hpp:68