struct cv::SparseMat::Hdr

the sparse matrix header

#include <mat.hpp>

struct Hdr
{
    // fields

    int dims;
    size_t freeList;
    std::vector<size_t> hashtab;
    size_t nodeCount;
    size_t nodeSize;
    std::vector<uchar> pool;
    int refcount;
    int size[MAX_DIM];
    int valueOffset;

    // construction

    Hdr(
        int _dims,
        const int* _sizes,
        int _type
        );

    // methods

    void
    clear();
};