[#CDiskTxPos] = CDiskTxPos :mrdocs: On‐disk position of a transaction: a block file position plus an offset within the block. == Synopsis Declared in `<index/disktxpos.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct CDiskTxPos : xref:FlatFilePos.adoc[FlatFilePos] ---- == Base Classes [cols="1,4"] |=== | Name| Description | `xref:FlatFilePos.adoc[FlatFilePos]` | Location of a record within a numbered flat file: a file index and byte offset. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:CDiskTxPos/2constructor-00.adoc[`CDiskTxPos`] [.small]#[constructor]# | Constructors | xref:FlatFilePos/IsNull.adoc[`IsNull`] | Returns true when the position is null (no file assigned). | xref:FlatFilePos/ToString.adoc[`ToString`] | Returns a human‐readable "file:offset" description of the position. |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:CDiskTxPos/Ser-0f.adoc[`Ser`] | Serializes the file index and byte offset. | xref:CDiskTxPos/Unser-01.adoc[`Unser`] | Serializes the file index and byte offset. |=== == Data Members [cols="1,4"] |=== | Name| Description | xref:FlatFilePos/nFile.adoc[`nFile`] | Index of the flat file, or ‐1 when null. | xref:FlatFilePos/nPos.adoc[`nPos`] | Byte offset of the record within the file. | xref:CDiskTxPos/nTxOffset.adoc[`nTxOffset`] | Byte offset of the transaction within the block, measured after the block header. |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:operator_eq-0c6.adoc[`operator==`] | Compares two positions for equality of file index and offset. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#