Function libCZI::CreateSubBlockMetadataFromSubBlock

Function libCZI::CreateSubBlockMetadataFromSubBlock#

Function Documentation#

std::shared_ptr<ISubBlockMetadata> libCZI::CreateSubBlockMetadataFromSubBlock(const libCZI::ISubBlock *sub_block)#

Creates a sub-block metadata object from the specified sub-block. This can be used for typed access to the sub-block metadata (if present).

Parameters:

sub_block – The sub block.

Returns:

The newly created sub-block metadata object for accessing metadata of the specified sub-block.