struct CvType

class for automatic module/RTTI data registration/unregistration

#include <core_c.h>

struct CvType
{
    // fields

    CvTypeInfo* info;
    static CvTypeInfo* first;
    static CvTypeInfo* last;

    // construction

    CvType(
        const char* type_name,
        CvIsInstanceFunc is_instance,
        CvReleaseFunc release = 0,
        CvReadFunc read = 0,
        CvWriteFunc write = 0,
        CvCloneFunc clone = 0
        );
};