Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::ui::LogSource Class Reference

Owning deferred external log binding; construction performs no file I/O. Copies share the provider and budget, while each mounted view owns its navigation. More...

#include <ui_log_view.hpp>

Public Member Functions

 LogSource ()=default
 Empty descriptor; mounting reports INVALID_ARGUMENT.
std::shared_ptr< FileLogModel > fileModel () const noexcept
std::optional< std::uint64_t > rowCount () const noexcept
std::shared_ptr< SourceBudget > budget () const noexcept
std::shared_ptr< LogBookmarkProvider > bookmarks () const noexcept

Friends

struct detail::ExternalLogAccess

Detailed Description

Owning deferred external log binding; construction performs no file I/O. Copies share the provider and budget, while each mounted view owns its navigation.

Member Function Documentation

◆ bookmarks()

std::shared_ptr< LogBookmarkProvider > portals::ui::LogSource::bookmarks ( ) const
noexcept
Returns
Optional worker bookmark capability, independent of rowCount and delivery traversal.

◆ budget()

std::shared_ptr< SourceBudget > portals::ui::LogSource::budget ( ) const
noexcept
Returns
Shared source/prepared-text credit root, available after the first successful mount.

◆ fileModel()

std::shared_ptr< FileLogModel > portals::ui::LogSource::fileModel ( ) const
noexcept
Returns
Retained rich file model, or null for a generic provider or failed creation. Include log_file.hpp to use its worker-only byte metadata and search operations.

◆ rowCount()

std::optional< std::uint64_t > portals::ui::LogSource::rowCount ( ) const
noexcept
Returns
Exact finite logical-record count, or empty for cursor/file sources; never visual wrapped rows.

The documentation for this class was generated from the following file: