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.164 -- Release Build+a92a9bf42cb46f572890ee63295d6658a513d9b3
public class DeviceExpressionParser
Inheritance
Object    DeviceExpressionParser

Remarks

As an example, this parser can use a templated expression of the form:

C#
{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