Files
simulation_core/lib/options-parser/Parser/ElementDescriptor.cs

21 lines
503 B
C#

namespace Antmicro.OptionsParser
{
public struct ElementDescriptor
{
public ElementDescriptor WithLengthChangedBy(int i)
{
return new ElementDescriptor
{
Index = this.Index,
LocalPosition = this.LocalPosition,
Length = this.Length + i
};
}
public int Index { get; set; }
public int LocalPosition { get; set; }
public int Length { get; set; }
}
}