[#btck-TxidView]
= xref:btck.adoc[btck]::TxidView
:relfileprefix: ../
:mrdocs:

Non&hyphen;owning view over a `btck&lowbar;Txid`&period;

== Synopsis

Declared in `&lt;kernel&sol;bitcoinkernel&lowbar;wrapper&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class TxidView
    : public xref:btck/View-041.adoc[View&lt;btck&lowbar;Txid&gt;]
    , public xref:btck/TxidApi-020.adoc[TxidApi&lt;TxidView&gt;]
----

== Base Classes

[cols="1,4"]
|===
| Name| Description
| `xref:btck/View-041.adoc[View&lt;btck&lowbar;Txid&gt;]`
| Non&hyphen;owning view over a const C handle of type `CType&period;`
| `xref:btck/TxidApi-020.adoc[TxidApi&lt;TxidView&gt;]`
| CRTP mixin adding transaction&hyphen;id operations shared by the view and owning types&period;
|===

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:btck/TxidView/2constructor.adoc[`TxidView`]         [.small]#[constructor]#
| Constructs a view over `ptr&period;`
| xref:btck/TxidView/ToBytes.adoc[`ToBytes`] 
| Returns the raw 32&hyphen;byte transaction id&period;
| xref:btck/TxidView/get.adoc[`get`] 
| Returns the borrowed C handle&period;
| xref:btck/TxidView/operator_eq.adoc[`operator&equals;&equals;`] 
| Compares two transaction ids for equality&period;
| xref:btck/TxidView/operator_not_eq.adoc[`operator!&equals;`] 
| Compares two transaction ids for inequality&period;
|===


== Protected Data Members

[cols="1,4"]
|===
| Name| Description
| xref:btck/TxidView/m_ptr.adoc[`m&lowbar;ptr`] 
| The borrowed C handle&period;
|===



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