C# Class TagTool.Analysis.TagLayoutGuess

A guess at the layout of a tag.
Show file Open project: TheGuardians/TagTool Class Usage Examples

Public Methods

Method Description
Accept ( ITagElementGuessVisitor visitor ) : void

Dispatches each guess in the layout to a visitor object.

Add ( uint offset, ITagElementGuess guess ) : void

Adds a guess to the layout.

Merge ( TagLayoutGuess otherLayout ) : void

Merges another layout into this one.

TagLayoutGuess ( uint size ) : System
TryGet ( uint offset ) : ITagElementGuess

Tries to get the guess at an offset.

Method Details

Accept() public method

Dispatches each guess in the layout to a visitor object.
public Accept ( ITagElementGuessVisitor visitor ) : void
visitor ITagElementGuessVisitor The visitor object.
return void

Add() public method

Adds a guess to the layout.
public Add ( uint offset, ITagElementGuess guess ) : void
offset uint The offset of the guess from the beginning of the layout.
guess ITagElementGuess The guess to add.
return void

Merge() public method

Merges another layout into this one.
public Merge ( TagLayoutGuess otherLayout ) : void
otherLayout TagLayoutGuess The layout to merge with.
return void

TagLayoutGuess() public method

public TagLayoutGuess ( uint size ) : System
size uint
return System

TryGet() public method

Tries to get the guess at an offset.
public TryGet ( uint offset ) : ITagElementGuess
offset uint The offset to get the guess at.
return ITagElementGuess