[#btck-TxidView] = xref:btck.adoc[btck]::TxidView :relfileprefix: ../ :mrdocs: Non‐owning view over a `btck_Txid`. == Synopsis Declared in `<kernel/bitcoinkernel_wrapper.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class TxidView : public xref:btck/View-041.adoc[View<btck_Txid>] , public xref:btck/TxidApi-020.adoc[TxidApi<TxidView>] ---- == Base Classes [cols="1,4"] |=== | Name| Description | `xref:btck/View-041.adoc[View<btck_Txid>]` | Non‐owning view over a const C handle of type `CType.` | `xref:btck/TxidApi-020.adoc[TxidApi<TxidView>]` | CRTP mixin adding transaction‐id operations shared by the view and owning types. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:btck/TxidView/2constructor.adoc[`TxidView`] [.small]#[constructor]# | Constructs a view over `ptr.` | xref:btck/TxidView/ToBytes.adoc[`ToBytes`] | Returns the raw 32‐byte transaction id. | xref:btck/TxidView/get.adoc[`get`] | Returns the borrowed C handle. | xref:btck/TxidView/operator_eq.adoc[`operator==`] | Compares two transaction ids for equality. | xref:btck/TxidView/operator_not_eq.adoc[`operator!=`] | Compares two transaction ids for inequality. |=== == Protected Data Members [cols="1,4"] |=== | Name| Description | xref:btck/TxidView/m_ptr.adoc[`m_ptr`] | The borrowed C handle. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#