Click or drag to resize

AsciiGlobalStructureAnalysis Class

Provides a coarse analysis of the first few lines of the ascii file. This analysis looks for separation chars, looks for whitespaces, and if appropriate, tests if there is a structure with fixed column widths.
Inheritance Hierarchy
SystemObject
  Altaxo.Serialization.AsciiAsciiGlobalStructureAnalysis

Namespace: Altaxo.Serialization.Ascii
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class AsciiGlobalStructureAnalysis

The AsciiGlobalStructureAnalysis type exposes the following members.

Constructors
 NameDescription
Public methodAsciiGlobalStructureAnalysis Constructor for the analysis. You must provide the first few lines of a ascii file (say 30) in order to have a good analysis.
Top
Properties
 NameDescription
Public propertyContainsCommasTrue if any of the lines contains a comma char.
Public propertyContainsSemicolonsTrue if any of the lines contains a semicolon char.
Public propertyContainsTabsTrue if any of the lines contains a tabulator char.
Public propertyFixedBoundaries If a fixed column width structure was recognized, this element contains the tabbed start positions of the columns, assuming a tab size of _recognizedTabSize.
Public propertyRecognizedTabSize 
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 methodGetStringWordBounds Gets the string position for the start and end of all words in a line.
Public methodGetTabbedWordBounds Gets the tabbed position for the start and end of all words in a line, assuming a certain tab width.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodStatic memberTestForCommas Tests if any of the lines contains a comma char.
Public methodStatic memberTestForRepeatingWhiteSpaces Tests if any of the lines contains at least two subsequent whitespaces.
Public methodStatic memberTestForSemicolons Tests if any of the lines contains a semicolon char.
Public methodStatic memberTestForSpaces Tests if any of the lines contains a space char.
Public methodStatic memberTestForTabs Tests if any of the lines contains a tabulator char.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also