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

Non&hyphen;owning view over a const C handle of type `CType&period;`

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename CType&gt;
class View;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:btck/View-041/2constructor.adoc[`View`]         [.small]#[constructor]#
| Constructs a view over `ptr,` throwing if it is null&period;
| xref:btck/View-041/get.adoc[`get`] 
| Returns the borrowed C handle&period;
|===


== Protected Data Members

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


== Derived Classes

[cols="1,4"]
|===
| Name| Description
| xref:btck/BlockHashView.adoc[`BlockHashView`] 
| Non&hyphen;owning view over a `btck&lowbar;BlockHash`&period;
| xref:btck/BlockHeaderView.adoc[`BlockHeaderView`] 
| Non&hyphen;owning view over a `btck&lowbar;BlockHeader`&period;
| xref:btck/BlockTreeEntry.adoc[`BlockTreeEntry`] 
| Non&hyphen;owning view over a `btck&lowbar;BlockTreeEntry`, a node in the block index tree&period;
| xref:btck/BlockValidationStateView.adoc[`BlockValidationStateView`] 
| Non&hyphen;owning view over a `btck&lowbar;BlockValidationState`&period;
| xref:btck/ChainView.adoc[`ChainView`] 
| Non&hyphen;owning view over a `btck&lowbar;Chain`, a sequence of block tree entries by height&period;
| xref:btck/CoinView.adoc[`CoinView`] 
| Non&hyphen;owning view over a `btck&lowbar;Coin`, an unspent transaction output entry&period;
| xref:btck/ConsensusParamsView.adoc[`ConsensusParamsView`] 
| Non&hyphen;owning view over `btck&lowbar;ConsensusParams`, the consensus parameters of a chain&period;
| xref:btck/OutPointView.adoc[`OutPointView`] 
| Non&hyphen;owning view over a `btck&lowbar;TransactionOutPoint`&period;
| xref:btck/ScriptPubkeyView.adoc[`ScriptPubkeyView`] 
| Non&hyphen;owning view over a `btck&lowbar;ScriptPubkey`&period;
| xref:btck/TransactionInputView.adoc[`TransactionInputView`] 
| Non&hyphen;owning view over a `btck&lowbar;TransactionInput`&period;
| xref:btck/TransactionOutputView.adoc[`TransactionOutputView`] 
| Non&hyphen;owning view over a `btck&lowbar;TransactionOutput`&period;
| xref:btck/TransactionSpentOutputsView.adoc[`TransactionSpentOutputsView`] 
| Non&hyphen;owning view over a `btck&lowbar;TransactionSpentOutputs`&period;
| xref:btck/TransactionView.adoc[`TransactionView`] 
| Non&hyphen;owning view over a `btck&lowbar;Transaction`&period;
| xref:btck/TxidView.adoc[`TxidView`] 
| Non&hyphen;owning view over a `btck&lowbar;Txid`&period;
| xref:btck/WitnessStackView.adoc[`WitnessStackView`] 
| Non&hyphen;owning view over a `btck&lowbar;WitnessStack`&period;
|===


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