StringParserSettings

References
Parameters for parsing strings

Constructors

StringParserSettings

#Since v6.0
public StringParserSettings()

Finalizer

~StringParserSettings

#
~StringParserSettings()

Properties

DefaultAngleUnitSystem

#Since v6.0
public AngleUnitSystem DefaultAngleUnitSystem { get; set; }

DefaultLengthUnitSystem

#Since v6.0
public UnitSystem DefaultLengthUnitSystem { get; set; }

DefaultParseSettings

#Since v6.0
public static StringParserSettings DefaultParseSettings { get; }
- The default settings parse just about everything in a reasonable way. - Any angle values with unspecified units will be treated as radians. Angles without units can be encountered while parsing formulas, lengths and points and need to be thoughtfully considered in most parsing situations.

ParseAddition

#Since v6.0
public bool ParseAddition { get; set; }

ParseArcDegreesMinutesSeconds

#Since v6.0
public bool ParseArcDegreesMinutesSeconds { get; set; }

ParseArithmeticExpression

#Since v6.0
public bool ParseArithmeticExpression { get; set; }

ParseCommaAsDecimalPoint

#Since v6.0
public bool ParseCommaAsDecimalPoint { get; set; }

ParseCommaAsDigitSeparator

#Since v6.0
public bool ParseCommaAsDigitSeparator { get; set; }

ParseDAsExponentInScientificENotation

#Since v6.0
public bool ParseDAsExponentInScientificENotation { get; set; }

ParseDivision

#Since v6.0
public bool ParseDivision { get; set; }

ParseExplicitFormulaExpression

#Since v6.0
public bool ParseExplicitFormulaExpression { get; set; }

ParseFeetInches

#Since v6.0
public bool ParseFeetInches { get; set; }

ParseFullStopAsDecimalPoint

#Since v6.0
public bool ParseFullStopAsDecimalPoint { get; set; }

ParseFullStopAsDigitSeparator

#Since v6.0
public bool ParseFullStopAsDigitSeparator { get; set; }

ParseHyphenAsNumberDash

#Since v6.0
public bool ParseHyphenAsNumberDash { get; set; }

ParseHyphenMinusAsNumberDash

#Since v6.0
public bool ParseHyphenMinusAsNumberDash { get; set; }

ParseIntegerDashFraction

#Since v6.0
public bool ParseIntegerDashFraction { get; set; }

ParseLeadingWhiteSpace

#Since v6.0
public bool ParseLeadingWhiteSpace { get; set; }

ParseMathFunctions

#Since v6.0
public bool ParseMathFunctions { get; set; }

ParseMultiplication

#Since v6.0
public bool ParseMultiplication { get; set; }

ParsePairedParentheses

#Since v6.0
public bool ParsePairedParentheses { get; set; }

ParsePi

#Since v6.0
public bool ParsePi { get; set; }

ParseRationalNumber

#Since v6.0
public bool ParseRationalNumber { get; set; }

ParseScientificENotation

#Since v6.0
public bool ParseScientificENotation { get; set; }

ParseSettingsDegrees

#Since v6.0
public static StringParserSettings ParseSettingsDegrees { get; }
- The default settings parse just about everything in a reasonable way. - Any angle values with unspecified units will be treated as degrees.Angles without units can be encountered while parsing formulas, lengths and points and need to be thoughtfully considered in most parsing situations.

ParseSettingsDoubleNumber

#Since v6.0
public static StringParserSettings ParseSettingsDoubleNumber { get; }
- The double number settings parse and optional unary + or unary - and then parse a number that can be integer, decimal, or scientific e notation.

ParseSettingsEmpty

#Since v6.0
public static StringParserSettings ParseSettingsEmpty { get; }
- ON_ParseSetting::FalseSettings has all parsing options set to false. - A common use of ON_ParseSettings FalseSettings is to initialize ON_ParseSettings classes that are used to report what happened during parsing.Any parsing results value set to true after parsing indicates that type of parsing occurred.

ParseSettingsIntegerNumber

#Since v6.0
public static StringParserSettings ParseSettingsIntegerNumber { get; }
- The integer settings parse and optional unary + or unary - and then parses one or more digits.Parsing stops after the last digit.

ParseSettingsRadians

#Since v6.0
public static StringParserSettings ParseSettingsRadians { get; }
- The default settings parse just about everything in a reasonable way. - Any angle values with unspecified units will be treated as radians.Angles without units can be encountered while parsing formulas, lengths and points and need to be thoughtfully considered in most parsing situations.

ParseSettingsRationalNumber

#Since v6.0
public static StringParserSettings ParseSettingsRationalNumber { get; }
- The rational number settings parse and optional unary + or unary - and then parse one or more digits.If a rational number fraction bar follows the last digit in the numerator, then it is parsed and an integer denominator is parsed.The denominator cannot have a unary + or - preceding the digits.Parsing stops after the last digit in the denominator.

ParseSettingsRealNumber

#Since v6.0
public static StringParserSettings ParseSettingsRealNumber { get; }
- The real number settings parse and optional unary + or unary - and then parse a number that can be integer, decimal, scientific e notation or pi.

ParseSignificandDigitSeparators

#Since v6.0
public bool ParseSignificandDigitSeparators { get; set; }

ParseSignificandFractionalPart

#Since v6.0
public bool ParseSignificandFractionalPart { get; set; }

ParseSignificandIntegerPart

#Since v6.0
public bool ParseSignificandIntegerPart { get; set; }

ParseSpaceAsDigitSeparator

#Since v6.0
public bool ParseSpaceAsDigitSeparator { get; set; }

ParseSubtraction

#Since v6.0
public bool ParseSubtraction { get; set; }

ParseSurveyorsNotation

#Since v6.0
public bool ParseSurveyorsNotation { get; set; }

ParseUnaryMinus

#Since v6.0
public bool ParseUnaryMinus { get; set; }

ParseUnaryPlus

#Since v6.0
public bool ParseUnaryPlus { get; set; }

PreferedLocaleId

#Since v6.0
[CLSCompliant(false)] public uint PreferedLocaleId { get; set; }

Methods

Dispose

#Since v6.0
public void Dispose()

Dispose

#
protected virtual void Dispose(bool disposing)
disposing (bool)

SetAllExpressionSettingsToFalse

#Since v6.0
public void SetAllExpressionSettingsToFalse()

SetAllFieldsToFalse

#Since v6.0
public void SetAllFieldsToFalse()