Holds all information related to character cluster. More...
#include <eVision/EasyOcr/EasyOCR2/EOCR2CharacterCluster.h>
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_ |
Holds all information related to character cluster.
License(s): None
| eVision::EOCR2CharacterCluster::EOCR2CharacterCluster | ( | ) |
Constructs an EOCR2CharacterCluster context.
| eVision::EOCR2CharacterCluster::EOCR2CharacterCluster | ( | const eVision::EOCR2CharacterCluster & | other | ) |
Constructs an EOCR2CharacterCluster context.
| other | EOCR2CharacterCluster object to be copied. |
|
virtual | ||||||||||||
| eVision::EOCR2CharacterCluster::EOCR2CharacterCluster | ( | CppWrapperInternal::InternalConstructor | ) |
| void eVision::EOCR2CharacterCluster::AddCharacter | ( | const eVision::EOCR2DatabaseCharacter & | character | ) |
Adds a character to the cluster.
| character | The EOCR2DatabaseCharacter to be added to the database. |
| void eVision::EOCR2CharacterCluster::Clear | ( | ) |
Clears the cluster.
| eVision::EOCR2DatabaseCharacter eVision::EOCR2CharacterCluster::GetCharacter | ( | const int32_t & | index | ) | const |
Returns a single character from the cluster.
| index | The index of this character. |
| int32_t eVision::EOCR2CharacterCluster::GetCharacterCount | ( | ) | const |
Returns the number of characters in this cluster.
| std::vector< eVision::EOCR2DatabaseCharacter > eVision::EOCR2CharacterCluster::GetCharacters | ( | ) |
Returns all characters from this cluster.
| uint16_t eVision::EOCR2CharacterCluster::GetCode | ( | ) | const |
The ASCII code of the cluster.
| eVision::EOCR2CharacterCluster & eVision::EOCR2CharacterCluster::operator= | ( | const eVision::EOCR2CharacterCluster & | other | ) |
Copies all the data from another EOCR2CharacterCluster object into the current EOCR2CharacterCluster object.
| other | EOCR2CharacterCluster object to be copied |
| void eVision::EOCR2CharacterCluster::RemoveCharacter | ( | int32_t | index | ) |
Removes a character from the cluster.
| index | The index of the character to be removed. |
| void eVision::EOCR2CharacterCluster::SetCode | ( | uint16_t | code | ) |
The ASCII code of the cluster.
| CppWrapperInternal::WrappedClass eVision::EOCR2CharacterCluster::wrappedClass_ |