# namespace cogs::io

## Overview

Definitions for cogs file format. More…

    namespace io {

    // typedefs

    typedef size_t DataBlockIndex;
    typedef std::string DataBlockType;

    // structs

    struct DataBlockFactory;

    // classes

    class DataBlock;
    class DataBlockExporter;
    class DataBlockImporter;
    class DataBlockManager;

    // global variables

    static const DataBlockIndex INVALID_DATABLOCK_INDEX {std::numeric_limits<size_t>::max()};

    } // namespace io

## Detailed Documentation

Definitions for cogs file format.

### Typedefs

    typedef size_t DataBlockIndex

Defines position index of the data block in a file.

    typedef std::string DataBlockType

Identifies data block instances. Each class derived from cogs::io::DataBlockType should have unique type identifier.