libimgdoc2
Loading...
Searching...
No Matches
Public Member Functions | List of all members
imgdoc2::CTileInfoQueryClause Class Reference

A simplistic implementation of the ITileInfoQueryClause interface. More...

#include <TileInfoQueryClause.h>

Inheritance diagram for imgdoc2::CTileInfoQueryClause:
imgdoc2::ITileInfoQueryClause

Public Member Functions

 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
 

Detailed Description

A simplistic implementation of the ITileInfoQueryClause interface.

Member Function Documentation

◆ 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_operatorThe logical operator.
comparison_operationThe comparison operation.
valueThe 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
noThe 0-based index of the condition being queried.
[out]logical_operatorIf non-null and the operation is successful, the logical operator is placed here.
[out]comparison_operationIf non-null and the operation is successful, the comparison operation is placed here.
[out]valueIf 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: