Class FullyIterativeStringifier<TEdge, TNode>
Iterative implementation.
Inheritance
System.Object
FullyIterativeStringifier<TEdge, TNode>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: MoreStructures.dll
Syntax
public class FullyIterativeStringifier<TEdge, TNode> : StringifierBase<TEdge, TNode>, IStringifier<TEdge, TNode> where TEdge : IRecImmDictIndexedTreeEdge<TEdge, TNode> where TNode : IRecImmDictIndexedTreeNode<TEdge, TNode>
Type Parameters
Name |
Description |
TEdge |
The type of edges of the specific structure.
|
TNode |
The type of nodes of the specific structure.
|
Constructors
|
Improve this Doc
View Source
FullyIterativeStringifier(Func<TNode, String>, Func<TEdge, TNode, String>)
Declaration
public FullyIterativeStringifier(Func<TNode, string> rootStringifier, Func<TEdge, TNode, string> edgeAndNodeStringifier)
Parameters
Type |
Name |
Description |
Func<TNode, System.String> |
rootStringifier |
|
Func<TEdge, TNode, System.String> |
edgeAndNodeStringifier |
|
Properties
|
Improve this Doc
View Source
PrependLevelAfterStopIndenting
Whether the actual level should be prepended to the line, once the maximum level of indentation defined at
StopIndentingLevel has been reached. Default is true.
Declaration
public bool PrependLevelAfterStopIndenting { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
StopIndentingLevel
The maximum level at which indentation should not be done anymore. Default is System.Int32.MaxValue.
Declaration
public int StopIndentingLevel { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
|
Improve this Doc
View Source
Stringify(TNode)
Declaration
public override string Stringify(TNode node)
Parameters
Type |
Name |
Description |
TNode |
node |
|
Returns
Type |
Description |
System.String |
|
Overrides
MoreStructures.RecImmTrees.Conversions.StringifierBase<TEdge, TNode>.Stringify(TNode)
|
Improve this Doc
View Source
Stringify(TreePath<TEdge, TNode>)
Declaration
public override string Stringify(TreePath<TEdge, TNode> path)
Parameters
Type |
Name |
Description |
TreePath<TEdge, TNode> |
path |
|
Returns
Type |
Description |
System.String |
|
Overrides
MoreStructures.RecImmTrees.Conversions.StringifierBase<TEdge, TNode>.Stringify(MoreStructures.RecImmTrees.TreePath<TEdge, TNode>)
Implements
Extension Methods