C# 클래스 AddressMatch.AddrSet

파일 보기 프로젝트 열기: pwq1989/AddressMatch 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AddrGraph Graph
DiskFilePath string
DumpDirectory string

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
AddrSet ( ) : System
AppendTableNodeList ( TableNode head, TableNode node ) : void
MultiMatchInNext ( Predicate p, GraphNode node, List &result ) : void
_ResumeFromDisk ( ) : bool
getFileNameToDump ( ) : string
init ( ) : void

메소드 상세

AddrSet() 공개 메소드

public AddrSet ( int a ) : System
a int
리턴 System

Delete() 공개 메소드

Delete a node from graph
public Delete ( GraphNode node ) : bool
node GraphNode The node to be deleted
리턴 bool

Dump() 공개 메소드

Dump to Disk, location is default directory.
public Dump ( ) : bool
리턴 bool

FindGNodeListInHashTable() 공개 메소드

Find node with specific name in HashTable
public FindGNodeListInHashTable ( string name ) : List
name string name of node
리턴 List

FindNodeInHashTable() 공개 메소드

Find node with specific name in HashTable
public FindNodeInHashTable ( string name ) : State
name string name of node
리턴 State

ForwardSearchNode() 공개 메소드

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
리턴 List

ForwardSearchNode() 공개 메소드

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
리턴 List

GetCurrentReadCount() 공개 메소드

public GetCurrentReadCount ( ) : int
리턴 int

GetInstance() 공개 정적인 메소드

public static GetInstance ( ) : AddrSet
리턴 AddrSet

GetRWlock() 공개 메소드

public GetRWlock ( ) : ReaderWriterLockSlim
리턴 System.Threading.ReaderWriterLockSlim

GetWaitingReadCount() 공개 메소드

public GetWaitingReadCount ( ) : int
리턴 int

GetWaitingWriteCount() 공개 메소드

public GetWaitingWriteCount ( ) : int
리턴 int

Insert() 공개 메소드

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
리턴 bool

ReName() 공개 메소드

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

RetrievalGraph() 공개 메소드

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

프로퍼티 상세

AddrGraph 공개적으로 정적으로 프로퍼티

public static Graph,AddressMatch AddrGraph
리턴 Graph

DiskFilePath 공개적으로 정적으로 프로퍼티

public static string DiskFilePath
리턴 string

DumpDirectory 공개적으로 정적으로 프로퍼티

public static string DumpDirectory
리턴 string