C# Class AddressMatch.AddrSet

Afficher le fichier Open project: pwq1989/AddressMatch Class Usage Examples

Méthodes publiques

Свойство Type Description
AddrGraph Graph
DiskFilePath string
DumpDirectory string

Méthodes publiques

Méthode Description
AddrSet ( int a ) : System
Delete ( GraphNode node ) : bool

Delete a node from graph

Dump ( ) : bool

Dump to Disk, location is default directory.

FindGNodeListInHashTable ( string name ) : List

Find node with specific name in HashTable

FindNodeInHashTable ( string name ) : State

Find node with specific name in HashTable

ForwardSearchNode ( Predicate p, GraphNode sourceNode ) : List

Search matched node with single source node through specific delegate, from up to bottom.

ForwardSearchNode ( Predicate p, IList sourceNodeList ) : List

Search matched node (multi-source) through specific delegate, from up to bottom.

GetCurrentReadCount ( ) : int
GetInstance ( ) : AddrSet
GetRWlock ( ) : ReaderWriterLockSlim
GetWaitingReadCount ( ) : int
GetWaitingWriteCount ( ) : int
Insert ( GraphNode NewNode, GraphNode FatherNode ) : bool

Insert a node into graph

ReName ( GraphNode node, string name ) : bool

Rename a node in graph

RetrievalGraph ( Predicate p ) : List

Retrieval the graph from root, Depth-First Traversal

Private Methods

Méthode Description
AddrSet ( ) : System
AppendTableNodeList ( TableNode head, TableNode node ) : void
MultiMatchInNext ( Predicate p, GraphNode node, List &result ) : void
_ResumeFromDisk ( ) : bool
getFileNameToDump ( ) : string
init ( ) : void

Method Details

AddrSet() public méthode

public AddrSet ( int a ) : System
a int
Résultat System

Delete() public méthode

Delete a node from graph
public Delete ( GraphNode node ) : bool
node GraphNode The node to be deleted
Résultat bool

Dump() public méthode

Dump to Disk, location is default directory.
public Dump ( ) : bool
Résultat bool

FindGNodeListInHashTable() public méthode

Find node with specific name in HashTable
public FindGNodeListInHashTable ( string name ) : List
name string name of node
Résultat List

FindNodeInHashTable() public méthode

Find node with specific name in HashTable
public FindNodeInHashTable ( string name ) : State
name string name of node
Résultat State

ForwardSearchNode() public méthode

Search matched node with single source node through specific delegate, from up to bottom.
public ForwardSearchNode ( Predicate p, GraphNode sourceNode ) : List
p Predicate find matched node in condition supported predicate delegate
sourceNode GraphNode
Résultat List

ForwardSearchNode() public méthode

Search matched node (multi-source) through specific delegate, from up to bottom.
public ForwardSearchNode ( Predicate p, IList sourceNodeList ) : List
p Predicate find matched node in condition supported predicate delegate
sourceNodeList IList
Résultat List

GetCurrentReadCount() public méthode

public GetCurrentReadCount ( ) : int
Résultat int

GetInstance() public static méthode

public static GetInstance ( ) : AddrSet
Résultat AddrSet

GetRWlock() public méthode

public GetRWlock ( ) : ReaderWriterLockSlim
Résultat System.Threading.ReaderWriterLockSlim

GetWaitingReadCount() public méthode

public GetWaitingReadCount ( ) : int
Résultat int

GetWaitingWriteCount() public méthode

public GetWaitingWriteCount ( ) : int
Résultat int

Insert() public méthode

Insert a node into graph
public Insert ( GraphNode NewNode, GraphNode FatherNode ) : bool
NewNode GraphNode The node to be inserted
FatherNode GraphNode The node's father node
Résultat bool

ReName() public méthode

Rename a node in graph
public ReName ( GraphNode node, string name ) : bool
node GraphNode The node to be renamed
name string new name
Résultat bool

RetrievalGraph() public méthode

Retrieval the graph from root, Depth-First Traversal
public RetrievalGraph ( Predicate p ) : List
p Predicate find matched node in condition supported predicate delegate
Résultat List

Property Details

AddrGraph public_oe static_oe property

public static Graph,AddressMatch AddrGraph
Résultat Graph

DiskFilePath public_oe static_oe property

public static string DiskFilePath
Résultat string

DumpDirectory public_oe static_oe property

public static string DumpDirectory
Résultat string