mySobek Home   |   Help
Skip Navigation Links.
Expand <a href='https://sobekrepository.org/sobekcm' title='Sobek home page'>Project Home</a>Project Home
Expand <a href='https://sobekrepository.org/help' title='Online user help'>User Help</a>User Help
Expand <a href='https://sobekrepository.org/sobekcm/technical' title='Sobek home page'>Technical Help</a>Technical Help
Expand <a href='https://sobekrepository.org/software' title='Center for downloading all SobekCM-related software'>Download Center</a>Download Center
Training Videos
Collapse <a href='https://sobekrepository.org/codehelp' title='Details on each of the different classes, interfaces, properties, etc..'>Code Details</a>Code Details
MISSING BANNER

Division_Tree Class



Division_Tree is a data object in memory which stores a hierarchy of TreeNode objects which represent divisions, pages, and files


Namespace: SobekCM.Resource_Object.Divisions
Assembly: SobekCM_Resource_Object (in SobekCM_Resource_Object.dll) Version: 4.10.0.0 (4.10.0)

Syntax

C#
[SerializableAttribute]
[DataContractAttribute]
public class Division_Tree

Remarks

Object created by Mark V Sullivan (2006) for University of Florida's Digital Library Center.

Inheritance Hierarchy

System..::..Object
  SobekCM.Resource_Object.Divisions..::..Division_Tree

Constructors

  NameDescription
Public methodDivision_Tree
Constructor creates a new instance of the Division_Tree class

Methods

  NameDescription
Public methodAdd_File(String)
Adds a file (with the appropriate divisions and pages) to this tree by filename
Public methodAdd_File(SobekCM_File_Info)
Adds a file object (with the appropriate divisions and pages) to this tree
Public methodAdd_File(String, String)
Adds a file (with the appropriate divisions and pages) to this tree by filename
Public methodAdd_File(SobekCM_File_Info, String)
Adds a file object (with the appropriate divisions and pages) to this tree
Public methodClear
Clears this tree completely
Public methodPage_Sequence_By_FileName
Returns the page sequence for the indicated file name

Properties

  NameDescription
Public propertyAll_Files
Gets the list of all files which belong to this division tree
Public propertyDivisions_PreOrder
Gets all the nodes on the tree in pre-order traversal
Public propertyHas_Files
Flag indicates if there are any files in this division tree
Public propertyPages_PreOrder
Gets all the page nodes on the tree in pre-order traversal
Public propertyRoots
Gets the root nodes for this tree

See Also



Version 4.10.0 ( last generated Monday, March 7, 2016 )