C# Class Peg.Base.TreePrint

Inheritance: PrintNode
Afficher le fichier Open project: Andos/BinaryFileSchema Class Usage Examples

Méthodes publiques

Méthode Description
IsLeaf ( PegNode p ) : bool
LenDistNext ( PegNode p, bool bAlignVertical, int &nOffsetLineBeg, int nLevel ) : int
LenLeaf ( PegNode p ) : int
LenMaxLine ( ) : int
LenNodeBeg ( PegNode p ) : int
LenNodeEnd ( PegNode p ) : int
PrintDistNext ( PegNode p, bool bAlignVertical, int &nOffsetLineBeg, int nLevel ) : void
PrintIdAsName ( PegNode p ) : void
PrintLeaf ( PegNode p, int &nOffsetLineBeg, bool bAlignVertical ) : void
PrintNodeBeg ( PegNode p, bool bAlignVertical, int &nOffsetLineBeg, int nLevel ) : void
PrintNodeEnd ( PegNode p, bool bAlignVertical, int &nOffsetLineBeg, int nLevel ) : void
PrintTree ( PegNode parent, int nOffsetLineBeg, int nLevel ) : void
TreePrint ( TextWriter treeOut, string src, int nMaxLineLen, GetNodeName GetNodeName, bool bVerbose ) : System

Private Methods

Méthode Description
DetermineLineLength ( PegNode parent, int nOffsetLineBeg ) : int
LenIdAsName ( PegNode p ) : int

Method Details

IsLeaf() public méthode

public IsLeaf ( PegNode p ) : bool
p PegNode
Résultat bool

LenDistNext() public méthode

public LenDistNext ( PegNode p, bool bAlignVertical, int &nOffsetLineBeg, int nLevel ) : int
p PegNode
bAlignVertical bool
nOffsetLineBeg int
nLevel int
Résultat int

LenLeaf() public méthode

public LenLeaf ( PegNode p ) : int
p PegNode
Résultat int

LenMaxLine() public méthode

public LenMaxLine ( ) : int
Résultat int

LenNodeBeg() public méthode

public LenNodeBeg ( PegNode p ) : int
p PegNode
Résultat int

LenNodeEnd() public méthode

public LenNodeEnd ( PegNode p ) : int
p PegNode
Résultat int

PrintDistNext() public méthode

public PrintDistNext ( PegNode p, bool bAlignVertical, int &nOffsetLineBeg, int nLevel ) : void
p PegNode
bAlignVertical bool
nOffsetLineBeg int
nLevel int
Résultat void

PrintIdAsName() public méthode

public PrintIdAsName ( PegNode p ) : void
p PegNode
Résultat void

PrintLeaf() public méthode

public PrintLeaf ( PegNode p, int &nOffsetLineBeg, bool bAlignVertical ) : void
p PegNode
nOffsetLineBeg int
bAlignVertical bool
Résultat void

PrintNodeBeg() public méthode

public PrintNodeBeg ( PegNode p, bool bAlignVertical, int &nOffsetLineBeg, int nLevel ) : void
p PegNode
bAlignVertical bool
nOffsetLineBeg int
nLevel int
Résultat void

PrintNodeEnd() public méthode

public PrintNodeEnd ( PegNode p, bool bAlignVertical, int &nOffsetLineBeg, int nLevel ) : void
p PegNode
bAlignVertical bool
nOffsetLineBeg int
nLevel int
Résultat void

PrintTree() public méthode

public PrintTree ( PegNode parent, int nOffsetLineBeg, int nLevel ) : void
parent PegNode
nOffsetLineBeg int
nLevel int
Résultat void

TreePrint() public méthode

public TreePrint ( TextWriter treeOut, string src, int nMaxLineLen, GetNodeName GetNodeName, bool bVerbose ) : System
treeOut System.IO.TextWriter
src string
nMaxLineLen int
GetNodeName GetNodeName
bVerbose bool
Résultat System