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
| Name | Type | Access | Description |
|---|---|---|---|
stream_id | std::uint32_t | Read/Write | Holds the identifier of the associated stream |
name | std::string | Read/Write | Stores the entry’s name as a string |
directory_entry_name_length | std::uint16_t | Read/Write | Gives the length of the entry name |
object_type | directory_object_type | Read/Write | Indicates the type of directory object (e.g., storage, stream) |
color_flag | directory_color_flag | Read/Write | Stores the red‑black tree color flag for the entry |
left_sibling_id | std::uint32_t | Read/Write | Contains the ID of the left sibling entry |
right_sibling_id | std::uint32_t | Read/Write | Contains the ID of the right sibling entry |
child_id | std::uint32_t | Read/Write | Holds the ID of the child entry |
clsid | std::array<std::uint8_t, 16> | Read/Write | Stores the 16‑byte class identifier for the entry |
state_bits | std::uint32_t | Read/Write | Contains state flags for the entry |
creation_time | std::uint64_t | Read/Write | Records the creation timestamp of the entry |
modified_time | std::uint64_t | Read/Write | Records the last modification timestamp of the entry |
starting_sector_location | std::uint32_t | Read/Write | Gives the first sector index of the entry’s data |
stream_size | std::uint64_t | Read/Write | Indicates the size in bytes of the stream data |
Methods
| Signature | Description |
|---|---|
is_storage() → bool | Returns true if the entry represents a storage object |
is_stream() → bool | Returns true if the entry represents a stream object |
is_root() → bool | Returns true if the entry is the root of the directory tree |