Code
The object and variable declarations are the following:
FdoIFilterCapabilities * filterCapabilities;
FdoInt32 numConditionTypes = 0;
FdoConditionType * conditionTypes;
FdoInt32 numSpatialOperations = 0;
FdoSpatialOperations * spatialOperations;
FdoInt32 numDistanceOperations = 0;
FdoDistanceOperations * distanceOperations;
bool supportsGeodesicDistance;
bool supportsNonLiteralGeometricOperations;
The method calls are the following:
filterCapabilities = connection->GetFilterCapabilities();
conditionTypes = filterCapabilities->
GetConditionTypes(numConditionTypes);
// loop through conditionTypes
spatialOperations = filterCapabilities->
GetSpatialOperations(numSpatialOperations);
// loop through spatialOperations
distanceOperations = filterCapabilities->
GetDistanceOperations(numSpatialOperations);
// loop through distanceOperations
supportsGeodesicDistance = filterCapabilities->
SupportsGeodesicDistance();
supportsNonLiteralGeometricOperations = filterCapabilities->
SupportsNonLiteralGeometricOperations();