Stream insertion operators

Synopses

Declared in <node/blockstorage.h>

Write a human‐readable name for a block file type to a stream.

std::ostream&
operator<<(
    std::ostream& os,
    BlockfileType const& type);

Write a human‐readable description of a block file cursor to a stream.

std::ostream&
operator<<(
    std::ostream& os,
    BlockfileCursor const& cursor);

Return Value

The stream os, to allow chaining.

Parameters

Name

Description

os

The output stream to write to.

type

The block file type to format.

cursor

The block file cursor to format.

Created with MrDocs