[#CDiskTxPos]
= CDiskTxPos
:mrdocs:

On&hyphen;disk position of a transaction&colon; a block file position plus an offset within the block&period;

== Synopsis

Declared in `&lt;index&sol;disktxpos&period;h&gt;`

[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&colon; a file index and byte offset&period;
|===

== 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)&period;
| xref:FlatFilePos/ToString.adoc[`ToString`] 
| Returns a human&hyphen;readable &quot;file&colon;offset&quot; description of the position&period;
|===


== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:CDiskTxPos/Ser-0f.adoc[`Ser`] 
| Serializes the file index and byte offset&period;
| xref:CDiskTxPos/Unser-01.adoc[`Unser`] 
| Serializes the file index and byte offset&period;
|===


== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:FlatFilePos/nFile.adoc[`nFile`] 
| Index of the flat file, or &hyphen;1 when null&period;
| xref:FlatFilePos/nPos.adoc[`nPos`] 
| Byte offset of the record within the file&period;
| xref:CDiskTxPos/nTxOffset.adoc[`nTxOffset`] 
| Byte offset of the transaction within the block, measured after the block header&period;
|===


== Non-Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:operator_eq-0c6.adoc[`operator&equals;&equals;`]
| Compares two positions for equality of file index and offset&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
