26 #ifndef __TERRALIB_DATAACCESS_INTERNAL_LIKE_H
27 #define __TERRALIB_DATAACCESS_INTERNAL_LIKE_H
55 const std::string& pattern,
56 const std::string& wildCard =
"%",
57 const std::string& singleChar =
"_",
58 const std::string& escapeChar =
"\\");
62 const std::string& pattern,
63 const std::string& wildCard =
"%",
64 const std::string& singleChar =
"_",
65 const std::string& escapeChar =
"\\");
71 Like(
const Like& rhs);
74 Like& operator=(
const Like& rhs);
98 const std::string& getPattern();
105 void setPattern(
const std::string& p);
112 void setWildCard(
const std::string& w);
119 const std::string& getWildCard()
const;
126 void setSingleChar(
const std::string& s);
133 const std::string& getSingleChar()
const;
140 void setEscapeChar(
const std::string& e);
147 const std::string& getEscapeChar()
const;
160 #endif // __TERRALIB_DATAACCESS_INTERNAL_LIKE_H
A class that models a Function expression.
std::string m_escapeChar
The escape char character is used to escape the meaning of the wild card, single char and escape char...
This is an abstract class that models a query expression.
It is intended to encode a character string comparison operator with pattern matching.
A class that models a Function expression.
#define TE_DEFINE_VISITABLE
std::string m_pattern
The literal string pattern.
#define TEDATAACCESSEXPORT
You can use this macro in order to export/import classes and functions from this module.
std::string m_singleChar
The single char character matches exactly one character.
std::string m_wildCard
The wild card character matches zero or more characters.