btck::OutPointView

Non-owning view over a btck_TransactionOutPoint.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

class OutPointView
    : public View<btck_TransactionOutPoint>
    , public OutPointApi<OutPointView>

Base Classes

NameDescription
View<btck_TransactionOutPoint>Non-owning view over a const C handle of type CType.
OutPointApi<OutPointView>CRTP mixin adding out-point accessors shared by the view and owning types.

Member Functions

NameDescription
OutPointView [constructor]Constructs a view over ptr.
Txid Returns the referenced transaction id.
get Returns the borrowed C handle.
index Returns the referenced output index within its transaction.

Protected Data Members

NameDescription
m_ptr The borrowed C handle.