C# Class EmberLib.Glow.GlowParameterBase

Base class for the EmberPlus-Glow.Parameter and EmberPlus-Glow.QualifiedParameter types.
Inheritance: GlowContentElement
Afficher le fichier Open project: Lawo/ember-plus Class Usage Examples

Méthodes publiques

Méthode Description
CompliesWithSchema ( string schemaIdentifier ) : bool

Tests if the parameter complies with the schema with the passed schema identifier.

GetEnumeration ( ) : int>>.IEnumerable

Yield a collection of name/value pairs that represent an enumeration. It takes into account both the enumMap and the enumeration property, with the enumMap property taking precedence over the enumeration property.

GetFormula ( ) : GlowFormulaSource

Gets the value of the "formula" field of the "contents" SET.

SetFormula ( GlowFormulaSource formula ) : void

Sets the value of the "formula" field of the "contents" SET.

Méthodes protégées

Méthode Description
GlowParameterBase ( BerTag tag, uint type ) : System

Creates a new instance of GlowParameterBase.

InsertMinMax ( BerTag tag, EmberLib.Glow.GlowMinMax value ) : void
InsertValue ( BerTag tag, EmberLib.Glow.GlowValue value ) : void
ValidateAfterDecodeOverride ( string &message ) : bool

Override this in application-defined node types to provide validation. Called when a node has been decoded. Overriden to validate Identifier.

Private Methods

Méthode Description
GetMinMax ( BerTag tag ) : EmberLib.Glow.GlowMinMax
GetValue ( BerTag tag ) : EmberLib.Glow.GlowValue

Method Details

CompliesWithSchema() public méthode

Tests if the parameter complies with the schema with the passed schema identifier.
public CompliesWithSchema ( string schemaIdentifier ) : bool
schemaIdentifier string The identifier of the schema to test for.
Résultat bool

GetEnumeration() public méthode

Yield a collection of name/value pairs that represent an enumeration. It takes into account both the enumMap and the enumeration property, with the enumMap property taking precedence over the enumeration property.
public GetEnumeration ( ) : int>>.IEnumerable
Résultat int>>.IEnumerable

GetFormula() public méthode

Gets the value of the "formula" field of the "contents" SET.
public GetFormula ( ) : GlowFormulaSource
Résultat GlowFormulaSource

GlowParameterBase() protected méthode

Creates a new instance of GlowParameterBase.
protected GlowParameterBase ( BerTag tag, uint type ) : System
tag BerTag
type uint
Résultat System

InsertMinMax() protected méthode

protected InsertMinMax ( BerTag tag, EmberLib.Glow.GlowMinMax value ) : void
tag BerTag
value EmberLib.Glow.GlowMinMax
Résultat void

InsertValue() protected méthode

protected InsertValue ( BerTag tag, EmberLib.Glow.GlowValue value ) : void
tag BerTag
value EmberLib.Glow.GlowValue
Résultat void

SetFormula() public méthode

Sets the value of the "formula" field of the "contents" SET.
public SetFormula ( GlowFormulaSource formula ) : void
formula GlowFormulaSource The formula source tuple to set.
Résultat void

ValidateAfterDecodeOverride() protected méthode

Override this in application-defined node types to provide validation. Called when a node has been decoded. Overriden to validate Identifier.
protected ValidateAfterDecodeOverride ( string &message ) : bool
message string When returning false, set this to a string describing the kind of error.
Résultat bool