ETopologyLine aims to restrict the formats of the textlines that will be returned by an ETextReader. More...
#include <eVision/Easy/ETopologyLine.h>
Public Member Functions | |
| ETopologyLine () | |
| Creates a ETopologyLine. | |
| ETopologyLine (const eVision::ETopologyLine &other) | |
| Creates a ETopologyLine. | |
| ETopologyLine (const std::string &format, eVision::ETopologyFormatType type) | |
| Creates a ETopologyLine. | |
| ETopologyLine (const std::string &format) | |
| Creates a ETopologyLine. | |
| virtual | ~ETopologyLine () throw () |
| eVision::ETopologyLine & | operator= (const eVision::ETopologyLine &other) |
| Assignment operator. | |
| bool | operator== (const eVision::ETopologyLine &other) const |
| Checks if this ETopologyLine instance is strictly equal to another ETopologyLine instance. | |
| bool | IsEqual (const eVision::ETopologyLine &other) const |
| Checks if this ETopologyLine instance is strictly equal to another ETopologyLine instance. | |
| void | Load (const std::string &path) |
| Loads the ETopologyLine. | |
| void | Load (eVision::ESerializer *serializer) |
| Loads the ETopologyLine. | |
| void | Save (const std::string &path) |
| Saves the ETopologyLine. | |
| void | Save (eVision::ESerializer *serializer) |
| Saves the ETopologyLine. | |
| void | SetFormat (const std::string &format, eVision::ETopologyFormatType type) |
| Sets the format. | |
| void | SetFormat (const std::string &format) |
| Sets the format. | |
| std::string | GetFormat () const |
| Returns the format. | |
| eVision::ETopologyFormatType | GetFormatType () const |
| Returns the format type. | |
| bool | Match (const std::string &textLine) const |
| Returns true if the argument complies with the topology. | |
| bool | Match (const eVision::EasyDeepOCR::ETextLine &textLine) const |
| Returns true if the argument complies with the topology. | |
| ETopologyLine (CppWrapperInternal::InternalConstructor) | |
Public Attributes | |
| CppWrapperInternal::WrappedClass | wrappedClass_ |
ETopologyLine aims to restrict the formats of the textlines that will be returned by an ETextReader.
License(s): BasicTypes
| eVision::ETopologyLine::ETopologyLine | ( | ) |
Creates a ETopologyLine.
| eVision::ETopologyLine::ETopologyLine | ( | const eVision::ETopologyLine & | other | ) |
Creates a ETopologyLine.
| other | Another ETopologyLine to be copied in the new ETopologyLine. |
| eVision::ETopologyLine::ETopologyLine | ( | const std::string & | format, |
| eVision::ETopologyFormatType | type ) |
Creates a ETopologyLine.
| format | Format to be set. |
| type | Type of the format to be set. |
| eVision::ETopologyLine::ETopologyLine | ( | const std::string & | format | ) |
Creates a ETopologyLine.
| format | Format to be set. |
|
virtual | ||||||||||||
| eVision::ETopologyLine::ETopologyLine | ( | CppWrapperInternal::InternalConstructor | ) |
| std::string eVision::ETopologyLine::GetFormat | ( | ) | const |
Returns the format.
| eVision::ETopologyFormatType eVision::ETopologyLine::GetFormatType | ( | ) | const |
Returns the format type.
| bool eVision::ETopologyLine::IsEqual | ( | const eVision::ETopologyLine & | other | ) | const |
Checks if this ETopologyLine instance is strictly equal to another ETopologyLine instance.
| other | Reference to the ETopologyLine instance to compare with |
| void eVision::ETopologyLine::Load | ( | const std::string & | path | ) |
Loads the ETopologyLine.
| path | Path where to save the ETopologyLine. |
| void eVision::ETopologyLine::Load | ( | eVision::ESerializer * | serializer | ) |
Loads the ETopologyLine.
| serializer |
| bool eVision::ETopologyLine::Match | ( | const eVision::EasyDeepOCR::ETextLine & | textLine | ) | const |
Returns true if the argument complies with the topology.
| textLine | ETextLine or text string to be checked. |
| bool eVision::ETopologyLine::Match | ( | const std::string & | textLine | ) | const |
Returns true if the argument complies with the topology.
| textLine | ETextLine or text string to be checked. |
| eVision::ETopologyLine & eVision::ETopologyLine::operator= | ( | const eVision::ETopologyLine & | other | ) |
Assignment operator.
| other | Another ETopologyLine to be assigned in the new ETopologyLine. |
| bool eVision::ETopologyLine::operator== | ( | const eVision::ETopologyLine & | other | ) | const |
Checks if this ETopologyLine instance is strictly equal to another ETopologyLine instance.
| other | Reference to the ETopologyLine instance to compare with |
This operator is strictly equivalent to the ETopologyLine::IsEqual method.
| void eVision::ETopologyLine::Save | ( | const std::string & | path | ) |
Saves the ETopologyLine.
| path | Path where to save the ETopologyLine. |
| void eVision::ETopologyLine::Save | ( | eVision::ESerializer * | serializer | ) |
Saves the ETopologyLine.
| serializer |
| void eVision::ETopologyLine::SetFormat | ( | const std::string & | format | ) |
Sets the format.
| format | Format to be set. |
| void eVision::ETopologyLine::SetFormat | ( | const std::string & | format, |
| eVision::ETopologyFormatType | type ) |
Sets the format.
| format | Format to be set. |
| type | Type of the format to be set. |
| CppWrapperInternal::WrappedClass eVision::ETopologyLine::wrappedClass_ |