directory_entry

directory_entry

Overview

directory_entry is a struct in Aspose.Email for CPP. Inherits from: directory_entry.

Properties

NameTypeAccessDescription
stream_idstd::uint32_tRead/WriteHolds the numeric identifier of the stream within the CFB structure
namestd::stringRead/Write
directory_entry_name_lengthstd::uint16_tRead/WriteIndicates the length of the entry’s name in characters
object_typedirectory_object_typeRead/WriteSpecifies the entry’s type (storage, stream, or root) via an enum
color_flagdirectory_color_flagRead/WriteStores the red‑black tree color flag for the entry
left_sibling_idstd::uint32_tRead/WriteContains the ID of the entry’s left sibling in the tree
right_sibling_idstd::uint32_tRead/Write
child_idstd::uint32_tRead/WriteHolds the ID of the entry’s first child node
clsidstd::array<std::uint8_t, 16>Read/Write
state_bitsstd::uint32_tRead/WriteContains state flag bits defined by the CFB specification
creation_timestd::uint64_tRead/WriteRecords the file‑system creation timestamp of the entry
modified_timestd::uint64_tRead/WriteRecords the last modification timestamp of the entry
starting_sector_locationstd::uint32_tRead/WriteIndicates the first sector index of the stream’s data
stream_sizestd::uint64_tRead/WriteStores the size in bytes of the stream data

Methods

SignatureDescription
is_storage()boolReturns true if the entry represents a storage object
is_stream()boolReturns true if the entry represents a stream object
is_root()boolReturns true if the entry is the root storage of the CFB file