eVision C++ API 26.10.0-beta.2.dev
Loading...
Searching...
No Matches
eVision::EOCR2CharacterCluster Class Reference

Holds all information related to character cluster. More...

#include <eVision/EasyOcr/EasyOCR2/EOCR2CharacterCluster.h>

Collaboration diagram for eVision::EOCR2CharacterCluster:

Public Member Functions

 EOCR2CharacterCluster ()
 Constructs an EOCR2CharacterCluster context.
 EOCR2CharacterCluster (const eVision::EOCR2CharacterCluster &other)
 Constructs an EOCR2CharacterCluster context.
virtual ~EOCR2CharacterCluster () throw ()
eVision::EOCR2CharacterCluster & operator= (const eVision::EOCR2CharacterCluster &other)
 Copies all the data from another EOCR2CharacterCluster object into the current EOCR2CharacterCluster object.
void SetCode (uint16_t code)
 The ASCII code of the cluster.
uint16_t GetCode () const
 The ASCII code of the cluster.
int32_t GetCharacterCount () const
 Returns the number of characters in this cluster.
eVision::EOCR2DatabaseCharacter GetCharacter (const int32_t &index) const
 Returns a single character from the cluster.
std::vector< eVision::EOCR2DatabaseCharacter > GetCharacters ()
 Returns all characters from this cluster.
void AddCharacter (const eVision::EOCR2DatabaseCharacter &character)
 Adds a character to the cluster.
void RemoveCharacter (int32_t index)
 Removes a character from the cluster.
void Clear ()
 Clears the cluster.
 EOCR2CharacterCluster (CppWrapperInternal::InternalConstructor)

Public Attributes

CppWrapperInternal::WrappedClass wrappedClass_

Detailed Description

Holds all information related to character cluster.

License(s): None

Constructor & Destructor Documentation

◆ EOCR2CharacterCluster() [1/3]

eVision::EOCR2CharacterCluster::EOCR2CharacterCluster ( )

Constructs an EOCR2CharacterCluster context.

◆ EOCR2CharacterCluster() [2/3]

eVision::EOCR2CharacterCluster::EOCR2CharacterCluster ( const eVision::EOCR2CharacterCluster & other)

Constructs an EOCR2CharacterCluster context.

Parameters
otherEOCR2CharacterCluster object to be copied.

◆ ~EOCR2CharacterCluster()

eVision::EOCR2CharacterCluster::~EOCR2CharacterCluster ( )
throw ( )
virtual

◆ EOCR2CharacterCluster() [3/3]

eVision::EOCR2CharacterCluster::EOCR2CharacterCluster ( CppWrapperInternal::InternalConstructor )

Member Function Documentation

◆ AddCharacter()

void eVision::EOCR2CharacterCluster::AddCharacter ( const eVision::EOCR2DatabaseCharacter & character)

Adds a character to the cluster.

Parameters
characterThe EOCR2DatabaseCharacter to be added to the database.

◆ Clear()

void eVision::EOCR2CharacterCluster::Clear ( )

Clears the cluster.

◆ GetCharacter()

eVision::EOCR2DatabaseCharacter eVision::EOCR2CharacterCluster::GetCharacter ( const int32_t & index) const

Returns a single character from the cluster.

Parameters
indexThe index of this character.

◆ GetCharacterCount()

int32_t eVision::EOCR2CharacterCluster::GetCharacterCount ( ) const

Returns the number of characters in this cluster.

◆ GetCharacters()

std::vector< eVision::EOCR2DatabaseCharacter > eVision::EOCR2CharacterCluster::GetCharacters ( )

Returns all characters from this cluster.

◆ GetCode()

uint16_t eVision::EOCR2CharacterCluster::GetCode ( ) const

The ASCII code of the cluster.

◆ operator=()

eVision::EOCR2CharacterCluster & eVision::EOCR2CharacterCluster::operator= ( const eVision::EOCR2CharacterCluster & other)

Copies all the data from another EOCR2CharacterCluster object into the current EOCR2CharacterCluster object.

Parameters
otherEOCR2CharacterCluster object to be copied

◆ RemoveCharacter()

void eVision::EOCR2CharacterCluster::RemoveCharacter ( int32_t index)

Removes a character from the cluster.

Parameters
indexThe index of the character to be removed.

◆ SetCode()

void eVision::EOCR2CharacterCluster::SetCode ( uint16_t code)

The ASCII code of the cluster.

Member Data Documentation

◆ wrappedClass_

CppWrapperInternal::WrappedClass eVision::EOCR2CharacterCluster::wrappedClass_