OpenXLSX 1.12.1
Modern C++ Excel Library (Fork of OpenXLSX by Kenneth Troldal Balslev)
Loading...
Searching...
No Matches
OpenXLSX::XLEvalSession::PackedCellKey Struct Reference

64-bit coordinate encoding for fast, normalized circular dependency checking. More...

#include <XLFormulaEngine.hpp>

Public Member Functions

constexpr PackedCellKey ()=default
constexpr PackedCellKey (uint64_t v)
constexpr bool operator== (const PackedCellKey &o) const noexcept
constexpr bool operator!= (const PackedCellKey &o) const noexcept
constexpr operator bool () const noexcept

Data Fields

uint64_t value {0}

Detailed Description

64-bit coordinate encoding for fast, normalized circular dependency checking.

Bit layout: [63..48]: SheetID (16-bit), [47..24]: Row (24-bit), [23..0]: Col (24-bit).

Constructor & Destructor Documentation

◆ PackedCellKey() [1/2]

OpenXLSX::XLEvalSession::PackedCellKey::PackedCellKey ( )
constexprdefault

◆ PackedCellKey() [2/2]

OpenXLSX::XLEvalSession::PackedCellKey::PackedCellKey ( uint64_t v)
inlineexplicitconstexpr

Member Function Documentation

◆ operator bool()

OpenXLSX::XLEvalSession::PackedCellKey::operator bool ( ) const
inlineexplicitconstexprnoexcept

◆ operator!=()

bool OpenXLSX::XLEvalSession::PackedCellKey::operator!= ( const PackedCellKey & o) const
inlineconstexprnoexcept

◆ operator==()

bool OpenXLSX::XLEvalSession::PackedCellKey::operator== ( const PackedCellKey & o) const
inlineconstexprnoexcept

Field Documentation

◆ value

uint64_t OpenXLSX::XLEvalSession::PackedCellKey::value {0}

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