aboutsummaryrefslogtreecommitdiff
path: root/iosApp/WhirlyGlobe.xcframework/ios-arm64/WhirlyGlobe.framework/Headers/SLDExpressions.h
diff options
context:
space:
mode:
Diffstat (limited to 'iosApp/WhirlyGlobe.xcframework/ios-arm64/WhirlyGlobe.framework/Headers/SLDExpressions.h')
-rw-r--r--iosApp/WhirlyGlobe.xcframework/ios-arm64/WhirlyGlobe.framework/Headers/SLDExpressions.h55
1 files changed, 55 insertions, 0 deletions
diff --git a/iosApp/WhirlyGlobe.xcframework/ios-arm64/WhirlyGlobe.framework/Headers/SLDExpressions.h b/iosApp/WhirlyGlobe.xcframework/ios-arm64/WhirlyGlobe.framework/Headers/SLDExpressions.h
new file mode 100644
index 0000000..43a042d
--- /dev/null
+++ b/iosApp/WhirlyGlobe.xcframework/ios-arm64/WhirlyGlobe.framework/Headers/SLDExpressions.h
@@ -0,0 +1,55 @@
+//
+// SLDExpressions.h
+// SLDTest
+//
+// Created by Ranen Ghosh on 2016-08-12.
+// Copyright 2016-2019 mousebird consulting.
+//
+
+#import <Foundation/Foundation.h>
+@class DDXMLNode;
+@class DDXMLElement;
+
+/** @brief Base class for elements derived from the ogc:expression abstract element.
+ @see http://schemas.opengis.net/filter/1.1.0/expr.xsd for SLD v1.1.0
+ @see http://schemas.opengis.net/filter/1.0.0/expr.xsd for SLD v1.0.0
+ */
+@interface SLDExpression : NSObject
+@property (nonatomic, strong) NSExpression * _Nonnull expression;
++ (BOOL)matchesElementNamed:(NSString * _Nonnull)elementName;
++ (SLDExpression * _Nullable)expressionForNode:(DDXMLNode * _Nonnull )node;
+@end
+
+
+/** @brief Class corresponding to the ogc:PropertyName element
+ @see http://schemas.opengis.net/filter/1.1.0/expr.xsd for SLD v1.1.0
+ @see http://schemas.opengis.net/filter/1.0.0/expr.xsd for SLD v1.0.0
+ */
+@interface SLDPropertyNameExpression : SLDExpression
+@property (nonatomic, strong) NSString * _Nonnull propertyName;
+- (_Nullable id)initWithElement:(DDXMLElement * _Nonnull)element;
+@end
+
+/** @brief Class corresponding to the ogc:Literal element
+ @see http://schemas.opengis.net/filter/1.1.0/expr.xsd for SLD v1.1.0
+ @see http://schemas.opengis.net/filter/1.0.0/expr.xsd for SLD v1.0.0
+ */
+@interface SLDLiteralExpression : SLDExpression
+@property (nonatomic, strong) id _Nonnull literal;
+- (_Nullable id)initWithElement:(DDXMLElement * _Nonnull)element;
+@end
+
+/** @brief Class corresponding to the ogc:BinaryOperatorType elements
+ @see http://schemas.opengis.net/filter/1.1.0/expr.xsd for SLD v1.1.0
+ @see http://schemas.opengis.net/filter/1.0.0/expr.xsd for SLD v1.0.0
+ */
+@interface SLDBinaryOperatorExpression : SLDExpression
+
+@property (nonatomic, strong) NSString * _Nonnull elementName;
+
+@property (nonatomic, strong) SLDExpression * _Nonnull leftExpression;
+@property (nonatomic, strong) SLDExpression * _Nonnull rightExpression;
+
+- (_Nullable id)initWithElement:(DDXMLElement * _Nonnull)element;
+@end
+