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).

Definition

Namespace: Gemstone.PQDIF.Physical
Assembly: Gemstone.PQDIF (in Gemstone.PQDIF.dll) Version: 1.0.128 -- Release Build+1b345d0ae00b8cec154a675bc1a93c4812c5641f
public class ScalarElement : Element
Inheritance
Object    Element    ScalarElement

Constructors

ScalarElement Creates a new instance of the ScalarElement class.

Properties

TagOfElement Gets or sets the tag which identifies the element.
(Inherited from Element)
TypeOfElement Gets the type of the element. Returns Scalar.
(Overrides ElementTypeOfElement)
TypeOfValue Gets or sets the physical type of the value or values contained by the element.
(Inherited from Element)

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Get Gets the value of the scalar as the physical type defined by TypeOfValue and returns it as a generic Object.
GetBool4 Gets the value of this scalar as a 4-byte boolean.
GetComplex16 Gets the value of this scalar as a 16-byte complex number.
GetComplex8 Gets the value of this scalar as an 8-byte complex number.
GetGuid Gets the value of this scalar as a globally unique identifier.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetInt1 Gets the value of this scalar as an 8-bit signed integer.
GetInt2 Gets the value of this scalar as a 16-bit signed integer.
GetInt4 Gets the value of this scalar as a 32-bit signed integer.
GetReal4 Gets the value of this scalar as a 32-bit floating point number.
GetReal8 Gets the value of this scalar as a 64-bit floating point number.
GetTimestamp Gets the value of this scalar as DateTime.
GetTypeGets the Type of the current instance.
(Inherited from Object)
GetUInt1 Gets the value of this scalar as an 8-bit unsigned integer.
GetUInt2 Gets the value of this scalar as a 16-bit unsigned integer.
GetUInt4 Gets the value of this scalar as a 32-bit unsigned integer.
GetValue Gets the raw bytes of the value that this scalar represents.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Set Sets the value at the given index as the physical type defined by TypeOfValue.
SetBool4 Sets the value of this scalar as a 4-byte boolean.
SetComplex16 Sets the value of this scalar as a 16-byte complex number.
SetComplex8 Sets the value of this scalar as an 8-byte complex number.
SetGuid Sets the value of this scalar as a globally unique identifier.
SetInt1 Sets the value of this scalar as an 8-bit signed integer.
SetInt2 Sets the value of this scalar as a 16-bit signed integer.
SetInt4 Sets the value of this scalar as a 32-bit signed integer.
SetReal4 Sets the value of this scalar as a 32-bit floating point number.
SetReal8 Sets the value of this scalar as a 64-bit floating point number.
SetTimestamp Sets the value of this scalar as a DateTime.
SetUInt1 Sets the value of this scalar as an 8-bit unsigned integer.
SetUInt2 Sets the value of this scalar as a 16-bit unsigned integer.
SetUInt4 Sets the value of this scalar as a 32-bit unsigned integer.
SetValue Sets the raw bytes of the value that this scalar represents.
ToString Returns a string representation of the scalar.
(Overrides ObjectToString)

See Also