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

A simple implementation of the IDimCoordinateQueryClause interface. More...

#include <DimCoordinateQueryClause.h>

Inheritance diagram for imgdoc2::CDimCoordinateQueryClause:
imgdoc2::IDimCoordinateQueryClause

Public Member Functions

void AddRangeClause (imgdoc2::Dimension d, const RangeClause &clause)
 
const std::set< imgdoc2::Dimension > & GetTileDimsForClause () const override
 
const std::vector< RangeClause > * GetRangeClause (imgdoc2::Dimension d) const override
 
virtual const std::set< imgdoc2::Dimension > & GetTileDimsForClause () const =0
 
virtual const std::vector< RangeClause > * GetRangeClause (imgdoc2::Dimension d) const =0
 

Detailed Description

A simple implementation of the IDimCoordinateQueryClause interface.

Member Function Documentation

◆ AddRangeClause()

void imgdoc2::CDimCoordinateQueryClause::AddRangeClause ( imgdoc2::Dimension  d,
const RangeClause clause 
)
inline

Adds a range clause for the specified dimension.

Parameters
dThe dimension.
clauseThe clause.

◆ GetRangeClause()

const std::vector< RangeClause > * imgdoc2::CDimCoordinateQueryClause::GetRangeClause ( imgdoc2::Dimension  d) const
inlineoverridevirtual

Gets range clauses for the specified dimension if they exist. Otherwise, null is returned.

Parameters
dThe dimension to query the range clauses for.
Returns
Null if it fails, else the range clauses.

Implements imgdoc2::IDimCoordinateQueryClause.

◆ GetTileDimsForClause()

const std::set< imgdoc2::Dimension > & imgdoc2::CDimCoordinateQueryClause::GetTileDimsForClause ( ) const
inlineoverridevirtual

Gets the set of dimensions for which there is a clause present. It is important that the order of elements is idempotent (as of course the content itself).

Returns
The set of dimensions for which there are clauses.

Implements imgdoc2::IDimCoordinateQueryClause.


The documentation for this class was generated from the following file: