DeviceExpressionParser Class

Represents a template based token substitution parser that supports binary and advanced expressions. with the Variables geared towards devices.

Definition

Namespace: Gemstone.Timeseries.Model
Assembly: Gemstone.Timeseries (in Gemstone.Timeseries.dll) Version: 1.0.166 -- Release Build+57b72ea94712c6fb93701495d2d13b86cd7b5162
public class DeviceExpressionParser
Inheritance
Object    DeviceExpressionParser

Remarks

As an example, this parser can use a templated expression of the form: {Device.Acronym}:{Device.ID} then replace the tokens with actual values and properly evaluate the expressions. Example results could look like: GPA_PMU:41

Parser also supports more complex C# style expressions using the "eval{}" function

Constructors

DeviceExpressionParser(String) Creates a new DeviceExpressionParser.
DeviceExpressionParser(TemplatedExpressionParser) Creates a new DeviceExpressionParser.

Properties

Substitutions Additional Variable available in this instance.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Execute Create a new expression using the provided expression.
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also