---------------------------------------------------------------------
ENUM: FileType
Describes the type of file for the Attributes class.
DEFINITIONS:
file_Unspecified
file_Directory
file_Raw
file_SpecialBlockDevice
file_SpecialCharacterDevice
file_ExtendedAttributes
file_Fifo
file_Sock
file_SymbolicLink
USES:
optional
ABUSES:
optional
NOTES:
optional
NOTE: The FileType enum was split out into ICBType enum
and FileType enum. (This is because the ICB constructor
should only have values of the ICBType enum, whereas the
Attributes class should only allow users to set values
of the new FileType enum (not ICBType enum).
NOTE: Both new enums do not overlap in values, because the
values refer to the FileTypes specified in the standard
(Part 4, Page 20, Figure 17: FileTypes.)
may actually be s
----------------------------------------------------------------------
enum ICBType {
These are types of entries.
If the ICBTag is instantiated with icb_FileEntry, the
file type is unspecified (file_Unspecified). This
happens automatically, because both share the same enum
value.
icb_FileEntry = 0,
icb_UnallocatedSpaceEntry = 1,
icb_PartIntegrityEntry = 2,
icb_IndirectEntry = 3,
icb_TerminalEntry = 11
If the ICBTag is storing any of the FileType types, then
it will report that it is merely an icb_FileEntry.
RECALL: The ICBTag is storing all 8 bits, so it knows
exactly what the type is (across these two enums).
Likewise, the Attributes struct is packing the FileType
into 4 bits, and knows exactly what the value is (across
both enums).
};
udf_eng@gr.hp.com