C# Class Landis.Extension.BiomassHarvest.PartialThinning

Static class for partial thinning.
Afficher le fichier Open project: LANDIS-II-Foundation/Extensions-Disturbance

Méthodes publiques

Méthode Description
MakeInputValueException ( string value, string message ) : Edu.Wisc.Forest.Flel.Util.InputValueException
ReadAgeOrRange ( Edu.Wisc.Forest.Flel.Util.StringReader reader, int &index ) : InputValue

Reads a cohort age or a range of ages (format: age-age) followed by an optional percentage for partial thinning.

The optional percentage is bracketed by parenthesis.

ReadPercentage ( Edu.Wisc.Forest.Flel.Util.StringReader reader, int &index ) : InputValue

Reads a percentage for partial thinning of a cohort age or age range.

The percentage is bracketed by parentheses.

ReadWhitespace ( Edu.Wisc.Forest.Flel.Util.StringReader reader ) : string

Reads whitespace from a string reader.

ReadWord ( Edu.Wisc.Forest.Flel.Util.StringReader reader, char delimiter ) : string

Reads a word from a string reader.

The word is terminated by whitespace, the end of input, or a particular delimiter character.

Method Details

MakeInputValueException() public static méthode

public static MakeInputValueException ( string value, string message ) : Edu.Wisc.Forest.Flel.Util.InputValueException
value string
message string
Résultat Edu.Wisc.Forest.Flel.Util.InputValueException

ReadAgeOrRange() public static méthode

Reads a cohort age or a range of ages (format: age-age) followed by an optional percentage for partial thinning.
The optional percentage is bracketed by parenthesis.
public static ReadAgeOrRange ( Edu.Wisc.Forest.Flel.Util.StringReader reader, int &index ) : InputValue
reader Edu.Wisc.Forest.Flel.Util.StringReader
index int
Résultat InputValue

ReadPercentage() public static méthode

Reads a percentage for partial thinning of a cohort age or age range.
The percentage is bracketed by parentheses.
public static ReadPercentage ( Edu.Wisc.Forest.Flel.Util.StringReader reader, int &index ) : InputValue
reader Edu.Wisc.Forest.Flel.Util.StringReader
index int
Résultat InputValue

ReadWhitespace() public static méthode

Reads whitespace from a string reader.
public static ReadWhitespace ( Edu.Wisc.Forest.Flel.Util.StringReader reader ) : string
reader Edu.Wisc.Forest.Flel.Util.StringReader
Résultat string

ReadWord() public static méthode

Reads a word from a string reader.
The word is terminated by whitespace, the end of input, or a particular delimiter character.
public static ReadWord ( Edu.Wisc.Forest.Flel.Util.StringReader reader, char delimiter ) : string
reader Edu.Wisc.Forest.Flel.Util.StringReader
delimiter char
Résultat string