A filter is any valid predicate expression.
More...
#include <Filter.h>
A filter is any valid predicate expression.
A Filter contains a expression which is created by combining other expressions.
- See also
- AbstractOp, ObjectId
Definition at line 52 of file Filter.h.
te::fe::Filter::Filter |
( |
| ) |
|
te::fe::Filter::~Filter |
( |
| ) |
|
te::fe::Filter::Filter |
( |
const Filter & |
rhs | ) |
|
|
private |
No copy constructor allowed.
- Parameters
-
void te::fe::Filter::add |
( |
ObjectId * |
id | ) |
|
It adds the object identifier to the list of identifiers.
- Parameters
-
id | The object identifier to be added to the list of identifiers. |
- Note
- The Filter object will take the ownership of the object identifier. So, you must not free it.
void te::fe::Filter::clear |
( |
| ) |
|
It clears the object identifier list and drop it off.
- Note
- After calling this method it will be safe to set an operator.
size_t te::fe::Filter::getNumberOfOids |
( |
| ) |
const |
It returns the size of the list of object identifiers.
- Returns
- The size of the list of object identifiers.
ObjectId* te::fe::Filter::getOid |
( |
size_t |
i | ) |
const |
It returns a specified object identifier.
- Parameters
-
i | The index of desired object identifier. |
- Returns
- A specified object identifier.
- Note
- You must not clear the returned object identifier.
-
The method will not check the index range.
It returns main filter operation.
- Returns
- The main filter operation.
No assignment operator allowed.
- Parameters
-
- Returns
- A reference for this.
ObjectId* te::fe::Filter::operator[] |
( |
size_t |
i | ) |
const |
It returns a specified object identifier.
- Parameters
-
i | The index of desired object identifier. |
- Returns
- A specified object identifier.
- Note
- You must not clear the returned object identifier.
-
The method will not check the index range.
It sets the filter main operation (expression).
- Parameters
-
o | The main operation (also called an expression). |
- Note
- The Filter object will take the ownership of the given operation.
std::vector<ObjectId*>* te::fe::Filter::m_ids |
|
private |
Object identifiers. (NULL if m_op is informed)
Definition at line 169 of file Filter.h.
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/src/terralib/fe/Filter.h