It is intended to encode a character string comparison operator with pattern matching.
More...
#include <PropertyIsLike.h>
|
|
|
const char * | m_name |
| Operator name.
|
|
It is intended to encode a character string comparison operator with pattern matching.
The pattern is defined by a combination of regular characters, the wildCard character, the singleChar character, and the escapeChar character. The wildCard character matches zero or more characters. The singleChar character matches exactly one character.
- See also
- ComparisonOp, PropertyName, Literal
Definition at line 58 of file PropertyIsLike.h.
◆ ReturnType
◆ VisitorType
◆ PropertyIsLike()
te::fe::PropertyIsLike::PropertyIsLike |
( |
| ) |
|
◆ ~PropertyIsLike()
te::fe::PropertyIsLike::~PropertyIsLike |
( |
| ) |
|
◆ accept()
It call the visit method from the guest object.
- Parameters
-
guest | The guest or visitor. |
- Returns
- Any valid value define by the template type R.
◆ clone()
◆ getEscapeChar()
const std::string & te::fe::PropertyIsLike::getEscapeChar |
( |
| ) |
const |
It returns the escape character.
- Returns
- The escape character.
◆ getLiteral()
Literal * te::fe::PropertyIsLike::getLiteral |
( |
| ) |
const |
It returns the literal value.
- Returns
- The literal value.
◆ getName()
const char * te::fe::AbstractOp::getName |
( |
| ) |
const |
|
inlineinherited |
It returns the operator name.
- Returns
- The operator name.
Definition at line 82 of file AbstractOp.h.
◆ getPropertyName()
PropertyName * te::fe::PropertyIsLike::getPropertyName |
( |
| ) |
const |
It returns the property name.
- Returns
- The property name.
◆ getSingleChar()
const std::string & te::fe::PropertyIsLike::getSingleChar |
( |
| ) |
const |
It returns the single wild character.
- Returns
- The single wild character.
◆ getWildCard()
const std::string & te::fe::PropertyIsLike::getWildCard |
( |
| ) |
const |
It returns the wild character.
- Returns
- The wild character.
◆ setEscapeChar()
void te::fe::PropertyIsLike::setEscapeChar |
( |
const std::string & |
e | ) |
|
It sets the escape character.
- Parameters
-
◆ setLiteral()
void te::fe::PropertyIsLike::setLiteral |
( |
Literal * |
l | ) |
|
It sets the literal value of the operator.
- Parameters
-
l | The literal value of the operator. |
- Note
- It will take the ownership of the literal value.
◆ setName()
void te::fe::AbstractOp::setName |
( |
const char * |
opName | ) |
|
|
inlineinherited |
It sets the operator name.
- Parameters
-
Definition at line 89 of file AbstractOp.h.
◆ setPropertyName()
void te::fe::PropertyIsLike::setPropertyName |
( |
PropertyName * |
p | ) |
|
It sets the property name.
- Parameters
-
- Note
- It will take the ownership of the property name.
◆ setSingleChar()
void te::fe::PropertyIsLike::setSingleChar |
( |
const std::string & |
s | ) |
|
It sets the wild single character.
- Parameters
-
s | The wild single character. |
◆ setWildCard()
void te::fe::PropertyIsLike::setWildCard |
( |
const std::string & |
w | ) |
|
It sets the wild character.
- Parameters
-
◆ m_escapeChar
std::string te::fe::PropertyIsLike::m_escapeChar |
|
private |
The escapeChar_ character is used to escape the meaning of the wildCard_, singleChar_ and escapeChar_ itself. (Mandatory.)
Definition at line 167 of file PropertyIsLike.h.
◆ m_literalValue
Literal* te::fe::PropertyIsLike::m_literalValue |
|
private |
◆ m_name
const char* te::fe::AbstractOp::m_name |
|
protectedinherited |
◆ m_property
◆ m_singleChar
std::string te::fe::PropertyIsLike::m_singleChar |
|
private |
The singleChar_ character matches exactly one character. (Mandatory)
Definition at line 166 of file PropertyIsLike.h.
◆ m_wildCard
std::string te::fe::PropertyIsLike::m_wildCard |
|
private |
The wildCard_ character matches zero or more characters. (Mandatory)
Definition at line 165 of file PropertyIsLike.h.
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/fe/PropertyIsLike.h