C# 클래스 SobekCM.Resource_Object.Divisions.Division_Tree

파일 보기 프로젝트 열기: MarkVSullivan/SobekCM-Web-Application 1 사용 예제들

Private Properties

프로퍼티 타입 설명
preorder_build void
recursively_add_file bool
recursively_build_all_files_list void
recursively_check_for_any_files bool

공개 메소드들

메소드 설명
Add_File ( string FileName ) : SobekCM_File_Info

Adds a file (with the appropriate divisions and pages) to this tree by filename

This is generally used to add just a single file. To add many files, better logic should be implemented

Add_File ( string FileName, string Label ) : SobekCM_File_Info

Adds a file (with the appropriate divisions and pages) to this tree by filename

This is generally used to add just a single file. To add many files, better logic should be implemented

Add_File ( SobekCM_File_Info New_File ) : void

Adds a file object (with the appropriate divisions and pages) to this tree

This is generally used to add just a single file. To add many files, better logic should be implemented

Add_File ( SobekCM_File_Info New_File, string Label ) : void

Adds a file object (with the appropriate divisions and pages) to this tree

This is generally used to add just a single file. To add many files, better logic should be implemented

Clear ( ) : void

Clears this tree completely

Division_Tree ( ) : System

Constructor creates a new instance of the Division_Tree class

Page_Sequence_By_FileName ( string FileName ) : int

Returns the page sequence for the indicated file name

비공개 메소드들

메소드 설명
preorder_build ( List Collection, SobekCM.Resource_Object.Divisions.abstract_TreeNode ThisNode, bool OnlyAddPages, bool PagesMustHaveFiles ) : void
recursively_add_file ( SobekCM.Resource_Object.Divisions.abstract_TreeNode Node, SobekCM_File_Info New_File, string SystemName_Upper ) : bool
recursively_build_all_files_list ( List ReturnValue, List HandledPages, SobekCM.Resource_Object.Divisions.abstract_TreeNode ThisNode ) : void
recursively_check_for_any_files ( SobekCM.Resource_Object.Divisions.abstract_TreeNode Node ) : bool

메소드 상세

Add_File() 공개 메소드

Adds a file (with the appropriate divisions and pages) to this tree by filename
This is generally used to add just a single file. To add many files, better logic should be implemented
public Add_File ( string FileName ) : SobekCM_File_Info
FileName string Name of the file to add
리턴 SobekCM_File_Info

Add_File() 공개 메소드

Adds a file (with the appropriate divisions and pages) to this tree by filename
This is generally used to add just a single file. To add many files, better logic should be implemented
public Add_File ( string FileName, string Label ) : SobekCM_File_Info
FileName string Name of the file to add
Label string Label for the page containing this file, if it is a new page
리턴 SobekCM_File_Info

Add_File() 공개 메소드

Adds a file object (with the appropriate divisions and pages) to this tree
This is generally used to add just a single file. To add many files, better logic should be implemented
public Add_File ( SobekCM_File_Info New_File ) : void
New_File SobekCM_File_Info New file object to add
리턴 void

Add_File() 공개 메소드

Adds a file object (with the appropriate divisions and pages) to this tree
This is generally used to add just a single file. To add many files, better logic should be implemented
public Add_File ( SobekCM_File_Info New_File, string Label ) : void
New_File SobekCM_File_Info New file object to add
Label string Label for the page containing this file, if it is a new page
리턴 void

Clear() 공개 메소드

Clears this tree completely
public Clear ( ) : void
리턴 void

Division_Tree() 공개 메소드

Constructor creates a new instance of the Division_Tree class
public Division_Tree ( ) : System
리턴 System

Page_Sequence_By_FileName() 공개 메소드

Returns the page sequence for the indicated file name
public Page_Sequence_By_FileName ( string FileName ) : int
FileName string Name of the file to check for similar existence
리턴 int