A simplistic implementation of the ITileInfoQueryClause interface.
More...
#include <TileInfoQueryClause.h>
|
| CTileInfoQueryClause ()=default |
| Default constructor.
|
|
bool | GetPyramidLevelCondition (int no, LogicalOperator *logical_operator, ComparisonOperation *comparison_operation, int *value) const override |
|
void | AddPyramidLevelCondition (LogicalOperator logical_operator, ComparisonOperation comparison_operation, int value) |
|
virtual bool | GetPyramidLevelCondition (int no, LogicalOperator *logical_operator, ComparisonOperation *comparison_operation, int *value) const =0 |
|
A simplistic implementation of the ITileInfoQueryClause interface.
◆ AddPyramidLevelCondition()
void imgdoc2::CTileInfoQueryClause::AddPyramidLevelCondition |
( |
LogicalOperator |
logical_operator, |
|
|
ComparisonOperation |
comparison_operation, |
|
|
int |
value |
|
) |
| |
|
inline |
Adds a condition for the pyramid level. This condition is added to the end of the internal list of conditions.
- Parameters
-
logical_operator | The logical operator. |
comparison_operation | The comparison operation. |
value | The value. |
◆ GetPyramidLevelCondition()
bool imgdoc2::CTileInfoQueryClause::GetPyramidLevelCondition |
( |
int |
no, |
|
|
LogicalOperator * |
logical_operator, |
|
|
ComparisonOperation * |
comparison_operation, |
|
|
int * |
value |
|
) |
| const |
|
inlineoverridevirtual |
Gets a condition for the pyramid-level property. The conditions on this property are to be numbered 0 to n-1, where n is the number of conditions. If calling this method with an argument "no" larger than n-1, the method must return false. This method is required to be idempotent, if called multiple times (with same arguments) it must give the same result. Note that the logical operator of the condition with index 0 is unused.
- Parameters
-
| no | The 0-based index of the condition being queried. |
[out] | logical_operator | If non-null and the operation is successful, the logical operator is placed here. |
[out] | comparison_operation | If non-null and the operation is successful, the comparison operation is placed here. |
[out] | value | If non-null and the operation is successful, the value for the comparison operation is placed here. |
- Returns
- True if it succeeds, false if it fails.
Implements imgdoc2::ITileInfoQueryClause.
The documentation for this class was generated from the following file: