ETopology aims to restrict the formats of the texts that will be returned by an ETextReader. A ETopology is composed of a list of ETopologyLine. Each entry in the list refers to the corresponding line in a text. Texts with different number of lines will therefore never be matched by the same ETopology. More...
#include <eVision/Easy/ETopology.h>
Public Member Functions | |
| ETopology () | |
| Creates a ETopology. | |
| ETopology (const std::vector< eVision::ETopologyLine > &lines) | |
| Creates a ETopology. | |
| ETopology (const eVision::ETopology &other) | |
| Creates a ETopology. | |
| virtual | ~ETopology () throw () |
| eVision::ETopology & | operator= (const eVision::ETopology &other) |
| Assignment operator. | |
| bool | operator== (const eVision::ETopology &other) const |
| Checks if this ETopology instance is strictly equal to another ETopology instance. | |
| bool | IsEqual (const eVision::ETopology &other) const |
| Checks if this ETopology instance is strictly equal to another ETopology instance. | |
| void | Load (const std::string &path) |
| Loads the ETopology. | |
| void | Load (eVision::ESerializer *serializer) |
| Loads the ETopology. | |
| void | Save (const std::string &path) |
| Saves the ETopology. | |
| void | Save (eVision::ESerializer *serializer) |
| Saves the ETopology. | |
| void | SetTopologyLines (const std::vector< eVision::ETopologyLine > &lines) |
| ETopology lines. | |
| std::vector< eVision::ETopologyLine > | GetTopologyLines () const |
| ETopology lines. | |
| bool | Match (const std::string &text) const |
| Returns true if the argument complies with the ETopology. | |
| bool | Match (const eVision::EasyDeepOCR::EText &text) const |
| Returns true if the argument complies with the ETopology. | |
| bool | Match (const eVision::EasyDeepOCR::ESample &sample) const |
| Returns true if the argument complies with the ETopology. | |
| bool | Match (const eVision::EasyDeepOCR::ESampleList &samples) const |
| Returns true if the argument complies with the ETopology. | |
| ETopology (CppWrapperInternal::InternalConstructor) | |
Public Attributes | |
| CppWrapperInternal::WrappedClass | wrappedClass_ |
ETopology aims to restrict the formats of the texts that will be returned by an ETextReader. A ETopology is composed of a list of ETopologyLine. Each entry in the list refers to the corresponding line in a text. Texts with different number of lines will therefore never be matched by the same ETopology.
License(s): BasicTypes
| eVision::ETopology::ETopology | ( | ) |
Creates a ETopology.
| eVision::ETopology::ETopology | ( | const std::vector< eVision::ETopologyLine > & | lines | ) |
| eVision::ETopology::ETopology | ( | const eVision::ETopology & | other | ) |
|
virtual | ||||||||||||
| eVision::ETopology::ETopology | ( | CppWrapperInternal::InternalConstructor | ) |
| std::vector< eVision::ETopologyLine > eVision::ETopology::GetTopologyLines | ( | ) | const |
ETopology lines.
| bool eVision::ETopology::IsEqual | ( | const eVision::ETopology & | other | ) | const |
| void eVision::ETopology::Load | ( | const std::string & | path | ) |
| void eVision::ETopology::Load | ( | eVision::ESerializer * | serializer | ) |
Loads the ETopology.
| serializer |
| bool eVision::ETopology::Match | ( | const eVision::EasyDeepOCR::ESample & | sample | ) | const |
| bool eVision::ETopology::Match | ( | const eVision::EasyDeepOCR::ESampleList & | samples | ) | const |
Returns true if the argument complies with the ETopology.
| samples | ESampleList to be checked. |
| bool eVision::ETopology::Match | ( | const eVision::EasyDeepOCR::EText & | text | ) | const |
| bool eVision::ETopology::Match | ( | const std::string & | text | ) | const |
| eVision::ETopology & eVision::ETopology::operator= | ( | const eVision::ETopology & | other | ) |
| bool eVision::ETopology::operator== | ( | const eVision::ETopology & | other | ) | const |
Checks if this ETopology instance is strictly equal to another ETopology instance.
| other | Reference to the ETopology instance to compare with |
This operator is strictly equivalent to the ETopology::IsEqual method.
| void eVision::ETopology::Save | ( | const std::string & | path | ) |
| void eVision::ETopology::Save | ( | eVision::ESerializer * | serializer | ) |
Saves the ETopology.
| serializer |
| void eVision::ETopology::SetTopologyLines | ( | const std::vector< eVision::ETopologyLine > & | lines | ) |
ETopology lines.
| CppWrapperInternal::WrappedClass eVision::ETopology::wrappedClass_ |