Click or drag to resize

JcampReaderBlock Class

Represents a parsed JCAMP block containing metadata and numeric series.
Inheritance Hierarchy
SystemObject
  Altaxo.Serialization.JcampJcampReaderBlock

Namespace: Altaxo.Serialization.Jcamp
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public class Block

The JcampReaderBlock type exposes the following members.

Constructors
 NameDescription
Public methodJcampReaderBlock Imports a JCAMP block from the given text reader and parses its headers and data. The block must not be a multi-spectrum block; a multi-spectrum file will cause a format exception.
Top
Properties
 NameDescription
Public propertyCreationTime Creation date/time of the JCAMP file. Be aware that due to different date/time formats, the creation time may be incorrect. If the creation time could not be parsed, the value is MinValue.
Public propertyErrorMessages Messages about any errors during the import of the JCAMP file.
Public propertyOwnerOwner of the dataset when present in the header.
Public propertySystemNameSystem name as reported in the header.
Public propertyTitleThe title of the file.
Public propertyXFirst Gets the first X value read from the block header, or NaN if not specified.
Public propertyXIncrement Gets the X increment value read from the block header, or NaN if not specified.
Public propertyXLabelThe label of the x-axis.
Public propertyXScale Gets the X scaling factor read from the header, or NaN if not specified.
Public propertyXUnitThe unit of the x-axis.
Public propertyXValues Gets the computed X values for the block data.
Public propertyYLabelThe label of the y-axis.
Public propertyYScale Gets the Y scaling factor read from the header, or NaN if not specified.
Public propertyYUnitThe unit of the y-axis.
Public propertyYValues Gets the parsed Y values for the block data.
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)
Protected methodHandleDateLine Handles a date line (a line that starts with the ##DATE= header) and extracts an optional date and time.
Public methodStatic memberIsDateReasonable Validates whether a parsed date is within a reasonable range.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodStatic memberParseDate Parses a date string using several exact formats and validates the parsed date.
Public methodStatic memberParseTime Parses a time string using several exact formats and returns a DateTime representing the time portion.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
See Also