struct cogs::io::DataBlockFactory — HIRO 0.7.0 documentation

# struct cogs::io::DataBlockFactory

## Overview

Factory for data block type. More…

    #include <DataBlock.h>

    struct DataBlockFactory {
        // methods

        virtual std::unique_ptr<DataBlock> Create(DataBlockIndex index) const = 0;
    };

## Detailed Documentation

Factory for data block type.

### Methods

    virtual std::unique_ptr<DataBlock> Create(DataBlockIndex index) const = 0

Creates new instance of data block type.