Click or drag to resize

ScalarElement Class

Represents an Element which is a single value in a PQDIF file. Scalar elements are part of the physical structure of a PQDIF file. They exist within the body of a Record (contained by a CollectionElement).
Inheritance Hierarchy
SystemObject
  GSF.PQDIF.PhysicalElement
    GSF.PQDIF.PhysicalScalarElement

Namespace: GSF.PQDIF.Physical
Assembly: GSF.PQDIF (in GSF.PQDIF.dll) Version: 2.4.207-beta
Syntax
public class ScalarElement : Element
View Source

The ScalarElement type exposes the following members.

Constructors
 NameDescription
Public methodScalarElement Creates a new instance of the ScalarElement class.
Top
Properties
 NameDescription
Public propertyTagOfElement Gets or sets the tag which identifies the element.
(Inherited from Element)
Public propertyTypeOfElement Gets the type of the element. Returns Scalar.
(Overrides ElementTypeOfElement)
Public propertyTypeOfValue Gets or sets the physical type of the value or values contained by the element.
(Inherited from Element)
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGet Gets the value of the scalar as the physical type defined by TypeOfValue and returns it as a generic Object.
Public methodGetBool4 Gets the value of this scalar as a 4-byte boolean.
Public methodGetComplex16 Gets the value of this scalar as a 16-byte complex number.
Public methodGetComplex8 Gets the value of this scalar as an 8-byte complex number.
Public methodGetGuid Gets the value of this scalar as a globally unique identifier.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetInt1 Gets the value of this scalar as an 8-bit signed integer.
Public methodGetInt2 Gets the value of this scalar as a 16-bit signed integer.
Public methodGetInt4 Gets the value of this scalar as a 32-bit signed integer.
Public methodGetReal4 Gets the value of this scalar as a 32-bit floating point number.
Public methodGetReal8 Gets the value of this scalar as a 64-bit floating point number.
Public methodGetTimestamp Gets the value of this scalar as DateTime.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetUInt1 Gets the value of this scalar as an 8-bit unsigned integer.
Public methodGetUInt2 Gets the value of this scalar as a 16-bit unsigned integer.
Public methodGetUInt4 Gets the value of this scalar as a 32-bit unsigned integer.
Public methodGetValue Gets the raw bytes of the value that this scalar represents.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodSet Sets the value at the given index as the physical type defined by TypeOfValue.
Public methodSetBool4 Sets the value of this scalar as a 4-byte boolean.
Public methodSetComplex16 Sets the value of this scalar as a 16-byte complex number.
Public methodSetComplex8 Sets the value of this scalar as an 8-byte complex number.
Public methodSetGuid Sets the value of this scalar as a globally unique identifier.
Public methodSetInt1 Sets the value of this scalar as an 8-bit signed integer.
Public methodSetInt2 Sets the value of this scalar as a 16-bit signed integer.
Public methodSetInt4 Sets the value of this scalar as a 32-bit signed integer.
Public methodSetReal4 Sets the value of this scalar as a 32-bit floating point number.
Public methodSetReal8 Sets the value of this scalar as a 64-bit floating point number.
Public methodSetTimestamp Sets the value of this scalar as a DateTime.
Public methodSetUInt1 Sets the value of this scalar as an 8-bit unsigned integer.
Public methodSetUInt2 Sets the value of this scalar as a 16-bit unsigned integer.
Public methodSetUInt4 Sets the value of this scalar as a 32-bit unsigned integer.
Public methodSetValue Sets the raw bytes of the value that this scalar represents.
Public methodToString Returns a string representation of the scalar.
(Overrides ObjectToString)
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also