directory_entry

directory_entry

Overview

directory_entry is a struct in Aspose.Email FOSS for C++.

Description

directory_entry is a class in the Aspose.Email FOSS library for C++ that exposes 3 methods and 14 properties for programmatic use.

Core capabilities include: std::uint32_t; std::string; std::uint16_t. These operations enable developers to integrate directory_entry functionality directly into C++ applications.

Properties

NameTypeAccessDescription
stream_idstd::uint32_tRead/WriteHolds the identifier of the associated stream
namestd::stringRead/WriteStores the entry’s name as a string
directory_entry_name_lengthstd::uint16_tRead/WriteGives the length of the entry name
object_typedirectory_object_typeRead/WriteIndicates the type of directory object (e.g., storage, stream)
color_flagdirectory_color_flagRead/WriteStores the red‑black tree color flag for the entry
left_sibling_idstd::uint32_tRead/WriteContains the ID of the left sibling entry
right_sibling_idstd::uint32_tRead/WriteContains the ID of the right sibling entry
child_idstd::uint32_tRead/WriteHolds the ID of the child entry
clsidstd::array<std::uint8_t, 16>Read/WriteStores the 16‑byte class identifier for the entry
state_bitsstd::uint32_tRead/WriteContains state flags for the entry
creation_timestd::uint64_tRead/WriteRecords the creation timestamp of the entry
modified_timestd::uint64_tRead/WriteRecords the last modification timestamp of the entry
starting_sector_locationstd::uint32_tRead/WriteGives the first sector index of the entry’s data
stream_sizestd::uint64_tRead/WriteIndicates 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 of the directory tree

See Also