<class>DirectoryComponent</class> is a subclass of <class>Component</class>. More...
Public Member Functions | |
Inventory.DirectoryComponent | Init (Inventory.Scan scan, _.Library.String directoryName) |
Initializes and saves this <class>DirectoryComponent</class>, recording scan More... | |
Static Public Attributes | |
XMLNAME = None | |
The element name used in the XML representation of the component. | |
XMLTYPE = None | |
The identifier used to distinguish the type of this component in the XML representation. | |
![]() | |
XMLNAME = None | |
The element name used in the XML representation of the component. | |
XMLTYPE = None | |
The identifier used to distinguish the type of this component in the XML representation. | |
Additional Inherited Members | |
![]() | |
Name | |
The name of this component, which distinguishes it from other components of the same type. More... | |
ParentComponent | |
The parent component of this component. More... | |
Scan | |
The <class>Scan</class> which found this component. More... | |
SubComponents | |
The subcomponents of this component. More... | |
<class>DirectoryComponent</class> is a subclass of <class>Component</class>.
An instance represents an operating system directory.
It contains references to the <class>FileComponent</class>s and <class>DirectoryComponent</class>s representing the files and subdirectories in the directory as subcomponents.
Inventory.DirectoryComponent Init | ( | Inventory.Scan | scan, |
_.Library.String | directoryName | ||
) |
Initializes and saves this <class>DirectoryComponent</class>, recording scan
as the <property>Scan</property> property, and scanning directoryName for its subdirectories and files.
The saved <class>DirectoryComponent</class> is returned.