Click or drag to resize

TDInterpretationClass Class

Represents an interpretation of measurement units for a WITec data class. This class extracts the unit index and maps it to a human-readable description and shortcut.
Inheritance Hierarchy

Namespace: Altaxo.Serialization.WITec
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public class TDInterpretationClass : TDataClass

The TDInterpretationClass type exposes the following members.

Constructors
 NameDescription
Public methodTDInterpretationClass Initializes a new instance of the TDInterpretationClass using the provided node. The constructor reads the unit index and resolves the corresponding description and shortcut using GetUnit(Int32).
Top
Properties
 NameDescription
Public propertyCaption Gets the caption of this data class.
(Inherited from TDataClass)
Public propertyClassName Gets the class name associated with this data class.
(Inherited from TDataClass)
Public propertyID Gets the identifier of this data class.
(Inherited from TDataClass)
Public propertyNode Gets the underlying node for this data class.
(Inherited from TDataClass)
Public propertyTData Gets the node named "TData" that contains the data values for this class.
(Inherited from TDataClass)
Public propertyUnitDescription Gets the textual description of the unit corresponding to UnitIndex.
Public propertyUnitIndex Gets the index identifying the selected unit.
Public propertyUnitShortCut Gets the short notation or shortcut for the unit corresponding to UnitIndex.
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 methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetUnit Returns the unit description and shortcut for the provided unitIndex. Derived classes should override this to provide mapping between unit indices and their textual representations.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Protected field_tdInterpretation Backing node for the "TDInterpretation" child node of the data class.
Top
See Also